Active
Project:
Signup
Version:
6.x-1.0
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2011 at 18:15 UTC
Updated:
20 Mar 2011 at 12:49 UTC
Jump to comment: Most recent file
I have a content type for which signup is disabled.
When editing a node of this content type, the following form is visible.
Restrict access to certain Roles
anonymous user
authenticated user
etc.
This noes not seem right, at the very least I need a way to make this form not visible.
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | Untitled-1.png | 12.74 KB | Lowell |
Comments
Comment #1
Lowell commenteduploaded image of node edit form with a piece of the subscription form visible
Comment #2
joekrukoskyI was having this same issue. Found this post http://drupal.org/node/1039626 which says:
Add && $form['signup'] to the form alter if statement (on lines 11 & 12), i.e.
function signup_restrict_by_role_form_alter(&$form, &$form_state, $form_id) { if($form['#node'] && $form['#node']->type.'_node_form' == $form_id && $form['signup'])<\strong) { ...
This also removed the Scheduler form as well (if you have the module enabled as well).
Thanks to ambereyes!