ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Twitter Bootstrap and EE problem

September 21, 2012 3:51pm

Subscribe [1]
  • #1 / Sep 21, 2012 3:51pm

    stubear

    114 posts

    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?

  • #2 / Sep 21, 2012 4:53pm

    stubear

    114 posts

    Never mind, I found the immensely helpful EE Grouper plug-in on Devot-ee. Solved my problem perfectly.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases