[TYPO3] override.if x 2

Vandemaele David david.vandemaele at telenet.be
Wed May 24 14:59:34 CEST 2006


Some elements of the menu need a different css style. So I use the 
following code to get this:

1.NO {
         allWrap.cObject = TEXT
         allWrap.cObject {
             value = <li>|
             override  = <li class="BL">|
             override.if.value = 120,41,44,38,40
             override.if.isInList.field = uid
         }
         wrapItemAndSub = |</li>
     }

The last menu item needs a different css style from the others.
Is this possible to keep the code with some minor changes?
Or do I need something completely different?

David



More information about the TYPO3-english mailing list