I would like to change the css for every second topic -
so the first topic has backgroundcolor A
the second topic has backgroundcolor B
the third topic has backgroundcolor A
and so on
I think that i have to add an condition to
<#list category.getForums() as forum>
so that every second list item gets a special id which i could use to add some style
but i'm not sure how to accomplish that
You can do that by just modifying the Freemarker templates (www.freemarker.org). Basically, just do something like the code below and then put class="${rowStyle} where you need it.