Hi there,
Is there any way to limit a category_url_title to ONLY the parent, and not the children? And further more, is there a better way to manage child categories for filtering / sorting etc?
In the below code, {category_url_title} outputs the Parent, then the first few letters of a child in the URI. It’s breaking things.
[code]
{exp:channel:entries channel="topic_list"}
{il_{segment_2} limit="10" disable="member_data|pagination"}
<a href="http://{path=topic/{categories}{category_url_title}{/categories}/{url_title}}">_ <div class="{blocksize}">_ <h1 class="{categories}{category_url_title}{/categories}">{title}</h1>_ {article_excerpt}_ </div>_ </a>
{/il_{segment_2}}
{/exp:channel:entries}Thanks!
Moved to Community Help forum by Moderator