[TYPO3-english] Show every page of the navigation

Jeppe Donslund jd at masters.dk
Tue Oct 12 10:30:21 CEST 2010


This sounds like a nice work around. I will try it soon.

Jeppe D.

Den 08-10-2010 08:41, Jan Bednarik skrev:
> Hi,
>
> here's an idea:
>
> # create first level menu
> lib.mainMenu = HMENU
> lib.mainMenu {
> 1 = TMENU
> 1.NO.allWrap = |
> }
>
> lib.submenu = HMENU
> lib.submenu {
> # in order to get all 2nd level menus you need to iterate over first level
> 1 = TMENU
> 1.expAll = 1
> 1.NO.doNotLinkIt = 1
> 1.NO.stdWrap.override =  
> 1.NO.allWrap = <div style="display:none">|</div>
> 2 = TMENU
> 2.NO.allWrap = |
> }
>
> See, the point is that in order to generate all 2nd level menus, you
> need to iterate over 1st level. Since you don't want 1st level to be
> displayed in this case, you don't link it, title is overriden with space
> and everything is hidden.
>



More information about the TYPO3-english mailing list