XF 1.4 Subforum description only in forum view

Edpal

Member
I'm stumped on getting subforum's description to show when in that forum. Basically I'd like to use it as a rules or protocol block. Unless someone has a better suggestion. Eg. I run a music site and one sub is "Scores/Charts/Tabs" so under it's title I'd like a block to appear under the title.
"All transcriptions from recordings to tab or staff music should be accompanied by the reference track, to avoid confusion between different versions of the song." Ala phpbb's subforum rules blocks.
 
Thanks Brogan. Thing is, it's not just any subforum, it's all subforums that have a parent that is under the root.

I like the results I get with template forum_view starting off like this, tooltips are engaged so this doesn't make a mess by popping up the description of forums that are directly under the root.
Code:
<xen:title>{$forum.title}{xen:helper pagenumber, $page}</xen:title>
<xen:h1>{$forum.title}</xen:h1>

<h5>{$forum.description}</h5>
<xen:if is="{$forum.description} AND @threadListDescriptions">
 
Last edited:
Top Bottom