[TYPO3-english] HMENU: add class only in one item
Jost Baron
jost.baron at gmx.de
Thu Jun 12 10:43:29 CEST 2014
-----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-----
More information about the TYPO3-english
mailing list