[TYPO3] level 2 in Menü with special = directory

Georg Ringer mail-spam at ringerge.org
Tue Mar 14 14:01:36 CET 2006


Hi,

I used the search but didn't find a solution. How do I get the 2nd/3rd/...
level of a menu when using special = directory? With expAll = 1 i get all
levels which I don't want.

Can you please help me? Would be great!


My Code
lib.menu = HMENU
lib.menu {
 special = directory
 special.value = 1347

 1 = TMENU
 1 {
  #expAll =1
  wrap = <div id="navcontainer"><ul id="nav1">|</ul></div>
  noBlur = 1
  NO = 1
  NO {
   wrapItemAndSub = <li>|</li>
  }
  ACT = 1
  ACT.wrapItemAndSub = <li id="nav1act">|</li>

  #ACTIFSUB = 1
  #ACTIFSUB < .IFSUB
 }

 2 < .1
 2 {
  wrap = <ul id="nav2">|</ul>
  ACT.wrapItemAndSub = <li id="nav2act">|</li>
  #ACTIFSUB < .ACT
 }

 3 < .2
 3 {
  wrap = <ul id="nav3">|</ul>
  ACT.wrapItemAndSub = <li id="nav3act">|</li>
  #ACTIFSUB < .ACT
 }
}

Many many thanks
georg



More information about the TYPO3-english mailing list