Latest Register Log In

+ Advanced Search

Forum and Subforum List Anywhere

Forum and Subforum List Anywhere
By
09/28/09 (Edited 03/11/14)

Suppose you want to display a bulleted list of forums with their subforums nested beneath them. You want to put this in the wrapper template, or some other template besides the main index. Just use this template code:
<ul>
<!-- BEGIN TOPLIST -->
<CONFIG>forums[,]id[,]5[,]ascending[,]parent=0[,][,][,]0[,]0[,]0[,]0[,]0[,]0[,][,]0</CONFIG>
<li><a href="{CATURL}">{CATNAME}</a>
<ul>
{CATSUBCATS[<li><a href="{CATURL}">{CATNAME}</a></li>]}
</ul>
<!-- END TOPLIST -->
</ul>




Description How to display a list of forums and subforums, anywhere.
Rating
Views 329 views. Averaging 0 views per day.