localgovdrupal / localgov_events

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

Support for multiple event calendars / event channels #54

Open andybroomfield opened 2 years ago

andybroomfield commented 2 years ago

Ref : https://github.com/localgovdrupal/localgov_directories/issues/166

BHCC have established event channels, simmilar to directories, for grouping events.

Its a fairly common request at BHCC, eg. To be able to have events releated to a particular festival. Is this a likley need elsewhere? We're going to add them as an EVA view if we can't reverse engineer the same method as directories.

(There is category as a filter which could serve this purpose, but there is a general push to segregate events on different calendars where possible at BHCC).

joachim-n commented 3 months ago

We're going to add them as an EVA view if we can't reverse engineer the same method as directories.

Note that EVA has a bug which makes pages uncacheable (or worse, pollutes the cache, I don't remember which).

andybroomfield commented 3 months ago

We went with the same solutiuon as directories for now, allbeit still being a seperate content type, so its a bit of a mess still. I'd still like to switch to EVA at some point for a lot of this as its simpler to maintain.

andybroomfield commented 3 months ago

@joachim-n Is this the issue? https://www.drupal.org/project/eva/issues/3193300

joachim-n commented 3 months ago

Yup, that's the one.

I'd suggest computed fields rather than EVA. I prefer if the thing that's being output on nodes is placed there explicitly, rather than coming from somewhere mysterious.