The aproach this module filters the messages removes the possibility to theme to change how to render the messages.
This patch adds a new theme function to get that functionality back in.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1616354.am_.patch | 1.94 KB | jherencia |
Comments
Comment #1
jherencia commentedComment #2
zyxware commented@jherencia - Thanks for this great suggestion. I have applied this to 7.x-1.x as well as 6.x-1.x
Comment #4
miromarchi commentedHi,
I've just installed version 7-x-1.1 of disable_messages and still it removes my theme changes in message rendering.
I'm using kalatheme which is bootstrap3 based.
Should this be fixed or am I missing something?
Thanks
Comment #5
Leeteq commentedIs it possible to build in a way to move the display of messages out of the top of the content and into for example a block where we can use standard visibility settings to decide where it goes and how it appears?
(That means: a way to override the theme message placement...)
Comment #6
apaferal commentedHi,
I have installed version 7-x-1.1 of disable_messages and it also removes the message rendering of the theme of my site.
I'm using Astrum theme.
http://envato.tabvn.com/demo.php?theme=astrum
Any solution?
Comment #7
anoopjohn commentedThe issue is quite old but documenting answers for anybody else running into this.
#4 @miromarchi - You will need to have your theme implement the disable_messages_status_messages theme hook to theme the output
#5 @Leeteq - Yes, you will have to handle this in your theme by properly theming and outputting the messages wherever you want in the theme. That is something that is within the scope of the theme and outside of the scope of the module and the module allows you to do that.
#6 - See 4 above. You will need to implement the theme hook
Comment #8
anoopjohn commentedCleaning up issue queue. Closing issue. Please feel free to reopen or raise a new issue if you need support.