• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Posts - Display in Reverse Chronological Order?

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

[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]
Our first order of business must be this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic