1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Moving subforum to bottom of forum view

Discussion in 'XenForo Questions and Support' started by Sap1ent, May 18, 2015.

  1. Sap1ent

    Sap1ent New Member

    Hi all,

    I did a search for this, but the only thread I could find was 4 years old and I was conscious that the advice might have changed (and i'm quite new to XF from phpBB).

    Is is possible to move a the subforums 'section' to the bottom of the view of topics, rather than at the top.

    In the theme i'm using it feels a little distracting and ill placed.

    Many thanks,

  2. Brogan

    Brogan XenForo Moderator Staff Member

    You would have to edit the forum_view template and move the include for the node list to the bottom.
  3. Sap1ent

    Sap1ent New Member

    I'll give that a go, thank you kindly!
  4. Sap1ent

    Sap1ent New Member

    Is it just this chunk?

    <xen:if is="{$renderedNodes}">
    <xen:include template="ad_forum_view_above_node_list" />
    <xen:include template="node_list" />
    <xen:if is="{$newDiscussionButton}">
    <div class="nodeListNewDiscussionButton">{xen:raw $newDiscussionButton}</div>

    Or just this:

    <xen:include template="node_list" />
  5. Sap1ent

    Sap1ent New Member

    OK, i've managed this.

    I've now moved the subforums list to the bottom of the list of topics, that's great.

    Is there a way to get the 'Post New Thread' button to align in the same place that it would if there was no subforums?

  6. Brogan

    Brogan XenForo Moderator Staff Member

    Remove the button code from the conditional statement for the sub forums and edit the code for the other button to remove the check for sub forums.
    Sap1ent likes this.
  7. sbj

    sbj Well-Known Member


    I know this is not what you are looking for, but if the subforums list feels a little bit distracting, then there is another solution to solve this problem rather then editting templates. It could be an alternative.

    This add-on.
    You have a setting in ACP, so all subforum lists are closed by default. That way it is not distracting but still the users know there are some subforums. Because if you move them to the bottom, they might not see them. Just for your information.
  8. Sap1ent

    Sap1ent New Member

    OK, i'm new to the Xen code but it seems straightforward, i'll give it a go and get back to you.

    Many thanks
  9. Sap1ent

    Sap1ent New Member

    Interesting, thank you!

Share This Page