Hi guys,
Probably a very simple question, but I haven’t found a clue yet, I’m sure you have ideas how to solve this.
I use Ditto2 to create a newsSite, where 10 news are showing up (with author, date and content).
My Ditto-Call is:
[[Ditto?&startID=`26`&language=`german`&tpl=`NewsItem` &total=`10`]]
My Chunk is:
<div>
<b>[+longtitle+]</b><br />
[+date+]<br />
[+content+]
</div><p />
But I want to have one entry in white, the other in blue (<div style=’background-color:#e6edf6; padding:0.6em’>).
I thought about using the [+current+] count of Ditto and scripting it, so that
if modulo 2 of [+current+] == 0 it is blue, else white
- but that does not seem to be working in Ditto2 anymore ([+current+] does not give any number)
Do you have any ideas to solve this? I am sure

Thank you a lot!.
Steffen