I have a dynamic navigation of parent categories that utilize the category_url_title. When I click the link, the subsequent template needs to list thusly:
Parent Category Title
- entry 1
- entry 2
Child Category
- entry 3
- entry 4
Right now, I can only get the Parent Category and its entries to display. The code I’m using to do this is:
{exp:query sql="SELECT cat_id FROM exp_categories WHERE cat_url_title = '{segment_4}'"}
{exp:weblog:category_archive weblog="publications" show="{cat_id}" style="nested"}
{categories} <a href="http://{path=weblog/template}">{category_name}</a>{/categories}
{entry_titles} <a href="http://{path=weblog/template}">{title}</a>{/entry_titles}
{/exp:weblog:category_archive}
{/exp:query}Thanks in advance for any advice you may have. (EE v 1.6.9)
[Mod Edit: Moved to the Community Help forum]