Ditto iteration start at 1
(modx 1.0.2)
By default the ditto.2 iteration starts at 0,

to have it start at 1 use
[+ditto_iteration:math=`?+1`+]

assuming you have PHx installed this should work,
also use "ditto_iteration" not "iteration", this little ooopsies cost me a bit of time

Just started using PHx in modx, and I'm pretty excited about it...
Posted on 2010 Jan 31 by Daniel
by mAN @ 14 Apr 2010 10:53 am
GREAT TIPS.

phx come bundled with ditto. so if you need phx in ditto you dont have to install it.

if you want phx elsewhere then you need to install it..

(optional)

smile wink wassat tongue laughing sad angry crying 


Enter the code shown in the image:


| Forget Me
Content Management Powered by CuteNews