Guest benfrain.com Posted September 1, 2010 Share Posted September 1, 2010 I have a sidebar showing main and sub-categories as I want. However, I would like to add a top 'navigation' bar/menu that only shows the top level categories. Is there a standard snippet of code that will do this? For example, in the categories.tpl file, this line of code is used to call the categories (it generates both top level and sub categories when the DHTML menu is enabled): <a href="index.php?_a=viewCat&catId={DATA.cat_id}">{DATA.cat_name} </a> My question is, is it possible to amend this line so that instead of showing top level and sub categories, it ONLY shows the top level categories? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.