[Typo3] Pagelevel conditional

Dmitrii Dimandt dmitriid at gmail.com
Fri Aug 19 13:32:07 CEST 2005


On 8/18/05, Peter Klein <peter at umloud.dk> wrote:
> "Dmitrii Dimandt" <dmitriid at gmail.com> skrev i en meddelelse
> news:mailman.1356.1124370934.24980.typo3-english at lists.netfielders.de...
> Hi, List.
> 
> Is it possible, through TypoScript, to find out on which level in the
> page-tree we are now?
> 
> The reason I'm asking is this. I have the following page structure:
> 
> Root
> | - Page 1
> | - Page 2
> | - Page 3
> - -| - Page 4
> - - - - | - Page 5
> 
> And a second-level HMENU with .entryLevel = 1
> 
> So, when I move to Page 4, the menu changes (of course), though I
> still need it to display previous menu.
> 
> Hi Dmitrii. Have you checked out the "treeLevel" condition? It looks like
> that's what you need.
> http://typo3.org/documentation/document-library/doc_core_tsref/treeLevel/
> 
> --
> Peter Klein/Umloud Untd


All right! : )  It looks close enough. Thank you for pointing me in
the right direction!



More information about the TYPO3-english mailing list