Recent Topics

1 Nov 13, 2008 15:43    

My b2evolution Version: 2.x

Is it possible somehow to sort the comments so that the newest are on top instead of at the bottom?

I have created a guestbook via a "Page"-post and allowed comments on that post but after testing, it appeared that the newest comments are always showing at the bottom instead of at the top.

I'm using skin "Bluer" and you can check out the blog at http://www.photastic.be (the guestbook is under the obvious link "Guestbook" ;))

Thanks in advance!

ps: if it helps, i don't allow comments on my other posts, only on the guestbook...

2 Nov 15, 2008 12:45

skins/[skin_name]/_item_feedback.inc.php ( or skins/_item_feedback.inc.php if there's not one there ;) )

Find a line that looks like this and chance ASC to DESC

	$CommentList = & new CommentList( NULL, implode(',', $type_list), array('published'), $Item->ID, '', 'ASC' );

¥

3 Nov 18, 2008 11:40

perfect solution mate :)

works like a charm! Cheers!


Form is loading...