Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Per the COD user stories document, "Organizers can assign sponsors to events without needing a sponsor level" is desired. This means we'll plan to:
- Add an event field to the sponsor content type.
- Allow the event field to filter the sponsorship level field so that only levels from the corresponding event appear.
- Change the level field to be non-required.
- Allow an event to be preselected (via url param). This will hide the event field on the sponsor node add/edit form.
- Update the sponsor dashboard view to use the event field (currently relates through level)
Comment | File | Size | Author |
---|---|---|---|
#2 | 2178627-relate_sponsors_to_events-2.patch | 18.56 KB | jyee |
#1 | 2178627-relate_sponsors_to_events-1.patch | 18.49 KB | jyee |
Comments
Comment #1
jyee CreditAttribution: jyee commentedPatch attached. It should hit all of these, although I had issues updating the admin view to use the field directly on the sponsor node… so that is still relating through the level (which would produce incomplete data in the admin view if the sponsor had an event, but not a level).
Comment #2
jyee CreditAttribution: jyee commentedThis patch resolves some php notices and should resolve the view. Note there appears to be an issue when using views_ui that it will try to force the event column to relate on authors… so be careful if saving the view via views_ui.
Comment #3
jyee CreditAttribution: jyee commentedComment #4
japerryThis is within the cod_scheduler branch and will be pushed up when the scheduler branch is pushed up.