[Typo3] $GLOBALS['TSFE']->tmpl->setup not working
Peter Niederlag
niederlag at ikd01.de
Fri Aug 12 21:23:39 CEST 2005
Hi,
Jan Hancic schrieb:
> Hi list,
>
> A couple weeks ago I have developed an extension for typo3. It is a simple gallery, nothing fancy.
> It was working perfectly. But today I wanted to put the extension on another page (not the same typo3 instalation).
> So anyways I have installed the extension as planed, and created the template with some setup options I need.
> But now the extension is not working.
> The probblem is that I can not retrive setup options from my template (nothing is returned)
> I use this call:
>
> $this->property_name = $GLOBALS['TSFE']->tmpl->setup['my_property_name'];
This is really in no way supported I think.
Have a look at the manuals or other extensions. It is very easy if you
do it right.
foo_pi->main($content,$conf) {
}
You will get all your TS served in $conf.
[...]
HtH,
Peter
--
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *
http://www.typo3partner.net * professional services network *
More information about the TYPO3-english
mailing list