Messages to Block
Categories
Component ID
2018553
Component name
Messages to Block
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
1151
Component created
Component changed
Component body
Allows you to suppress drupal_set_message()'s, at which point they are saved to be displayed and/or dismissed from a block.
Features
Settings for which messages, and which users to affect:
- Ignore User #1's messages.
- Ignore users of certain role(s).
- By message type (status, warning, error).
Configure the output:
- Table view
- List view
Snazzy ajax delete button allows you to clear the history without multiple page loads.
Configuration
All settings are under:
Configuration -> User Interface -> Messages to Block settings
Similar Modules
Comparison of modules around drupal_set_message():
https://groups.drupal.org/node/51088
Why Messages to Block then?
With so many things to configure in Drupal already, I am a huge fan of 0-config. There are some settings to fine tune the behavior; otherwise this works out of the box for most cases just by turning it on.
