[TYPO3] Parent Id of the root page.

Christopher bedlamhotel at gmail.com
Sat Jan 28 17:38:00 CET 2006


Hi,

On 1/28/06, universe <tom_vandevelde at yahoo.com> wrote:
> Hi,
>
> I want to retrieve my parent ID of the root page level in typo script. The
> option  page:pid only retrieves the parent page id. If I have a tree
> structure of 5 branches it will not work.
>
>
>
> The goal is to have a different template on all the trees.
>
> An other option is to write multiple templates but that is hard to handle.
>
>
>
> Anyone an idea??


Have a look in the TSref's Datatype Reference for 'leveluid' [1].

-Christopher

[1] http://typo3.org/documentation/document-library/doc_core_tsref/Datatype_reference/



More information about the TYPO3-english mailing list