3070 Posts in 869 Topics by 651 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2618 Views |
-
How to add a counter on a Control Loop??

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.
eg
<% control LatestExhibtion %>
*** If this third time echo <br />
<% end_control %>
-
Re: How to add a counter on a Control Loop??

11 August 2009 at 6:21pm
cross post, see my answer on the other thread.
-
Re: How to add a counter on a Control Loop??

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/
-
Re: How to add a counter on a Control Loop??

15 February 2010 at 8:54pm
SS 2.4 has <% if IsMultipleOf(3) %> which should help
-
Re: How to add a counter on a Control Loop??

28 June 2012 at 7:48am
or $Pos if you're looking to assign a count to each item
| 2618 Views | ||
|
Page:
1
|
Go to Top |






