Return to Snippet

Revision: 4419
at December 8, 2007 18:16 by gerhardsletten


Initial Code
# ------------------------
# Meny level 1
# ------------------------

# Menu 1 cObject
lib.mainMenu = HMENU
lib.mainMenu.1.wrap = <ul>|</ul>
  # First level menu-object, textual
lib.mainMenu.1 = TMENU

lib.mainMenu.1 {
expAll = 0
    # Normal state properties
  NO.allWrap = <li> | </li>
  NO.stdWrap.htmlSpecialChars = 1
    # Enable active state and set properties:
  ACT = 1
  ACT.stdWrap.htmlSpecialChars = 1
  ACT.allWrap = <li class="selected"> | </li>
}
  # Second level menu-object, textual
lib.mainMenu.2 = TMENU
lib.mainMenu.2.wrap = <ul>|</ul>
lib.mainMenu.2 {
    # Normal state properties
  NO.allWrap = <li> | </li>
  NO.stdWrap.htmlSpecialChars = 1
    # Enable active state and set properties:
  ACT = 1
  ACT.stdWrap.htmlSpecialChars = 1
  ACT.allWrap = <li class="selected"> | </li>
}

Initial URL

                                

Initial Description
Put this in your template.

Initial Title
2 level menu in typo3

Initial Tags

                                

Initial Language
Other