Event-Organiser icon indicating copy to clipboard operation
Event-Organiser copied to clipboard

Enhancement Request: Mini Calendar as Archive filter (reload/not ajax)

Open brandbrilliance opened this issue 9 years ago • 0 comments

I'm trying to replicate the function of an existing event module in Contao CMS. The mini calendar from Event Organiser looks almost identical, except you can't use to to "browse" the archive.

http://www.asdsa.org.za/events/

On this website, if you click on the "Prev" and "Next" links in the sidebar mini calendar, it actually reloads the events list (archive) page and re-filters the main events list by that date.

Events Organiser can also respond to this URL, because I can enter manual archive urls like (.../events/on/2015/12) - which works correctly. Unfortunately the current mini calendar in the widget and shortcode uses ajax to refresh the mini calendar and the page doesn't reload. Would this be an option?

Otherwise, how would I copy the widget (or even just a shortcode) to make my own version that doesn't use ajax, but forces a url reload to filter the archives.

The reason for this is because in wordpress you normally have a nice date filter for the blog, which reloads the url with filter parameters. However it's very complex with events, as a select dropdown or even a month unordered list would generate too many months and after a few years become impractical.

brandbrilliance avatar Dec 09 '15 18:12 brandbrilliance