Support » Plugin: All-in-One Events Calendar » Great calendar plugin

  • This is probably the best calendar plug-in for WordPress. It is the true swiss army-knife of virtual calendars.

    It does however lack one blade (whence a missing star in my rating) : the possibility to list PAST events. This would be useful for the sporting association I use it for, in order to use the past events as a repository of archive links to results, photos and so on.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Benjamin

    (@bsokic)

    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

    Thread Starter David31650

    (@david31650)

    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

    Thread Starter David31650

    (@david31650)

    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

    Plugin Author Benjamin

    (@bsokic)

    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

    Thread Starter David31650

    (@david31650)

    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 !

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Great calendar plugin’ is closed to new replies.