[TYPO3-dev] getRootline function not stopping

Dmitry Dulepov [typo3] dmitry at typo3.org
Wed Jul 9 10:31:52 CEST 2008


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.

-- 
Dmitry Dulepov
http://typo3bloke.net/




More information about the TYPO3-dev mailing list