[TYPO3] wrap menu-item based on condition

Vandemaele David david.vandemaele at telenet.be
Thu May 18 13:28:05 CEST 2006


Hello,

certain menu-items need a different css class.
What should come in place of ####ID####? I've tried several words, but 
none of them is working.

Perhaps my tscript contains some other error?


lib.menu_1{
  	1 = TMENU
         1.expAll = 1
         [####ID####=44,39,40]
         	1.NO.wrapItemAndSub = <li class="BL">|</li>
         [ELSE]
          	1.NO.wrapItemAndSub = <li>|</li>
         [END]
  	

         2 = TMENU
  	2.wrap = <ul>|</ul>
  	2.NO.wrapItemAndSub = <li>|</li>
         2.expAll = 1
  		
         3 = TMENU
  	3.wrap = <ul>|</ul>
  	3.NO.wrapItemAndSub = <li>|</li>	
         3.expAll = 1
}

David



More information about the TYPO3-english mailing list