[TYPO3] Stop menu on the last level

Mathias Wilhelmsson | mochw.se info at mochw.se
Sun Jan 6 13:14:17 CET 2008




Hi,
This is my problem,

I've got a menu like this:

Page 1
    Page 1.1
        Page 1.1.1
        Page 1.1.2
    Page 1.2
    Page 1.3
        Page 1.3.1
Page 2

In my TS im using; 
[treeLevel = 1]
 ...some TS-code... 
[global] 
[treeLevel = 2]
 ...some TS-code... 
[global] 

To show only the current level

The problem is that on page "Page 1.1.1" my menu is empty. Due to my [treeLevel = 2]

And I want it to recognice that the menu is in the last Link so it stays on menu:

Page 1.1
<active>Page 1.1.1</active>
              Page 1.1.2
              Page 1.1.3

instead of:

Page 1.1.1
"    "




So how do I make it [treeLevel = 1] && [ checkIfLastPage = 1 ]  ???




More information about the TYPO3-english mailing list