[Typo3] Defining the class of a link in TMENU
Anton Liebetrau
antlie at gmx.ch
Tue Aug 2 20:15:34 CEST 2005
luc_boudreau at uqss.uquebec.ca has written:
>
> How can I define the class of a link in the TMENU object ?
>
> I've tried the following bit it doesn't work :
>
> # Menu principal
> ###################################################
>
> temp.menu_principal = HMENU
> temp.menu_principal.protectLvar = 1
> temp.menu_principal.begin = 1
>
> # Menu de niveau 1
> ##############
> temp.menu_principal.1 = TMENU
> temp.menu_principal.1 {
> NO.allWrap = <li>|</li>
> NO.stdWrap.htmlSpecialChars = 1
> ATagParams = class="nav" <-------------
> }
I have done the same like this:
temp.menu_principal.1 = TMENU
temp.menu_principal.1 {
NO.allWrap = <li>|</li>
NO.stdWrap.htmlSpecialChars = 1
NO.ATagParams = class="nav" <<-- now you have something like <a
class="nav" ...>
}
I hope, this helps.
Greetings, Anton
More information about the TYPO3-english
mailing list