Changing ordering messages by dates

Phoca Guestbook - creating guestbooks in Joomla! CMS
meandher
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 27 Jun 2012, 14:17

Changing ordering messages by dates

Post by meandher »

Dear jan

I created a new guestbook for a client and I am now importing messages from his old guestbook to this new one pocha gustbook.

I need the messages to be displayed in this order: newest messages first on the listing.
The messages have dates. How I can do this please?



Looking forward to hearing from you

Thank you

Veronica
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48742
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Changing ordering messages by dates

Post by Jan »

Hi, did someone make custom changes on your site, the ordering is set fix: ORDER BY ordering DESC

Jan
If you find Phoca extensions useful, please support the project
meandher
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 27 Jun 2012, 14:17

Re: Changing ordering messages by dates

Post by meandher »

Hello Jan

Where I can find this: ORDER BY ordering DESC?
I want to display the message in this order: the latest first.

No one made changes on the website a part of me..

Hope to hear from you soon.

Thank you Jan
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48742
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Changing ordering messages by dates

Post by Jan »

components/com_phocaguestbook/models/guestbook.php
If you find Phoca extensions useful, please support the project
Post Reply