[Typo3] Defining the class of a link in TMENU

luc_boudreau at uqss.uquebec.ca luc_boudreau at uqss.uquebec.ca
Mon Aug 1 21:47:15 CEST 2005


Thanks anyways, but I've found the problem.

I can't simply put ATagParams like that. It has to go in NO.ATagParams...



-----Message d'origine-----
De : typo3-english-bounces at lists.netfielders.de [mailto:typo3-english-bounces at lists.netfielders.de] De la part de Pierre Rouwens
Envoyé : 1 août 2005 15:04
À : typo3-english at lists.netfielders.de
Objet : Re: [Typo3] Defining the class of a link in TMENU

luc_boudreau at uqss.uquebec.ca a écrit :
> 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.stdWrap.htmlSpecialChars = 1
>     ATagParams = class="nav"             <-------------
>   }
> 
> Thanks
Hi i'm doing this like this directly

NO.allWrap = <li class="nav">|</li>

maybe it isn't the best way but it works...

Pierre
_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list