Hi all!
I want to insert HTML code every 3 documents inserted by Ditto.
Example:
I have seven documents (e.g. doc1, doc2, etc. it's easier to explain). This in my template:
[!Ditto? &orderBy=`nomTV ASC` &tpl=`chunk_ditto`!]
On the HTML preview page that will give:
doc1
doc2
doc3
doc4
doc5
doc6
doc7
But I wish that every 3 documents Ditto inserts something. So:
doc1
doc2
doc3
mypeiceofcode
doc4
doc5
doc6
mypeiceofcode
doc7
Help me please!
[ed. note: neoziox last edited this post 12 years, 5 months ago.]