[TYPO3] Levels in HMENU

Nathan Lounds loundsna at msu.edu
Thu May 25 14:03:27 CEST 2006


I don't think I understand fully what you are after.  Could you provide an
abbreviated example?   Regardless, it seems like you should be able to use a
combination of treeLevel, IFSUB, ACTIFSUB and CURIFSUB statements.

Something like:
[treeLevel = 1] 
	# some TS
[end]
[treeLevel = 2] 
	# some TS
[end]

Or:
IFSUB = 1
IFSUB.allWrap (
	<div id="basiclink"><ul>
	<li><span>|</span></li>
		</ul></div>
		<div id="BasicLinkLine"></div>
	)


>	-----Original Message-----
>	From: typo3-english-bounces at lists.netfielders.de [mailto:typo3->
english-bounces at lists.netfielders.de] On Behalf Of Jernej Zorec
>	Sent: Thursday, May 25, 2006 3:11 AM
>	To: typo3-english at lists.netfielders.de
>	Subject: [TYPO3] Levels in HMENU
>	
>	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
>	_______________________________________________
>	TYPO3-english mailing list
>	TYPO3-english at lists.netfielders.de
>	http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english




More information about the TYPO3-english mailing list