News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

Main Menu

change the sort order of comments?

Started by michael singer, October 31, 2004, 03:11:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

michael singer

could anybody please tell me if there is a way to change the sort order of comments?
i would like to have the newest comment on top.

(i did many searches, but i could not find any related topic).




Casper

Try this, untested, so back up your file first.

Open displayimage.php, and find;

ORDER BY msg_id ASC

Change it to this;

ORDER BY msg_id DESC
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

michael singer

...works perfectly!

thank you very much, casper!

Joachim Müller

added (as admin settable option) to devel cvs - will be in next version.

Joachim