[TYPO3-dev] getRootline function not stopping
Dmitry Dulepov [typo3]
dmitry at typo3.org
Wed Jul 9 15:45:49 CEST 2008
Hi!
Martin Kutschker wrote:
>> If you are in Frontend, you can actually use
>> $GLOBALS['TSFE']->tmpl->rootLine, which is the rootline for the current
>> web site.
>
> I don't think that this distinction is clear from the inline docs.
> Needless to say that having an isRoot-flag both in the page and the
> template records doesn't make things easier. *
I absolutely and fully agree.
> * Is it somewhere stated what these flags actually do and why there are
> two of them?
Not really. I think "Is site root?" in page properties was created to avoid searching for root TS template in some functions.
--
Dmitry Dulepov
http://typo3bloke.net/
More information about the TYPO3-dev
mailing list