Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Posts - Display in Reverse Chronological Order?

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please don't shoot the messenger... We are trying out jForum as our intranet blogging tool. The President is experimenting with a blog and has asked that the replies to his post be displayed in reverse chronological order. Is that possible with jForum? (Personally I prefer it as it is - all of the other Blogs I read are sorted as they come in...)

Thanks,
Shannon
[originally posted on jforum.net by sdevaul@aarcorp.com]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you could globally change this behavior by modifying the underlying SQL query. Not sure of the exact one, but it's probably one of the TopicModel queries. You can find these either in your specific Database directory or the generic.sql queries (generic has the default and the db type queries override as needed).

Another possible option is to look at the templates and see if FreeMarker will let you order the Topics list. E.g. instead of a #list can you do a For i=topic.length-1;... thing. One problem is that if you have more than one page of topics then this would be for that page only.
[originally posted on jforum.net by monroe]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic