I am trying to figure out and also do the best practice here, but running into some speed bumps and roadblocks when trying to figure this out.
Essentially what I am trying to do is;
1) Render a list of my categories for my “Support” channel, which is my navigation, and the part I DO have working.
2) Then the second part is essentially a listing of all the support entries, however they are grouped by the category they belong in. I’ve got this partially working … I have the first level of the category groups working, however I can get the sub list within them to render;
{embed="site/header"}
<section class="section" id="support">
<div class="container">
<div class="row">
<div class="support">
<ul class="support-categories">
{exp:channel:categories channel="Support" show_empty="no"}
<li><a href="#{category_name}">{category_name}</a></li>
{/exp:channel:categories}
</ul>
<div class="support-items">
<!-- -->
{exp:channel:categories channel="Support" dynamic="no" style="linear" show_empty="no"}
<ul id="{category_name}" class="support-group">
<li class="support-title">
<h2>{category_name}</h2>
</li>
<!-- REPEATABLE ELEMENT -->
<li>
<a href="#0class=support-trigger">{title}</a>
<div class="support-content">
{support_body}
</div>
</li>
<!-- REPEATABLE ELEMENT -->
</ul>
{/exp:channel:categories}
<!-- -->
</div>
<a href="#0" class="cd-close-panel">Close</a>
</div>
</div>
</div>
</section>
{embed="site/footer"}
Any help is greatly appreciated! Thank you!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.