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
Changing ordering messages by dates
- Jan
- Phoca Hero
- Posts: 48743
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Changing ordering messages by dates
Hi, did someone make custom changes on your site, the ordering is set fix: ORDER BY ordering DESC
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 27 Jun 2012, 14:17
Re: Changing ordering messages by dates
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
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
- Jan
- Phoca Hero
- Posts: 48743
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Changing ordering messages by dates
components/com_phocaguestbook/models/guestbook.php
If you find Phoca extensions useful, please support the project