Forum
Best way to have a looped group list?
Hi,
I'm in the process of changing this static site page into being driven by perch. However, I'm having trouble working out he best way to loop out a grouped list. I am trying to get the rough output market below but not sure the best approach?
Do I use perch before conditionals and then the multiple regions option or take advantage of categories? On the page layout I have created a perch_content section for each left and right of the page.
Any suggestions would be appreciated.
<h3> Section title</h3>
<ul>
<li>treatment £25.00</li>
</ul>
<h3> Next Section title</h3>
<ul>
<li>treatment £25.00</li>
</ul>
I have this as a starter in my template
You could make each section an item, and then use a repeater for the treatments, perhaps.