I’m using Twitter Bootstrap to develop a site (it was designed with this in mind, I had no choice) and I have an interesting looping dilemma. The loop, which uses Low Reorder to allow manual sorting of what is currently 6 entries, should look something like this:
{exp:low_reorder:entries set="1"}
<div class="row">
<section class="span6">
<h1>{solutions_title}</h1>
{solutions_description}
</section>
<section class="span6">
<h1>{solutions_title}</h1>
{solutions_description}
</section>
</div>
{if count != "{total_results}"}<hr>{/if}
{/exp:low_reorder:entries}Obviously this will duplicate my entries and won’t really work at all. My problem is that I need to loop two entries per row then loop the rows so a horizontal rule can be placed between each row with the last row not getting a rule. What would be the best way to do this?