How do i put an if statment on every third record??
eg every third record i need to print some extra code like <br /> for example
Do I add a counter to the php(below)
-------------------
function LatestExhibitions(){
return DataObject::get("ExhibitionPage", "ParentID = $this->ID", "`ExhibitionPage`.ID DESC", "", 9);
}
------------------
or to the control
<% control LatestExhibitions %>
<% end_control %>