To start I wanted to say that this is a fantastic module that is very well written, thank-you!
I use panels a lot when developing sites, and in order to use this module I needed to add a few panels plugins:
1. node_form_registration_status: to add the registration status form element to the node edit panel page;
2. node_registration_cancel: to provide a cancel link on a node view page
3. registration status: an access plugin used to make pane visible / invisible depending on whether the user is registered to the node
With these I can enable registrations on the node form, then hide the register link when a user is registered and replace it with a cancel link on node view.
I thought I would share these plugins in the form of a patch in case you or anyone else is interested. Cheers.
| Comment | File | Size | Author |
|---|---|---|---|
| node_registration-panels.patch | 6.53 KB | joel_osc |
Comments
Comment #1
rudiedirkx commentedI know nothing of Panels, so if you don't mind I won't add it to NR, but we'll keep this issue open so people can see there's a Panels patch. I'll also mention this on the project page. Agree?
Comment #2
joel_osc commentedSounds good, if I add any more to it I will create a sandbox project and post the link here. Cheers.
Comment #3
rudiedirkx commentedComment #4
jemisond commentedI applied the patch, but am unable to get the cancel link to display on the page. I confirmed that the user does have the permission to cancel the event.
Comment #5
rudiedirkx commentedI don't know anything about Panels or what this patch adds.
These might be useful though:
Short version: NR doesn't make a cancel link. You have to do that.
Comment #6
joel_osc commentedIf you are using panels and have added the 'registration cancel link' to the node_view override, you can test whether or not the render is being called by putting a dpm in the 'node_registration_registration_cancel_content_type_render' function.
Comment #7
joel_osc commenteddeleted repeat comment...sorry internet connection is not great.
Comment #8
joel_osc commenteddeleted repeat comment...sorry internet connection is not great.