[Typo3] Pagelevel conditional

Peter Klein peter at umloud.dk
Thu Aug 18 15:54:29 CEST 2005


"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 





More information about the TYPO3-english mailing list