localgovdrupal / localgov_finders

LocalGov Finders (will) help Directories, Events, News, Consultations etc. display, index, and filter their content.
GNU General Public License v2.0
0 stars 0 forks source link

Requirements decision: Multiple Content types support? #1

Closed ekes closed 3 weeks ago

ekes commented 1 month ago

Directories allows site-builders to add any content type to a directory. This is done by adding a reference field to the parent directory channel. In doing so the following need to be done for the bundle:


User stories

As a content designer I want to to create a new finder with multiple types of content So that I can create a directory with pages and venues Notes Directories already have multiple content types. We think there will be other cases where multiple content types will be needed. Resources?

As a content designer I want to to create a new 'events' finder with a single event content type So that I can create an events finder / listing with a simple event content type. Notes

ekes commented 1 month ago

News is a single content type; Blogs is a single content type; I'm assuming they would want to stay that way.

I'd guess consultations would be a single content type? @willguv

Events,multiple content types, or single? @joachim-n

joachim-n commented 1 month ago

Events,multiple content types, or single

Not sure! Possibly multiple content types to allow to easily use different recurring date widgets for purposes they're best suited to.

This is done by adding a reference field to the parent directory channel. In doing so the following need to be done for the bundle

Might or might not be relevant, but I've been thinking for a while about using something other than the presence of a key field to define a node type as being a directory -- see https://github.com/localgovdrupal/localgov_events/issues/139.

willguv commented 1 month ago

I'd guess consultations would be a single content type? @willguv

@ekes consultations may have a lot of variation so worth allowing for this

willguv commented 3 weeks ago

The code already supports multiple content types so this is covered