Hi,
I am using the news module as a calendar and would like to have the items sorted by the expiry date. Somehow this does not work?
In the backend the news are actually sorted but not in the frontend?!?
Has anyone any idea what the problem could be?
THANKS, Hannes
Problem with News "sort by expiry date"
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Problem with News "sort by expiry date"
Okay, i checked it out, and it is possible to do, but the documentation didn't say it:
will sort in descending order by the end_time (or expiry date).
will display the above listing reversed. I've changed the help string, and News 2.6 will be released tomorrow.
Code: Select all
{news sortby='end_time'}Code: Select all
{news sortby='end_time' sortasc='true'}Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Problem with News "sort by expiry date"
Hi,
thanks for the quick reply. It works just fine!
Thanks for the great support, Hannes
thanks for the quick reply. It works just fine!
Thanks for the great support, Hannes

