[Typo3-german] Submenü immer ausgeklappt

Michael Müller mails at zitronenbaum.ch
Sat Oct 15 11:49:54 CEST 2005


Hallo zusammen

Ich habe ein Problem mit meiner Subnavigation. Nach einen Klick auf den
entsprechenden
Punkt in der Hauptnavigation wird die subnavigation angezeigt. Diese erhält
wiederum unterpunkte.. Es sollen immer alle Punkte der Subnavigation
angezeit werden (auch die unterpunkte der Subnavi) und nicht nur bei einem
Klick.

Anbei mein Typoscript. Das ganze ist so lang weil die unterpunkte der
Subnavigation noch eingerück werden sollen.

Ich wäre froh wenn mir jemand eine Tip geben könnte.

Danke schon mal, Gruss Michi


 # Construct the main menu as a nested unordered list.
 # It has level1 and level2 entries.
 # All formatting will be done via CSS.
 NAV_SUB = COA
 NAV_SUB {
   # the menu object itself, starting off the site root
   10 = HMENU
   10.entryLevel = 2

   # Level1 entries are simple text menu entries,
   # (formatted via CSS to run down the left side of the page)
   10.1 = TMENU
   10.1 {
     # Don't really like unneccessary scripting.
     noBlur = 1
     # Current item should be unlinked and formatted differently.
     CUR = 1
     # Active items above current item should be formatted differently.
     ACTIFSUB = 1
   }

   # Base formatting of menu entries as list items.
   10.1.NO {
     wrapItemAndSub = <li class="menu1-lev1-no">|</li>
     ATagParams =

   }

     # Current menu item is unlinked and marked
   10.1.CUR {
     wrapItemAndSub = <li class="menu1-lev1-cur">|</li>
     doNotLinkIt = 0
   }

     # Active items above current to be formatted differently
   10.1.ACTIFSUB {
     wrapItemAndSub = <li class="menu1-lev1-act">|</li>
   }

     # Wrap the level1 menu inside an unordered list
   10.1.wrap = <ul id="navlist_sub">|</ul>


     # Level2 entries are simple text menu entries also,
     # (formatted very differently via CSS to run left to right
     # across the page under the header, so you only see the styling
     # classes here.)
   10.2 = TMENU
   10.2 {
     noBlur = 1
     CUR = 1
     ACTIFSUB = 1
   }

     # Same formatting of menu entries as list items.
   10.2.NO {
     wrapItemAndSub = <li class="menu1-lev2-no">|</li>
     ATagParams =
   }

     # Current menu item is unlinked and marked too
   10.2.CUR {
     wrapItemAndSub = <li class="menu1-lev2-cur">|</li>
     doNotLinkIt = 1
   }

     # Active items above current to be formatted differently as for level1
   10.2.ACTIFSUB {
     wrapItemAndSub = <li class="menu1-lev2-act">|</li>
   }

     # Wrap the level2 menu inside an unordered list
   10.2.wrap = <ul class="navlist_sub_1">|</ul>
 }





More information about the TYPO3-german mailing list