Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is it currently possible to turn off informational/error messages?
I have all this information sent my email and do not require the messages to show in $messages.
Thank you very much.
Comment | File | Size | Author |
---|---|---|---|
#10 | make-messages-optional-719044-10.patch | 1.02 KB | noahlively |
#3 | on off messages.png | 6.58 KB | Bilmar |
Comments
Comment #1
YK85 CreditAttribution: YK85 commented+1 subscribing
Comment #2
rburgundy CreditAttribution: rburgundy commentedI tried to make the informational message blank to remove it but got this warning when the informational message is suppose to show.
warning: Invalid argument supplied for foreach() in /home/abckonec/public_html/beta/sites/all/modules/user_relationships/user_relationships_api/user_relationships_api.api.inc on line 36.
I made the Informational Messages Submitted: to BLANK
Clicked to send a request to a user and get the warning above.
Comment #3
Bilmar CreditAttribution: Bilmar commentedI believe it would be a great new feature to add a on/off switch to the informational messages.
I have attached an example screengrab of how the User Points module does it in their UI.
Regards
Comment #4
Bilmar CreditAttribution: Bilmar commentedIs this something the maintainer of UR may consider?
Thank you
Comment #5
YK85 CreditAttribution: YK85 commentedkindly bumping
Comment #6
robby.smith CreditAttribution: robby.smith commented+1 subscribing
Display informational messages
[ ] No
[x] Yes
Display error messages
[x] No
[ ] Yes
would be awesome!
Comment #7
chuckbar77 CreditAttribution: chuckbar77 commentedsubscribe, +1 for this setting
Comment #8
James-TRMS CreditAttribution: James-TRMS commentedYes #6 would be very useful on a by instance basis
Comment #9
mrf CreditAttribution: mrf commentedI am postponing any 6.x feature requests that don't have a current applicable patch to help sort the large list of open features.
Please feel free to set to 'needs review' once a patch is included.
Comment #10
noahlively CreditAttribution: noahlively commentedI've patched this against the 7.x tree. Basically I've added 2 checkboxes on the admin settings form. One to enable/disable messages at user login, the other to do the same on the user's account page.