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.
Even though an event manager can specify multiple slots per registrant for their event, there is no easy place for the registrant do this. Currently, the registrant has to know their registration id, and can goto mysite.com/registration/(regid)/edit and change the spaces.
I propose that we add a textbox above the attending box that has a description showing how many spaces you can use.
Comment | File | Size | Author |
---|---|---|---|
#8 | 2129347-regslots-8.patch | 10.26 KB | Zarabadoo |
Comments
Comment #1
japerryHere is the first draft of the patch. It needs theming love. Assigning to Al.
I presume that making the text field smaller, and putting text in there saying 'seats' or 'attendance count' would work well here.
Comment #2
japerryWith this patch, you'll see it looking like this. We'll need to removed the debugging statements, and do some other cleanup, but theming is probably the most missing part of this patch right now.
Comment #3
ezra-g CreditAttribution: ezra-g commentedIn the interest of keeping the registration functionality simple, why not hide the quantity field entirely and default it to 1?
Comment #4
ezra-g CreditAttribution: ezra-g commentedAfter discussing with japerry, I think it's reasonable to keep this feature. I'd propose "# of attendees" as the description text and that we use the Form API to set a default length for the field to 2 characters.
Comment #5
japerryWe should also coordindate this patch with this patch in #2090075: Registration status shows "Open" while the registration has not been opened, if user has administer permissions by adding it to our makefile until there is a fix committed for registration. Admins shouldn't seeing a different event status than normal users.
This is the patch to add.
https://drupal.org/files/issues/2090075-removeadminbypass-1.patch
Comment #6
japerrySecond patch puts in a 'party size' indicator and moves the size down. Just needs a little theme love before getting committed.
Comment #7
japerryHere is a patch that cleans up the counts a bit more.
Comment #8
Zarabadoo CreditAttribution: Zarabadoo commentedThis patch will allow it to format better. It really does need some labels, text changes, and possibly to have elements rearranged. I played around with adding and removing variations of those, and the css changes in this patch along with japerry's work should be quite flexible.
Comment #9
japerryComment #11
japerryCommitted Al's changes, this adds the basic functionality for events. Improvements, if any, can be done later in a new issue.