[TYPO3-english] Problem with generating a menu

Tomas Mrozek mail at cascaval.com
Mon May 10 11:10:23 CEST 2010


Eva said it right but she didn't mention that the TMENU part has to be
*inside* the HMENU as you currently don't have it this way. Try this:

temp.menu = HMENU
temp.menu {
  minItems = 5

  # First level menu-object, textual
  1 = TMENU
  1 {
    # Normal state properties
    NO.allWrap = <li> | </li>

    # Enable active state and set properties:
    ACT = 1
    ACT.allWrap = <li class="active_menu_item"> | </li>
  }
}

Tomas Mrozek


More information about the TYPO3-english mailing list