Hi David,
Thank you for your review and for using our plugin.
It is possible to list the past events, you can use the shortcode [ai1ec exact_date='1-10-2016'] and list events that starts on a specific date, or you can set the start date in the plugin settings: Events > Settings > Default calendar start date.
Thanks,
Ben
Hi Ben.
Thanks for that hint but, unless I am mistaken, that will also list future events. The function I require is that of listing only past events.
Thanks
David
Hi Ben,
A follow-up on my previous post…
Alternatively to only listing past events, a nice feature for me would be listing all events, both future and past, but in inverse chronological order. Is there any way of doing this ?
— David
Hi David,
Yes, the above shortcode will also list future events. To change the order, please try: Access the plugin files all-in-one-event-calendar/app/model/search.php, line 307, and change code:
$order_direction = 'DESC';
to
$order_direction = 'ASC';
and line 310:
$order_direction = 'ASC';
to
$order_direction = 'DESC';
Hope this helps.
Thanks,
Ben
Hi Ben,
Yes, a code patch is possible but that’s a real drag for maintaining the code after each update. Also, we don’t always want inverse chronological order, only for certain pages. We also want to be able to list future events in ascending order.
In fact, we had patched the code to allow listing previous events going backwards from the current date. It’s because of the maintenance problems that poses that we have abandoned that.
When we want to list past events, we now use the “exact-date” possibility that you pointed out to us. However, it’s a workaround for us, since although maintainability is improved (we no longer have to re-patch the code for each new version), ergonomics of use is not. We always start from the oldest event (and then for forwards) rather than starting from the most recent past event (and going backwards).
It would be great if a future version could allow the user to choose, via a shortcode parameter, whether normal or inverse chronological ordering is required. The current date or the exact-date could still specify from what date to start listing events (in either order).
Just an idea to improve your otherwise splendid plugin.
— David
Hi,
this is a requirement I do have and if a future version allows such parameter within “exact-date” I will buy it.
Thanks for this great plugin !