[TYPO3-dev] BE - How can I get the site root page id from a given page id?

Kay Strobach typo3 at kay-strobach.de
Sat Aug 6 12:00:32 CEST 2011


Hi,

http://api.typo3.org/typo3v4/current/html/classt3lib___b_efunc.html#ad0ddbd717a68dd8923deec22b9c20b35

Regards
Kay

Am 06.08.2011 11:46, schrieb Stephen Bungert:
> Is there a way of doing this in the BE?
> 
> Do I have to manual get the parent page for the current page, see if it
> has a parent and so on until I get to a page with a template records set
> as root?


-- 
http://www.kay-strobach.de - Open Source Rocks

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

Answere was usefull: https://flattr.com/profile/kaystrobach




More information about the TYPO3-dev mailing list