[TYPO3-templavoila] How to set up an extension on every page in the site - in the template

Jes davinci at REMOVE.mail.tdcadsl.dk
Tue Jun 27 18:52:12 CEST 2006


Dmitry Dulepov wrote:
> Hi!
> 
> Tobias Pinnekamp wrote:
> 
>> Then anywhere in your TS setup (but it must be included) you can type 
>> something like this
>>
>> lib.newloginbox = USER
>> #(or USER_INT if you don't want to cache it)
>> lib.newloginbox.userFunc = tx_newloginbox_pi1->main
> 
> 
> This is not a good way from any point. You loose all default options of 
> newloginbox (if there are any), you define your own USER object instad 
> of using provided by extension. Generally you should use code similar tp 
> this:
> 
> lib.newloginbox < plugin.tx_newloginbox_pi1
> 
> Dmitry.

Thank you for your suggestions - I found a solution so now I got the 
login box in the template.

Now I only need to find out why the loginbox PID points to the general 
records storage page - and not - as it should - the PID where the users are.

Best regards

Jes Petersen



More information about the TYPO3-project-templavoila mailing list