[TYPO3-dev] Re: Which page ID belongs to which site

Jainish Senjaliya jainishsenjaliya at gmail.com
Mon Jan 18 07:32:11 CET 2016


Following script you will get root page id of current page.

$GLOBALS['TSFE']->rootLine[0]['uid'];

you may get all tree level from following typo syntax.

$GLOBALS['TSFE']->rootLine;

I hope it will work for you :)



More information about the TYPO3-dev mailing list