[TYPO3] tmenu on submenu items
JoH asenau
info at cybercraft.de
Mon Dec 18 13:00:43 CET 2006
> For example, if this is my hierarchy:
>
> pageone (id 1)
> pagetwo (id 2)
> pagethree (id 3)
> pagefour (id 4)
>
> how would i make it so that a menu shows id's 2, 3 and 4 only?
>
> I thought this would work:
>
>
> lib.topMenu = TMENU
> lib.topMenu = HMENU
> lib.topMenu.special = list
> lib.topMenu.special.value = 2, 3, 4
> lib.topMenu.1 {
> NO.allWrap <div id="nav_menu"> |</div>
> NO.Wrap.htmlSpecialChars = 1
> }
>
> but doesn't.
>
> thanks for the help!
1.) TMENU has to be a part of HMENU
2.) Use directory instead of list
lib.topMenu = HMENU
lib.topMenu {
special = directory
special.value = 1
1 = TMENU
1 {
NO {
blah
}
}
}
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com
More information about the TYPO3-english
mailing list