[TYPO3-english] Menu item style different then others

StephenBungert stephenbungert at yahoo.de
Mon Apr 6 12:32:22 CEST 2009


You could just set 

subst_elementUid = 1

for the menus and then add the id of the pages to the class:

Here is an example menu:

temp.mainNav = HMENU
temp.mainNav {
  1 = TMENU
  1 {
    NO = 1
    NO {
      subst_elementUid = 1
      stdWrap {
        htmlSpecialChars = 1
        field = subtitle // title
      }
      allWrap = <li class="menuItem pageId{elementUid}" > | <li>
   }
  }
}

Then just create a css style for the right menu item:

Page 1 for example:
pageId1
{
  ...
}


Pero Matic wrote:
> 
> Hi,
> 
> I have a menu and i want to set a different style to one of it's items.
> How 
> to do it? I suppose with optionSplit but i'm not sure how. Thx. for help.
> 
> Regards. 
> 
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> 
> 


-----
-- 
Stephen Bungert
-- 
View this message in context: http://www.nabble.com/-TYPO3-english---Menu-item-style-different-then-others-tp22905875p22906170.html
Sent from the TYPO3 English mailing list archive at Nabble.com.



More information about the TYPO3-english mailing list