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.
Provide an administration interface for a user to manage his own registrations for an entity.
Comment | File | Size | Author |
---|---|---|---|
#4 | registration-user-manage-own-1462796-4.patch | 6.5 KB | dpi |
Comments
Comment #1
dpiAttached patch adds an additional sub-tab to `Register`: listing logged-in users' registrations.
Comment #2
dpiExtra functionality: Add a message to registration_form reminding user if he has already registered for this entity.
Comment #3
dpiChange status^^
Comment #4
dpiRerolled against alpha4
Comment #5
levelos CreditAttribution: levelos commentedThanks @dpi. I think we should place the list of a user's registrations on their account page, similar to how Signup, Commerce, and others do. I'm also not sure of the need for the message on the registration form. Seems that depending on permissions and settings, we should show either the form or the message, not both. Related to #1308894: Add setting: Maximum registrations per user..
Also just want to note that it'd be easy to add a list of a user's registrations with a View, whether or not this is in the core module.
Comment #6
dpiIf the idea behind Registration is to allow users to make multiple registrations per entity, doesn't it make sense to allow the user to see them with a built in table? e.g If a user has tens of registrations for an entity, which method is going to make sense:
I'm not advocating a global list of registrations per user. Rather users registrations per entity. Are we misunderstanding eachother?
Or do you think a global list makes more sense? in which case a user built view would make more sense than inclusion with Registration
And yes, depending on settings (eg: multiple registrations per user per entity == 1), this functionality should be disabled.
Comment #7
attiks CreditAttribution: attiks commentedIt's kind of working for me:
I think slot is used in two ways in this discussion:
I think we better expose the registration info to views so site builders can add the list where ever they want: separate page, account, node/xxx/register, ...
Comment #8
levelos CreditAttribution: levelos commented@dpi,
I did think a global list made sense, perhaps grouped by event. I could be disuaded from that approach, but seems fairly standard. Yes, it could be done with Views, but I was hoping to provide all essential functionality w/o that.
Comment #9
dave bruns CreditAttribution: dave bruns commentedJust checking to confirm: At the moment (alpha5), it's not possible for normal authenticated users to see and/or manage registrations (including their own). Is that right?
I ask because I see that we can grant users a number of Registration permissions:
But in my (limited) testing logged in as a user with a role that has these permissions, I haven't seen any controls to allow a normal users to do these things.
Comment #10
dpiThat is correct. As a user you cannot see a list of registrations for a host entity. Use views and optionally eva.
A user still has those rights if he has the direct link to the registration entity.
Comment #11
jossensei CreditAttribution: jossensei commentedI've tried something to get an "Edit my registration" link instead of the "Register" link if a user is already registered :
- in registration_menu(), in the entity local tasks foreach loop, I've added :
- and then I've added these two funcitions :
And
Comment #12
Mile23Patch in #4 doesn't apply cleanly against 7.x-1.x
Comment #13
Mile23I made a sandbox project that leverages hook_registration_access() to allow the user to view registrations they're enrolled in, even if they didn't create it.
http://drupal.org/sandbox/Mile23/1975698
Comment #14
bumblebee123 CreditAttribution: bumblebee123 commentedHi Everyone,
Is this feature gonna be introduced in the core module sometime?
Thanks,
Judit
Comment #15
ryanfc78 CreditAttribution: ryanfc78 commentedI have the Registration Form built into the event (not the link), but can't seem to find a way for the user to then edit their reservations. I have created a View with a Menu: Tab. If the admin logs in clicks on the Tab it shows the reservation they made. But if a member logs in and clicks the Tab it shows that they have no reservations. I know they do as I logged in as that user and registered. When I am logged in as an admin I see the members RSVP.
Has anyone found a way to let the user edit their reservation? I really need them to be able to edit their reservation in case they can no longer come or decide to bring a guest. Looked through the issues, but doesn't seem like anyone has found a solution. I am using 7.x-1.3
Comment #16
roball CreditAttribution: roball commentedBelow is the view_code of the View I am using to add a "Registrations" tab to each authenticated user's profile page.
Comment #17
keneso CreditAttribution: keneso commented@roball #16
Thank you very much.
It did it for me.
Comment #18
Kojo Unsui CreditAttribution: Kojo Unsui commentedThanks for sharing @roball. #16 views made me earn some time ;-)
Comment #19
tsaks CreditAttribution: tsaks commented@roball #16
Thank you! That saved me countless hours!
Comment #20
tschewe CreditAttribution: tschewe as a volunteer commentedI'd love to implement #16 but don't know how. Can some patient soul point me in the right direction?
Comment #21
hockey2112 CreditAttribution: hockey2112 commented@tschewe, follow these steps:
Comment #22
markusd1984 CreditAttribution: markusd1984 commentedthanks @roball for sharing, #16 worked a treat.
I replaced the delete with a cancel button / link that will keep a track record instead of deleting it entirely.
Comment #23
john.oltman CreditAttribution: john.oltman at SiteBasin, Inc. commented