[TYPO3-english] don't generate 1st and 3rd subpage in the menu (but do 2nd and 4th)?

Tomasz Chmielewski mangoo at wpkg.org
Wed Feb 10 14:27:28 CET 2010


How can I stop TYPO3 from generating 1st and 3rd element of the menu?

Right now, I use <!-- --> to wrap around the menu element I don't want 
to show, but maybe there is a better method (so that they are not 
generated at all)?


# Do not generate this part
page.10.subparts.DYNAMICMENU.1 = TMENU
page.10.subparts.DYNAMICMENU.1 {
    # Normal state properties
    #NO = 0 # no menu below is generated
    NO.allWrap = <!-- | -->
    NO.noLink = 1
    expAll = 1
}

# Do generate this part
page.10.subparts.DYNAMICMENU.2 = TMENU
page.10.subparts.DYNAMICMENU.2 {
    # Normal state properties
    NO.allWrap = <li ...> | </li>
    expAll = 1
}


-- 
Tomasz Chmielewski
http://wpkg.org


More information about the TYPO3-english mailing list