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

How to have threads appear above forums and not below them?

Discussion in 'XenForo Questions and Support' started by Ruven, Nov 5, 2010.

  1. Ruven

    Ruven Well-Known Member

    Ok here's the deal.
    I have set up my categories to also function as a forum.
    So when you go to a category you not only see its list of forums, but after all the forums are listed you also see the forums threads.
    I want to reverse that order.
    I want the threads to appear at the top, and the forums to appear below the threads.

    And as a bonus i want to be able to limit the amount of threads that show up to just 5 or 10 before a person has to move on to the next page of threads... but only for threads within a category.

    So, how would i go about doing this without fouling stuff up?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    That is a template modification.

    Admin CP -> Appearance -> Templates -> forum_view

    Find and move this code to the bottom of the template:

    Code:
    <xen:if is="{$renderedNodes}"><xen:include template="node_list" /></xen:if>
    
    That can be done with an addon. Here is an example that is not far from what you want to do:

    http://xenforo.com/community/threads/creating-a-simple-modification.3532/
     
    Ruven and boatswife like this.
  3. Ruven

    Ruven Well-Known Member

    Thanks a bunch man.
     

Share This Page