tags:

views:

11

answers:

0

I'm trying to find out how to display a forum/subforum heiarchy on every phpbb page displayed. I'm able to display the top level forums, but I can't figure out the subforums.

I've tried adapting the code in the SubForum Display Options mod here:

http://www.phpbb.com/community/viewtopic.php?f=70&t=1651405

Here is an example of what I've tried:

<!-- BEGIN forumrow -->
<li class=""><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
  <ul>
    <!-- BEGIN subforum -->
        <li><a href="{forumrow.subforum.U_VIEWFORUM}">{forumrow.subforum.FORUM_NAME}</a></li>
    <!-- END subforum -->
  </ul>
</li>
<!-- END forumrow -->

But that seems to be context sensitive, ie when I am viewing an actual thread, those variable don't get assigned. Also I don't see subforums.