[TYPO3-dev] Upper-level constants cleared when template is root-level
Dmitry Dulepov
dmitry.dulepov at gmail.com
Mon Nov 3 21:18:44 CET 2008
Hi!
Xavier Perseguers wrote:
> I have following site structure:
>
> root
> `-- config
> `-- somepage
> `-- someotherpage
>
> config has a template with a few constants that should apply globally
>
> somepage has an extended template (don't bother with this)
>
> someotherpage has an extended template with "rootlevel" activated, in
> order for the menu (defined on "config") to start with this level and
> not an upper one.
This is not right :( Root level is root level. Think about it: can
root level be extended from something? It is *root* level! It is at
the beginning position of everything :)
Use includes instead.
--
Dmitry Dulepov
TYPO3 translations support
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog:
http://typo3bloke.net/post-details/max_os_x_use_php_help_in_chm_format/
More information about the TYPO3-dev
mailing list