3431 Posts in 1058 Topics by 734 members
|Go to End|
11 August 2009 at 12:24pm
How do i count a control loop?
Basically, i want to print some extra code every 3 times it goes through a loop.
<% control LatestExhibtion %>
*** If this third time echo <br />
<% end_control %>
11 August 2009 at 6:21pm
cross post, see my answer on the other thread.
15 February 2010 at 5:47pm
What other thread
15 February 2010 at 7:38pm
You might want to have a look at this http://ssbits.com/manipulating-every-nth-item-in-a-control-loop/
15 February 2010 at 8:54pm
SS 2.4 has <% if IsMultipleOf(3) %> which should help
28 June 2012 at 7:48am
or $Pos if you're looking to assign a count to each item
|Go to Top|