I have a gridfield and would like to count the objects and do something if count = 2.
eg:
<% loop Objects %>
$title
if ($count = 3)
<br />
<% end_loop %>
Is the above possible?
Posted to: Gridfield loop and count in template | Show Thread | Post Reply