Comments order

I recently installed phpAlbum, and I love it!

I was wondering, is there a way to sort the comments? I would like to display the new comment below those already posted. Sort of like in a forum. Is that possible? (I have very little knowledge of php)

Re: comment ordering

Hi, one more time, better

Hi, one more time,

better solution would be probably to use php function array_reverse. This returns an revers orderered array. If you get the comments.tpl.php file of the theme you are using, put there a following line:


between the



foreach($messages as $comment){

lines. This would work also with already aviable comments.


Thank you for the quick reply! I'll give it a try!

Just tested it and it works! Thanks again for your help!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.