Hi I’ve got a menu built with category parents and children and I’m displaying the children (menu items) using the category parent id:
{if segment_3 == 'category-name1'|'category-childname1'|'category-childname2'|'childname3'} style="linear" category_id"15" incl_self="no"{/if}
{if segment_3 == 'category-name2'|'category-childname1'|'category-childname2'|'childname3'} style="linear" category_id"15" incl_self="no"{/if}
{if segment_3 == 'category-name3'|'category-childname1'|'category-childname2'|'childname3'} style="linear" category_id"15" incl_self="no"{/if}<li {if category_url_title == segment_3} class="current"{/if}>
<a href="http://{path=">{category_name}</a></li>and works for:
http://www.mywebsite.com/category/category-name
BUT
if I type in the URL
http://www.mywebsite.com/category/
the menu goes all over the place and pulls in all entries, what would be the best way to control the url here
something like…
{if segment_3 [b]DOESN'T EQUAL[/b] 'category-name3'|'category-childname1'|'category-childname2'|'childname3'} style="linear" category_id"15" incl_self="no"{/if}
<li><a href="http://{path=">page [b]NOT found[/b]</a></li>Would low-seg2cat be the answer?]
Thanks