Help coderanch get a
new server
by contributing to the fundraiser
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Posts - Display in Reverse Chronological Order?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
reply
    Bookmark Topic Watch Topic
  • New Topic