Hello,
I have an list of items for which I need a unique class name on each <li>.
Currently I have something like:
<ul>
{exp:channel:entries}
<li><a href="http://" class="itemN">This is a {custom_field}</a></li>
{/exp:channel:entries}
</ul>This gives me my list but with ALL classes as ‘itemN’ where ‘N’ needs to be an incremental number (item1, item2, item3 etc…).
Can this be done?
Thanks