XF 2.2 Move subforum below create new thread

80sDude

Well-known member
Is there a new way on how to move subforums below create new thread? I found some old threads but I believe the code has changed in forum view template... Thanks!
 
Untested but edit the forum_view template and move this block of code:

HTML:
<xf:if is="$nodeTree">
    <xf:ad position="forum_view_above_node_list" arg-forum="{$forum}" />
    <div class="block">
        <div class="block-container">
            <div class="block-body">
                <xf:macro template="forum_list" name="node_list"
                    arg-children="{$nodeTree}"
                    arg-extras="{$nodeExtras}"
                    arg-depth="2" />
            </div>
        </div>
    </div>
    <xf:ad position="forum_view_below_node_list" arg-forum="{$forum}" />
</xf:if>

To just above this line:

HTML:
<xf:if is="$stickyThreads is not empty OR $threads is not empty">

It may require some additional CSS changes to make it look as required.
 
Back
Top Bottom