Hi all,
I think that the mimemail module needs to have a permission scheme to filter which roles have the option to disable rich text email.
What do you think? I can, and probably will do it in the next weeks.
Cheers, Simon.
Hi all,
I think that the mimemail module needs to have a permission scheme to filter which roles have the option to disable rich text email.
What do you think? I can, and probably will do it in the next weeks.
Cheers, Simon.
Comments
Comment #1
sgabe commentedIf you can provide a patch with your progress in this feature, I am sure that would be welcomed.
Comment #2
sgabe commentedI have been thinking about this and IMHO it is not a good idea to tie up the users and take away the option to decide in which format do they want to receive email messages. In some cases it could be useful, but if we implement this in the module, everybody will take away the permission from their users because they want them to receive fancy HTML messages, tho' the users don't want to. I believe that this should stay as it is.
Comment #3
sgabe commentedComment #4
achtonI beg to differ.
While I overall agree with the sentiment of giving users power to do as they wish, your argument doesn't quite work for me.
It is quite valid to wish to remove this option as a way of achieving the "less is more"-effect. Ie. removing options that is of no use for, say, 80% of your users - in order to improve the user experience for them all. Particularly if you generally send plain text messages anyway. I don't think admins will go ahead and deactivate this option if it doesn't make sense for them. And if they do, their users will tell them that they want that feature back (if they miss it).
Also, by denying site admins the option to filter this checkbox by role, one could say that you yourself are guilty of taking away power from your users ;-)
Cheers,
Achton
Comment #5
sgabe commentedThen create a custom module and hide that option in hook_form_alter(). I still don't think that this is a feature that Mime Mail needs to provide... However if you want you can do this in your own module.
What would make sense for me is to automatically hide this user option when Mime Mail is globally set to send only plain text messages. I see your point there, but I don't quite agree with the original idea.
Comment #6
achtonFair enough :-)
Comment #7
jdln commentedHope im not flogging a dead horse here. I need to hide the 'plain text email only'. How can I do this? Is the only way a custom module? This is beyond me so instead I would have to get jQuery to select the container of the text and hide it that way.
Thanks
Comment #8
sgabe commentedYes, or using CSS, JQuery, etc.
Comment #9
sgabe commentedComment #10
TimG1 commentedFor Drupal 7 you can use hook_form_FORM_ID_alter()
Thanks for reading,
-Tim