Hi,
does a placeholder exist for the number of the item which is actually parsed by ditto?
What I want to achieve is to differ between every second item. So let´s say I have 10 documents which I retrieve from the database. I would like to display number 1,3,5,7,9, that is every odd numbered item. I thought about a kind of filter=`number,%2,1` for example. Or a solution with phx, but for that I need a placeholder with the number...
Any thoughts? Thx in advance!
Thanks Mark, I will give it a try!
Quick question: Is ditto_iteration also available as a variable for filtering?
No, filtering has already occurred before a display order is set.