[TYPO3-english] hmenu: special directory - is it possible to show the parent page in the menu as well?!
    Daniel Rutzen 
    ardan at gmx.net
       
    Fri Oct  2 11:58:37 CEST 2009
    
    
  
Hello Tyler,
I read the TSref. I know how to display the second level items in a menu.
Like I said, the menu itself works per se, but not on that certain page.
Are you REALLY sure, that
special = list
special.value = X
gives out the subpages of page X as well ?!?
Because, this is my TS, and it only displays one item: page uID 82.
and TSref doesn't say much about subpages with special = list either! 
(thats why i am here :D )
[globalVar = TSFE:id = 19]
lib.leftmenu = COA
lib.leftmenu{
    5 = HMENU
    5 {
       wrap = <ul id="secondmenu"> | </ul>
       entryLevel = 0   [tried -2,-1,0,1,2, no change]
       special = list
       special.value = 82
       1=TMENU
       1.NO.wrapItemAndSub = <li>|</li>
       1.NO.ATagTitle.field = description // subtitle // title		
	
       1.ACT=1
       1.ACT.wrapItemAndSub = <li>|</li>
       1.ACT.ATagTitle.field = description // subtitle // title		 	
       #show sub menu
       2 = TMENU
       2.wrap = <ul>|</ul>
       2.NO.wrapItemAndSub = <li>|</li>
       2.NO.ATagTitle.field = description // subtitle // title		
	
       #CUR Zustand der 2ten Ebene
       2.CUR = 1
       2.CUR < .2.NO	
       2.CUR.ATagParams = class="activeleft"
    }
}	
[GLOBAL]
I also tried special = directory, but that gives only subpages, and not 
the parent item... :-/
Tyler Kraft schrieb:
> Really? Build a second level to the menu.
> 
> The same way that SECONDMENU.1=TMENU displays the first menu level 
> simply use SECONDMENU.2=TMENU to show the second level. There might be 
> other properties that you need to specifically use depending upon the TS 
> and the page structure, but I have no idea as you've helpfully actually 
> not posted either of those.
> 
> I hate to say it but you need to read TSref, as it has everything in it 
> that you need. Look at HEMNU, TMENU and TMENUITEM
> 
> hth
    
    
More information about the TYPO3-english
mailing list