[TYPO3-dev] getRootline function not stopping

Daniel Pšötzinger nospam at nospam.de
Tue Jul 8 23:11:18 CEST 2008


Dmitry Dulepov [typo3] schrieb:
> Hi!
> 
> Daniel Pšötzinger wrote:
>> The sys_page->getRootline function just stops if pid 0 is found.
>> I am asking if that is the correct behaviour:
>>
>> In my opinion we have to signs were a rootline can/should be stopped 
>> earlier:
>> 1) template with rootflag set
>> 2) the page has the checkbox "Is root of website"
>>
>> What do you think?
> 
> This cannot be changed now because it changes the behavior that existed 
> in all previous versions. phpDoc for this function says clearly: 
> "Returns array with fields of the pages from here ($uid) and back to the 
> root".
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.





More information about the TYPO3-dev mailing list