Comments display order
-
francistill
- Regular
- Posts: 30
- Joined: Mon Apr 17, 2006 4:45 am
- Location: Wellington New Zealand
Comments display order
Is there any way to show newest comments at the top of the comments list? I realise this violates all listserv etiquette but I've got a special reason for wanting to do it on one particular website.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Comments display order
Hi!
You want to revert the comment display order from "oldest to newest" into "newest to oldest"?
For that you need to edit the entries.tpl file of the template you are using, search for
and change it to
(or was it 'DESC'? Can't remember. But one of them will work).
Best regards,
Garvin
You want to revert the comment display order from "oldest to newest" into "newest to oldest"?
For that you need to edit the entries.tpl file of the template you are using, search for
Code: Select all
{serendipity_printComments entry=$entry.id mode=$entry.viewmode}
Code: Select all
{serendipity_printComments entry=$entry.id mode=$entry.viewmode order="ASC"}
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
francistill
- Regular
- Posts: 30
- Joined: Mon Apr 17, 2006 4:45 am
- Location: Wellington New Zealand
thanks!
it is DESC and worked a treat!