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

Dmitry Dulepov typo3 at accio.lv
Sun Jun 18 19:14:10 CEST 2006


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.
-- 
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-project-templavoila mailing list