Latest Register Log In

+ Advanced Search

Top Level Categories Menu

Top Level Categories Menu
By
11/03/09 (Edited 02/05/14)

Often, people want to display a navigable menu of the top level categories. If you want this on the side of every page (in the wrapper), then Admin Panel -> Settings -> Switches -> "Left side category tree menu" is probably what you want

If you want something else, go to Admin Panel -> Themes -> Toplist Generator. Select to make a toplit of categories ordered by priority ascending. in the advanced filtering condition field, enter
parent=0
to tell it to only include the top level categories. For the toplist content you could use
<li<IF {CATID} is {THISCATID}> class="currentcategory"</IF>> <a href="{CATURL}">{CATNAME}</a></li>

and then wrap the whole toplist output it gives you in <ul>...</ul>. Copy and paste to wherever you want the list of top level categories displayed.




Description Displaying a navigable list of your top level categories, anywhere.
Rating
Views 304 views. Averaging 0 views per day.