Problem with News "sort by expiry date"

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
slooodge
Forum Members
Forum Members
Posts: 13
Joined: Mon Aug 27, 2007 7:17 pm

Problem with News "sort by expiry date"

Post by slooodge »

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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Problem with News "sort by expiry date"

Post by calguy1000 »

Okay, i checked it out, and it is possible to do, but the documentation didn't say it:

Code: Select all

{news sortby='end_time'}
will sort in descending order by the end_time (or expiry date).
   

Code: Select all

{news sortby='end_time' sortasc='true'}
will display the above listing reversed.  I've changed the help string, and News 2.6 will be released tomorrow.
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.
slooodge
Forum Members
Forum Members
Posts: 13
Joined: Mon Aug 27, 2007 7:17 pm

Re: Problem with News "sort by expiry date"

Post by slooodge »

Hi,
thanks for the quick reply. It works just fine!

Thanks for the great support, Hannes :)
Post Reply

Return to “Modules/Add-Ons”