More in this section
Forums / General Discussions / Forum ordering

Forum ordering

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Charles
    Charles avatar
    36 posts
    18 Apr 2011
    11 Oct 2011
    Link to this post

    I'd like to know if it possilbe to order the forum's in Sitefinity. Right now, I create a forum, it appears at the bottom of the list. No exceptions. But I'd like to either specify the order ID when inserting a forum or to update the order to an existing forum.

    The existing forum angle is importent, because what if a customer wants to reorder existing forums? Deleting the forum for the sake or reordering is not a good idea.

    Could I be using a better forum control?

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    13 Oct 2011
    Link to this post
    Hi Charles,

    There is an option by changing Telerik.Forums.Data.DefaultProvider and replacing it in the configuration.

    <forums defaultProvider="Sitefinity">
                    <add name="Sitefinity" securityProviderName="" profileProviderName="Sitefinity" type="Telerik.Forums.Data.DefaultProvider, Telerik.Forums.Data" connectionStringName="DefaultConnection" visible="true"/>

    You need to override GetForumsUncategorized method and return the items in the order you want.
    Another option is changing the template of Forums control that is located under Sitefinity/ControlTemplates/Forums and rebind the repeater with the order you want to see.
    In the first case, where you replace the method, you will change the query for all requests to this method, the second option will rebind the repeater, so you will make double binding.

    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered