in reply to TemplateTookit: Regular Intervals in a FOREACH constuct
Instead of
[% IF cnt % bar_every = 0 %] [download]
you should use
[% IF cnt % bar_every == 0 %] [download]
as you want to do a comparison, not an assignment.
Cheers, Flo