in reply to TemplateTookit: Regular Intervals in a FOREACH constuct

Instead of

[% IF cnt % bar_every = 0 %]

you should use

[% IF cnt % bar_every == 0 %]

as you want to do a comparison, not an assignment.

Cheers, Flo