[Typo3] How to get parent id of current page?

Dmitry Dulepov typo3 at fm-world.ru
Thu Oct 27 12:09:57 CEST 2005


Hi again!

Dmitry Dulepov wrote:
> Btw, $GLOBALS['TSFE']->getPageAndRootline() is marked as private but it
> is very convinient to use. Not sure why it was marked as private.

...but if you want to go a "clean" way, you need to query "pages" table
using uid and pid fields until you reach page that you are looking for.

Dmitry.



More information about the TYPO3-english mailing list