localgovdrupal / localgov_events

Events for LocalGov Drupal.
GNU General Public License v2.0
1 stars 0 forks source link

Calendar View Modules #140

Open justinepocock opened 3 months ago

justinepocock commented 3 months ago

To investigate the best modules for a calendar view

Calendar View https://www.drupal.org/project/calendar_view

I made a start looking at Calendar View module but I couldn't get it to play nicely with the date fields that we have in LGD. The settings page of the Page Style didn't enable event with localgov_event_date added as a field (without the Occurrences relationship)

I'm also think this won't work with the search API way of doing events we want to?

Image

Image

FullCalendar View https://www.drupal.org/project/fullcalendar_view

There's a module for this but @ekes said "I've used fullcalendar.js to do this on a couple of 'intranet-ish' sites. Implemented the js directly myself on a view style, not using a Drupal module. It's overkill but worked." Trying the module now.

Took some tweaking and a patch to do this for normal views - but module is nice - fullcalendar.js seems to have all the options we need. Probably easier to do it 'The ekes Way' when we add directory channels into the mix.

"Full calendar view not supporting Date_recur field": "https://www.drupal.org/files/issues/2023-12-14/3408497-date-recur-compatibility.patch"

Image