aspose file tools*
The moose likes JForum and the fly likes Posts - Display in Reverse Chronological Order? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Posts - Display in Reverse Chronological Order?" Watch "Posts - Display in Reverse Chronological Order?" New topic
Author

Posts - Display in Reverse Chronological Order?

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Posts - Display in Reverse Chronological Order?