I’m new to EE2, but picking it up pretty fast while building my first site in the CMS. I do have question for anyone who can answer. I’m trying to build a nav that holds 4 to 8 entries of a category.
example:
Category Name
entry
entry
entry
entry
Category Name
entry
entry
entry
entry
The problem I’m having is how to dynamically request the entry id of the category. The way I thought it might work didn’t and I’ve been having a rough time trying to figure it out myself.
Heres the code I’ got so far.
<div id="collapsing-nav" class="grid_4">
{exp:channel:categories channel="work" style="linear"}
<h6 class="nav-header" id="{category_url_title}_{category_id}"><a href="#">{category_name}:</a></h6>
{exp:channel:entries channel="work" category_id="{category_id}" }
{date_heading}
<ul class="nav-content-area list-items">
{/date_heading}
<a href="http://{permalink=%27work/view}" class="thumb">{project_thumb}</a>
{date_footer}
</ul>
{/date_footer}
{/exp:channel:entries}
{/exp:channel:categories}
</div>Thanks in advance