[TYPO3] Levels in HMENU

Katja Lampela katja.lampela at lieska.net
Thu May 25 09:44:49 CEST 2006


Jernej Zorec wrote:
> Hello,
> 
> just one quick questions for typo3 gurus :).
> 
> I have one horizontal menu on the top of the page, which always show
> 0-level pages.
> 
> Then, on the left I have a second menu which shows the sub-level
> pages of the current selected page.
> 
> Typoscript:
> -------------
> temp.menu_nav = HMENU
> temp.menu_nav.entryLevel = -1
> 
> temp.menu_nav.1 = TMENU
> temp.menu_nav.1 {
>   expAll = 0
>   NO.allWrap (
> 		<div id="basiclink"><ul>
> 		  <li><span>|</span></li>
> 		</ul></div>
> 		<div id="BasicLinkLine"></div>
>                    )
>   NO = 1
> }
> temp.menu_nav.2 = TMENU
> temp.menu_nav.2 {
>     expAll = 1
>     NO.allWrap (
> 		<div id="sublink"><ul>
> 		<li><span>|</li>
> 		</ul></div>
>                    )
>     NO = 1
> }
> -------------
> 
> 
> When I navigate thru pages I always get sub-pages in the left menu.
> Which is OK.
> Now, what I want.
> When I reach the last level, I don't have any pages in the left menu.
> That is what I don't want. I want that when I'm on the last level,
> that I still have some content in the left menu (of the pre-last-level).
> 
> Thank you for your help !
> 
> -- Jernej

Hi Jernej,
If you don't have too many pages in the deepest level, you can of course 
make some shortcut pages (which point to the pages you want to show in 
the menu) under the deepest level pages.

But this is a bit worky if you have many pages in the deepest level.

Katja



More information about the TYPO3-english mailing list