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.

Forum Module /

Discuss the Forum Module.

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

Change sort order in Forum


Reply


2 Posts   1151 Views

Avatar
WalterW

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")

to

function Posts($order = "DESC")

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

Avatar
WalterW

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.