[TYPO3-english] typoscript configuration issue
tom liu
typostudy at gmail.com
Thu Jan 31 13:58:28 CET 2013
Hi,
I included it through tempalte->includes->include static(from extensions)->
add 'Frontend user list(feuserstat)'.
And also I found out if I put the typoscript code in
template->general->setup, it works. But if I add it through
tempalte->includes->include static(from extensions), it does not work.
what is the difference? what may cause the problem?
Blessings--Tom
On Thu, Jan 31, 2013 at 12:04 PM, Man Math <man at web-essentials.asia> wrote:
>
> 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<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/
>
>
> ______________________________**_________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**english<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english>
>
More information about the TYPO3-english
mailing list