[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:36:19 CET 2010


On 02/10/10 14:27, Tomasz Chmielewski wrote:
> 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
> }

Eeh, I'm getting old - here is what I was looking for:

# First level menu-object, textual
page.10.subparts.DYNAMICMENU.1 = TMENU
page.10.subparts.DYNAMICMENU.1 {
    # Normal state properties
    NO.doNotShowLink = 1
    expAll = 1
}

-- 
Tomasz Chmielewski
http://wpkg.org


More information about the TYPO3-english mailing list