[TYPO3-templavoila] menu subitem not showing
Paul Bucalo
paul.bucalo at gmail.com
Wed May 19 01:49:09 CEST 2010
I'm using TV 1.4.2, Typo3 v4.3.3
I'm trying to get the menu to work with nested unordered lists.
The level one menu is showing fine. This makes me think the object is mapped
correctly.
The level two menu only shows on the level two pages.
I want it to show on all pages so I can hide and show on hover.
Here is my typoscript:
## mainMenu [Begin]
lib.mainMenu = HMENU
lib.mainMenu.entryLevel = 0
#lib.mainMenu.maxItems = 10
lib.mainMenu.wrap = <ul id="nav">|</ul>
lib.mainMenu.1 = TMENU
lib.mainMenu.1 {
expALL = 1
NO {
wrapItemAndSub = <li class="nav">|</li> |*| <li class="nav">|</li> |*| <li
class="last">|</li>
}
ACT = 1
ACT{
wrapItemAndSub = <li class="nav active">|</li> |*| <li class="nav
active">|</li> |*| <li class="last active">|</li>
}
IFSUB = 1
IFSUB{
wrapItemAndSub = <li class="nav subitem">|</li> |*| <li class="nav
subitem">|</li> |*| <li class="last subitem">|</li>
}
}
lib.mainMenu.2 = TMENU
lib.mainMenu.2.wrap = <ul class="sub_menu"> | </ul>
lib.mainMenu.2 {
expAll = 1
NO {
wrapItemAndSub = <li class="sub_link"> | </li>
}
ACT = 1
ACT{
wrapItemAndSub= <li class="sub_link active"> | </li>
}
IFSUB = 1
IFSUB{
wrapItemAndSub = <li class="sub_link subitem"> | </li>
}
ACTIFSUB = 1
ACTIFSUB{
wrapItemAndSub = <li class="sub_link subitem active"> | </li>
}
}
All help is appreciated.
Thank you,
Paul
More information about the TYPO3-project-templavoila
mailing list