Intechnic
Users Developers
Home / Forums / In-Portal Modules / In-Bulletin – Discussion Forum / How To Re-Arrange Section Titles for Forums / Topic Posts

In-Portal Forum

This is a place for users of In-Portal to ask questions, discuss various topics, and interact with other members of the In-Portal Community. Please report bugs through the Bugs Team (not the Forum). If you are interested in contributing or joining one of the many Teams for In-Portal, please check out the Contribute section of the website.
 

In-Portal Forum

How To Re-Arrange Section Titles for Forums (2)


Posted: 06/28/2015 10:27:36 PM

Reply Quoted  


Hi Everyone,

I created the sections titles for the forums, how do you re-arrange the order the sections show up in the forums? It looks like they are automatically in alphabetical order.

Cheers

John

Posted: 06/29/2015 2:38:13 AM

Reply Quoted  


I presume you want to sort top level forum categories, e.g. http://screencast.com/t/XBIXPI7ujOtf

Then you need to:

1. go to "/themes/advanced/in-bulletin/designs/section.tpl" template
2. locate <inp2:c_ListCategories render_as="category_element" columns="1"/> line (it's 92th line in my case)
3. change it to <inp2:c_ListCategories render_as="category_element" columns="1" sort_by="Priority,desc"/> (added "sort_by" attribute)