< Back to Individual Hacks

Top Level Forums Menu

Often, people want to display a navigable menu of the top level forums. If you want this on the side of every page (in the wrapper), then Admin Panel -> Settings -> Switches -> "Left side forum 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 forums ordered by priority ascending. in the advanced filtering condition field, enter
parent=0
to tell it to only include the top level forums. For the toplist content you could use
<li<IF {CATID} is {THISCATID}> class="currentforum"</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 forums displayed.