[TYPO3-english] Custom class in tmenu according to uid page

Peter Russ peter.russ at 4many.net
Mon Feb 22 14:10:14 CET 2010


--- Original Nachricht ---
Absender:   Marieke Vandamme
Datum:       22.02.2010 12:17:
> Hello, 
> 
> I would like to put a specific class according to the uid from the page.
>  
> My menu should look like this:
> <div class="corporate"></div> # Corporate 
> <div class="hr"></div> # HR 
> <div class="knowledge"></div> # Knowledge 
> ..
> 
> My typoscript:
> temp.myMenu = HMENU
> temp.myMenu .1 = TMENU
> temp.myMenu .1 {
>   NO.linkWrap = <div class="???"></div>|
> }
> 
> Thanks for helping me to fill in the "???" ! Marieke
> 

If you are not using alias so far you could use this to provide the 
class on top level object.

Does that help?

Peter.


-- 
loans that change lives http://www.kiva.org

_____________________________
uon GbR
http://www.uon.li
http://www.xing.com/profile/Peter_Russ


More information about the TYPO3-english mailing list