[TYPO3-english] How can I give each menu item a different class? (optionSplit?)
Jörg Klein
joerg at klein-family.com
Sun Dec 30 15:15:06 CET 2012
Hi Ralf-Rene,
"Ralf-Rene Schröder" schrieb:
> i always use something like this:
>
> NO.wrapItemAndSub = <li class="no menuid-{field:uid}
> menupos-{register:count_MENUOBJ}">|</li>
> NO.wrapItemAndSub.insertData = 1
>
> so i have classes witch are NOT to modify by editors
that looks good. Currently I do know the value for the UIDs, but they might
change in the future. With this implementation the class names would change
as well; this would break the CSS styling.
I mean: What I want is not _so_ special; someone _must_ have done that
before already...
Cheers!
Jörg
More information about the TYPO3-english
mailing list