[TYPO3-english] HMENU: add class only in one item [SOLVED]

Iban cardona at opus5.info
Thu Jun 12 12:30:19 CEST 2014


Hello,

It was perfect!

Thank you so much!

El 12/06/2014 10:43, Jost Baron escribió:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Iban,
>
> you can optionSplit [1] for this kind of problem. In your case, it
> could look like this (there are other possibilities to reach the same
> goal):
>
> NO.linkWrap = <li>|</li>|*||*|<li class="myClass">|</li>.
>
> Regards,
> Jost
>
>   [1]:
> http://docs.typo3.org/typo3cms/TyposcriptReference/ObjectsAndProperties/Index.html
>
> On 06/12/2014 09:01 AM, Iban wrote:
>> Hello,
>>
>> I have this HMENU in my ts setup configuration:
>>
>> temp.links = HMENU temp.links.special = list
>> temp.links.special.value = 1,2,3,4 temp.links { 1 = TMENU 1 { wrap
>> = <ul>|</ul> NO.linkWrap = <li>|</li> } }
>>
>> I'd like to add a class only in the last li tag. Any suggestion?
>>
>> Thank you so much!
>>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlOZaCsACgkQNme/yCvmvTKy/ACgtHifQ3RgKQ9oJl87m5cKREx2
> g3YAoKsVAMddX1zAzAZ27kMVNdHp8NzQ
> =oFvd
> -----END PGP SIGNATURE-----
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list