Would like to offer patch to add features Intro windows and later collapse option for fieldset
yurtboy - November 7, 2008 - 04:15
| Project: | Apply for role |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | yurtboy |
| Status: | active |
Jump to:
Description
I attached a screen shot or two as well.
Basically this gives admin the ability to add an intro message to the fieldset in the registering page.
Also it sets the option should the fieldset be collapsed by default. But I need to finish that since it sent the intro field out of the fieldset.
| Attachment | Size |
|---|---|
| infowindow.png | 4.57 KB |
| frontview.png | 11.37 KB |
| apply_for_role.admin_.inc_.patch | 2.09 KB |
| apply_for_role.install.patch | 416 bytes |
| apply_for_role.module.patch | 1.13 KB |

#1
Note the attached screenshots
infowindow is the window the admin can type the message in.
frontview is where it appears on the registration page.
#2
Thank you! I'm sorry that I haven't had a chance to look at this yet, but I will.
#3
I added one more line cause for some reason the user when they edited say their password or theme would then lose the roles..
ln 223
Validation
case 'validate':if ((variable_get('apply_for_role_register', 0) == 2) && (empty($edit['rid'])) && user_is_anonymous() ) {
I added the user_is_anonymous() so it does not mess with the user if they are already a member of the site.
#4