hi
Ich hab ein 2-Level-Menu, in dem der 1. Level nur als Überschrift
dient und nur als Text augegeben wird. Das 2. Menu besteht aus
Links und soll durchnummeriert werden. So soll es Aussehen:
text a
1 UNTERMENU-LINK
2 UNTERMENU-LINK
3 UNTERMENU-LINK
text b
4 UNTERMENU-LINK
5 UNTERMENU-LINK
text c
6 UNTERMENU-LINK
text d
7 UNTERMENU-LINK
Das Problem bei mir ist, dass {register:count_HMENU_MENUOBJ} auch
das erste Menu mitzählt, und ich dadurch falsche Zahlen erhalte,
und das sieht bisher so aus:
text a
2 UNTERMENU-LINK
3 UNTERMENU-LINK
4 UNTERMENU-LINK
text b
6 UNTERMENU-LINK
7 UNTERMENU-LINK
text c
9 UNTERMENU-LINK
text d
11 UNTERMENU-LINK
Hier mein Code bisher:
tmp.HAUPTNAVIGATION = COA
tmp.HAUPTNAVIGATION.10 = HMENU
# menu 1, text , keine links
tmp.HAUPTNAVIGATION.10.1 = TMENU
tmp.HAUPTNAVIGATION.10.1.expAll = 1
tmp.HAUPTNAVIGATION.10.1.NO.doNotLinkIt = 1
tmp.HAUPTNAVIGATION.10.1.NO.linkWrap = <div class="txt">|</div>
# menu 2, SUBMENU als LINKS, soll durchnummeriert sein
tmp.HAUPTNAVIGATION.10.2 = TMENU
tmp.HAUPTNAVIGATION.10.2.NO.stdWrap.dataWrap = <div id="menu{register:count_HMENU_MENUOBJ}"><div class="number">{register:count_HMENU_MENUOBJ}</div><div class="links">|</div></div></div>
Ich weiß nicht, was ich falsch mache, habe schon einges ausprobiert
über die letzten 2 Tage, weiß aber nicht in welche Richtung ich
gehen soll oder wo ich falsch denke. Ohne einen Tip komme ich
wohl nicht mehr weiter. Wäre sehr sehr dankbar dafür.
Gruß