[TYPO3] text menu - current state AND subpages
Andrea Giorgini
a.giorgini at norvlit.de
Wed Jan 31 09:54:45 CET 2007
Hi,
this is the first level of my menu:
### FIRST LEVEL ###
1 = TMENU
1 {
wrap = <ul id="nav">|</ul>
expAll = 0
noBlur=1
CUR=1
ACT=1
NO {
allWrap=<li class="inactive">|</li>
ATagParams = class="inactive"
}
CUR {
allWrap=<li class="active">|
ATagParams = class="active"
}
ACT < .CUR
}
which works fine except for a little thing: I need a definition like
"the current item should be wrapped with <li class="inactive">|</li>
ONLY if there are no subpages (of the current item, not in general... so
IFSUB here will not help right?); else the wrap should be <li
class="active">|".
Is that possible?
Thx a lot
Andrea
More information about the TYPO3-english
mailing list