This module was a perfect fit for our association, but the word "Staff" doesn't fit for us. I would prefer if you could provide one of the following:
1) Make the prefix customizable in the admin/settings/rolecontact
and/or
2) Use the name of the role selected
Thank you.
btw, I realize I could just manually edit the rolecontact.module, but I am looking for a better solution than that in case later down the road when I'm not the web dev anymore someone updates this module. I don't know enough about hacking drupal's insides at this point to create a better solution.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | rolecontact.module-role_label.patch | 2.09 KB | lightweight |
Comments
Comment #1
lightweight commentedHi jamm,
Thanks for looking at RoleContact - I'm happy to hear it looks useful to you. I think I've just addressed the shortcoming you've encountered - I've just created a version of the module which allows you to specify an optional "Role Label" which is prepended with a " - " before the names of role members in the dropdown list. If you don't include a label, it'll list the names without a prefix or " - ". It might take me a little while to do a release of the update version, so I've attached a patch in the meantime.
Hope that helps - I'd be interested to see your site, if it's publicly visible!
Cheers,
Dave
Comment #2
zxombie commentedI've committed the patch with some style fixes found by the coder module