hallo!
ich möchte dieses menu nur anzeigen wenn auch unterseiten vorhanden sind. wenn die aktuelle seite keine unterseiten dann soll halt nix angezeigt werden ... egal auf welcher ebene.
aber wie mach ich das ???
temp.MAKE >
temp.MAKE = HMENU
temp.MAKE {
1 = TMENU
1 {
target = _top
wrap = |
noBlur = 1
expAll = 1
NO = 1
NO {
doNotLinkIt = 1
doNotShowLink = 0
wrapItemAndSub = |
linkWrap = <dl><dt>|</dt></dl>
allStdWrap.insertData = 1
stdWrap.htmlSpecialChars = 1
}
IFSUB < .NO
IFSUB = 1
}
2 < .1
2 {
wrap = <ul>|</ul>
NO {
wrapItemAndSub = <li>|</li>
doNotLinkIt = 0
doNotShowLink = 0
linkWrap = |
aTagParams = title="{field:subtitle//title}" rel="bookmark"
allStdWrap.insertData = 1
stdWrap.htmlSpecialChars = 1
}
IFSUB < .NO
IFSUB = 1
}
}
danke für eure tipps 😉