[TYPO3-dev] getRootline function not stopping

Martin Kutschker masi-no at spam-typo3.org
Wed Jul 9 11:18:21 CEST 2008


Dmitry Dulepov [typo3] schrieb:
> Hi!
> 
> Daniel Pšötzinger wrote:
>> OK but the definition of root is missing. The root of a tree is not
>> always the page 0.
>>
>> e.g.
>>
>> typo3(0)
>> -rootpage
>> --domain1
>> --domain2
>>
>> this causes the behaviour that typolink between domains even with the
>> flag config.typolinkLinkAccessRestrictedPages do not work.
> 
> The root of the *tree* is 0 from TYPO3 point of view. Applications
> should determine other restrictions (including mountpoints, etc).
> 
> 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. *

Masi

* Is it somewhere stated what these flags actually do and why there are
two of them?




More information about the TYPO3-dev mailing list