Hallo Leute,
habe ein Problem und zwar folgendes:
Ich hab ein Menü mit Submenü wir ihr im Typoscript sehen könnt.
Das klappt auch soweit.
Nur jetzt möchte ich, dass das Submenü (im Typoscript die 2) nur angezeigt wird, wenn das Hauptmenü (im Typoscript die 1) activ ist.
Typoscript-Code:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41:
| page = PAGE page.stylesheet = fileadmin/css/screen.css page.10 = COA page.10 = HMENU page.10 { special = directory special.value = 1 excludeUidList=2,6 maxItems = 3 1 = TMENU 1 { expAll = 1 wrap = <ul>|</ul> NO { ATagTitle.field = abstract // description // title stdWrap.htmlSpecialChars = 1 wrapItemAndSub = <li>|</li> ATagParams = class="noactive" } ACT < .NO ACT { ATagParams = class="active" } ACT = 1 } 2 = TMENU 2 { wrap = <ul class="subnoactive">|</ul> NO { ATagTitle.field = abstract // description // title stdWrap.htmlSpecialChars = 1 linkWrap = <li>|</li> } ACT < .NO ACT { ATagParams = class="subactive" linkWrap = <li>|</li> } ACT = 1 } } |
Könnt ihr mir weiter helfen?
Freu mich auf schnelle Antwort.
Mfg Taker