Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Forum Module /

Discuss the Forum Module.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Change sort order in Forum

Go to End

2 Posts   1546 Views


Community Member, 18 Posts

10 November 2009 at 12:50am

Edited: 27/11/2009 7:17am

I would like to change the order of the posts to descending order.

I tried to change the code in forum.php from

function Posts($order = "ASC")


function Posts($order = "DESC")

This seems to work, but is there some more elegant way to do this (maybe _config.php)?


Community Member, 18 Posts

27 November 2009 at 7:18am

I changed back to previous order (newest at the end), as it is much more complicated to change the sort order in any place of the forum code.