[TYPO3-english] typoscript configuration issue

Man Math man at web-essentials.asia
Thu Jan 31 05:04:56 CET 2013


On 01/31/2013 10:22 AM, tom liu wrote:

It sound like you haven't include the setup:

typo3conf/ext/feuserstat/static/frontend_user_list/setup.txt

> 1. In typo3conf/ext/feuserstat/static/frontend_user_list/setup.txt, the
> code is like this:
> plugin.tx_feuserstat_pi1 = USER
> plugin.tx_feuserstat_pi1 {
>      # uid of the page where Frontend user records are stored
>      usersPid = 29
>      # uid of the page where single view is located
>      singlePid = 10
> ...
>
> 2. in tempalte->includes->include static(from extensions), I add Frontend
> user list(feuserstat)
> 3. in In typo3conf/ext/feuserstat/pi1/class.tx_feuserstat_pi1.php, I have
> such code:
> ...
>      public function main($content, $conf) {
>          $this->conf = $conf;
>              $this->pi_setPiVarDefaults();
>          $this->pi_loadLL();
>
>          // Check environment
>          if (!isset($conf['usersPid'])) {
>              return
> $this->pi_wrapInBaseClass($this->pi_getLL('no_ts_template'));
>          }
> ...
> When I run this extension, It always shows 'no ts template', and
> var_dump($conf['usersPid']),result is null, so
> somehow the typoscript setup.txt does not work properly. BTW, under
> template->general->setup, there is no other
> typoscripts there.
> so what could be the problem?
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

-- 
Web Essentials
Redefining Web Development

Man Math
Web Developer Intern

T: +855 23 996 604
M: +855 97 847 0 847
E: man at web-essentials.asia
W: www.web-essentials.asia/man/



More information about the TYPO3-english mailing list