Hi guys!
Right now, I have a parent ยป child hierarchy in place, whereby parent Entries in the top navigation are linked via a Relationship to child Entries listed in their respective menus, as you can see from the development website.
I’d like to add a third level, which I suppose we could refer to as grandchildren, whereby certain Entries are linked via a Relationship to grandchildren Entries.
For instance, this is the code for the top navigation:
<ul id="topnav">
{exp:channel:entries channel="sections" style="nested" dynamic="no" sort="asc"}
<li><a href="http://{path=sections/index}/{url_title}" class="{section_tag_class}">{title}</a>
<div class="sub">
<ul>
{reverse_related_entries orderby="title"}
<li><a href="http://{path=products/index}/{url_title}">{title}</a></li>
{/reverse_related_entries}
</ul>
</div>
</li>
{/exp:channel:entries}
</ul>I know from Mike Boyink that this is doable, so I just need to know if I’ve got the logic right, and what the code might look like.