Mrz 30
To fix some menu entries in your menu so that they are displayed all the time use the following sample 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 42 43 44 45 46 47 48 49 | lib.mainMenu.alwaysActivePIDlist = 3,4,5 # main menu lib.mainMenu= HMENU lib.mainMenu.entryLevel = 0 # show these uids of sites no matter where we are lib.mainMenu.alwaysActivePIDlist = 3,4,5 lib.mainMenu { # erstes level 1 = TMENU 1.wrap = <ul id="topnavigation">|</ul> 1{ # no state: normale Formatierung NO{ wrapItemAndSub = <li>|</li> } # act state: gültig von der rootseite bis zur aktuellen Seite ACT=1 ACT{ wrapItemAndSub = <li class="menu-level1-active">|</li> } # cur state: gültig für die aktuelle Seite CUR=1 CUR{ wrapItemAndSub = <li class="menu-level1-current-active">|</li> } # ifsub state: gültig für seiten die unterseiten haben IFSUB=1 IFSUB{ wrapItemAndSub = <li class="menu-level1-with-subpage">|</li> } } # zweites level 2 = TMENU 2.wrap = <ul class="menu-level2">|</ul> 2{ NO{ wrapItemAndSub = <li>|</li> } ACT=1 ACT{ wrapItemAndSub = <li class="menu-level2-active">|</li> } CUR=1 CUR{ wrapItemAndSub = <li class="menu-level2-current-active">|</li> } IFSUB=1 IFSUB{ wrapItemAndSub = <li class="menu-level2-with-subpage">|</li> } } |
