FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » FUDforum in eGroupWare » Reverse Sort Order for Flat View
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Reverse Sort Order for Flat View [message #20683] Mon, 25 October 2004 16:44 Go to next message
jonmoss is currently offline  jonmoss   United States
Messages: 93
Registered: September 2004
Location: Lansing, KS
Karma: 0
Member
add to buddy list
ignore all messages by this user

Is it possible to have the flat view sort in reverse chronological order?

Several of my users have requested this so that when they view a topic the most recent replies are at the top of the list.


Thanks and have a great day!

Jon Moss
Re: Reverse Sort Order for Flat View [message #20685 is a reply to message #20683] Mon, 25 October 2004 16:49 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
It is possible, but you need to perform a slight code modification.
Open msg.php.t inside the src/ directory and modify the ORDER BY clause of the main data retrieval query in there.


FUDforum Core Developer
Re: Reverse Sort Order for Flat View [message #20687 is a reply to message #20685] Mon, 25 October 2004 17:10 Go to previous messageGo to next message
jonmoss is currently offline  jonmoss   United States
Messages: 93
Registered: September 2004
Location: Lansing, KS
Karma: 0
Member
add to buddy list
ignore all messages by this user

I found one ORDER BY clause and change it the argument ASC to DESC. I saved the file. I logged in to eGroupware, as a regular end user, and went to a forum and selected a topic.

The posts were still in the same order, with the newest at the bottom.

Should I have stopped/restarted Apache?


Thanks and have a great day!

Jon Moss
Re: Reverse Sort Order for Flat View [message #20688 is a reply to message #20687] Mon, 25 October 2004 17:18 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
After you change the file you need to go to the admin control panel, theme manager and rebuild the theme. Only after this is done will your change take effect.

FUDforum Core Developer
Re: Reverse Sort Order for Flat View [message #20690 is a reply to message #20688] Mon, 25 October 2004 20:52 Go to previous message
jonmoss is currently offline  jonmoss   United States
Messages: 93
Registered: September 2004
Location: Lansing, KS
Karma: 0
Member
add to buddy list
ignore all messages by this user

That worked.

Smile


Thanks and have a great day!

Jon Moss
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Audit Trail
Next Topic: Track Topic Not Working
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Oct 17 20:07:21 EDT 2017

Total time taken to generate the page: 0.00740 seconds