Article Listing - Advanced sorting
2 posts by 2 authors in: Forums > CMS Builder
Last Post: July 27, 2011 (RSS)
By ryanGT - July 27, 2011
Hi all,
i just wondered if the following was possible in the admin article listing sort options?
i have created a section for events, with two fields (event_start & event_end) i would like the upcoming events to display first in the listing (with he start date that is closest to toady's date), then when there are no more future events, display the expired events by that ended closest to today's date.
I searched the forums as i thought that someone else may have asked the same question, but couldn't find anything.
Thanks - Ryan
i just wondered if the following was possible in the admin article listing sort options?
i have created a section for events, with two fields (event_start & event_end) i would like the upcoming events to display first in the listing (with he start date that is closest to toady's date), then when there are no more future events, display the expired events by that ended closest to today's date.
I searched the forums as i thought that someone else may have asked the same question, but couldn't find anything.
Thanks - Ryan
Re: [ryanGT] Article Listing - Advanced sorting
By Jason - July 27, 2011
Hi Ryan,
That's an interesting question. There isn't a way of doing this by default since it would actually require 2 different queries. 1 to get events that happen today or after today and another to get all the other records.
We could create a custom plugin that would allow for this type of searching. If you're interested, please email consulting@interactivetools.com and we can go over some options.
Hope this helps
That's an interesting question. There isn't a way of doing this by default since it would actually require 2 different queries. 1 to get events that happen today or after today and another to get all the other records.
We could create a custom plugin that would allow for this type of searching. If you're interested, please email consulting@interactivetools.com and we can go over some options.
Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/