[TYPO3-english] Show every page of the navigation

Victor Livakovsky v-tyok at mail.ru
Wed Oct 6 17:34:53 CEST 2010


Hi.

You should have 1st and 2nd level menu in one HMENU object.
lib.mainMenu.1.expAll = 1 - makes no sence, because you haven't defined 
second level of lib.mainMenu
lib.mainSubMenu.entryLevel = 1 - makes you second menu appear only at 
subpages so they won't appear at parent pages. Moreover, they don't have 
parent level with expAll = 1, so they won't appear all expanded.

Just define your lib.mainSubMenu as lib.mainMenu.2



> Hi
>
> I need a menu like this:
>
>
> --------------------------------------
> | nav1.0 | nav2.0 | nav3.0 | nav 4.0 |
> --------------------------------------
>
> --------------------------------------
> | nav1.1 | nav2.1 | nav3.1 | nav 4.1 |
> | nav1.2 | nav2.2 | nav3.2 | nav 4.2 |
> | nav1.3 | nav2.3 | nav3.3 | nav 4.3 |
> | nav1.4 | nav2.4 | nav3.4 | nav 4.4 |
> --------------------------------------
>
> I can't get all the submenus shown at the same time.
>
> My code:
>
> lib.mainMenu = HMENU
> lib.mainMenu.entryLevel = 0
> lib.mainMenu.1 = TMENU
> lib.mainMenu.1.expAll = 1
> lib.mainMenu.1.wrap = <div class="grid_1"></div>|<div 
> class="grid_2">&nbsp;</div><div class="clear">&nbsp;</div>
> lib.mainMenu.1.NO {
> linkWrap = <div class="grid_2"><div id="topmenu"><ul><li 
> class="first">|</li></ul></div></div>
> }
>
> lib.mainSubMenu = HMENU
> lib.mainSubMenu.entryLevel = 1
> lib.mainSubMenu.1 = TMENU
> lib.mainSubMenu.1.expAll = 1
> lib.mainSubMenu.1.wrap = <div class="grid_1"></div>|<div 
> class="grid_2">&nbsp;</div><div class="clear">&nbsp;</div>
> lib.mainSubMenu.1.wrap = <div class="grid_2"><div 
> id="topmenuSub"><ul>|</ul></div></div>
> lib.mainSubMenu.1.NO {
> allWrap = <li class="sub">|</li>
> }
> lib.mainSubMenu.1.ACT = 1
> lib.mainSubMenu.1.ACT {
> allWrap = <li class="sub">|</li>
> }
>
> Does anyone know how to solve this?
>
>
> Regards
> Jeppe Donslund 



More information about the TYPO3-english mailing list