[Typo3] menu only expAll starting from level1

Rob De Vries spam_this at pandora.be
Mon Feb 21 16:21:21 CET 2005


Shoot me, another menu question. (maybe a menu-newslist wouldn't be a 
bad idea)

Problem:
A typical tmenu with entrylevel=0 and expAll=1
BUT i need it to expand only starting from Level 1 and higher (lower)

SOLUTION (whish does not work)
I thought using a condition would do the trick
The condition does work for the entrylevel, but my menu does not expand 
from level 1 and above (level 2, 3 etc ...)

Anyone has a sollution?

[treeLevel = 0]
temp.submenu = HMENU
temp.submenu.entryLevel= 0
temp.submenu {
1 = TMENU
1 {
expAll=0
noblur = 1
wrap = <ul id="subnavlist"> | </ul>
NO {
wrapItemAndSub = <li>|</li>
}
[global]

[treeLevel = 1,2,3,4]
temp.submenu = HMENU
temp.submenu.entryLevel= 1
temp.submenu {
1 = TMENU
1 {
expAll=1
noblur = 1
wrap = <ul id="subnavlist"> | </ul>
NO {
wrapItemAndSub = <li>|</li>
}
[global]

...



Big tnx in advanced

Rob



More information about the TYPO3-english mailing list