[TYPO3-templavoila] menu subitem not showing

Paul Bucalo paul.bucalo at gmail.com
Tue May 25 17:13:43 CEST 2010


Update on this issue: I never figured it out for the project referenced
below.
I'm not on a different project. The menu works, with subitems.
However, when I tried to add a third level to the menu, I get the same
behavior as below.
Something I noticed: The typoscript for the menu object respects the levels
assigned during the initial wizard set up (in both cases) but not any added
levels.
I'm not sure if I'm grasping at straws here.
Has anyone experienced something similar?
I tried degrading to TV 1.4.1, that didn't work.
I tried reinstalling all the Typo4.3 files, that didn't work.
I feel like it's one of those answers that's right in front of me and I just
can't see it.
-p


On Tue, May 18, 2010 at 7:49 PM, Paul Bucalo <paul.bucalo at gmail.com> wrote:

> 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