Closed (outdated)
Project:
Better Messages
Version:
6.x-1.13
Component:
User interface
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2011 at 18:45 UTC
Updated:
4 Jan 2018 at 13:34 UTC
Jump to comment: Most recent
Comments
Comment #1
YK85 commentedSame problem here. Did you resolve your issue?
Comment #2
houen commentedBump - samme issue. Anyone got a fix? Im using a custom tailored sub-theme of Zen...
Comment #3
amfis commentedNeither do I see messages using my custom theme.
Comment #4
houen commentedBump
Comment #5
nikita petrov commentedOk, i've found the solution, but it required one module's hack:
1. add to you'r theme hook _theme() and paste this:
If you using zen_starter_kit theme like me, you'r _theme function will look like this:
2. Copy and paste function "theme_better_messages" from file "better_messages.module" (line 56) into you'r theme and rename it to youtheme_status_messages (note: yourtheme_STATUS_messages, not "better"!)
3. Instert following line into this function
$_SESSION['better_messages_hack'] = $output;so you you'r function must be like this:
4. In you'r theme's template.php into hook _preprocess_page insert following lines:
5. In you'r page.tpl.php print messages by command
print $messages;6. After all, you must hack file better_messages.module and comment line 53 :
//$theme_registry['status_messages']['function'] = "theme_better_messages";7. Click on "save" button in /admin/build/themes and clear cache.
Enjoy! :)
Comment #6
Sk8erPeter commentedIt's really interesting, I can NOT confirm that. I'm also using Better Messages 6.x-1.13 with an own subtheme of Zen theme, but everything seems to work!
Didn't you forget to set the correct permissions? They should be set like I wrote here.
Comment #7
hunteryxx commentedI was stuck for a while. The solution is to make sure your page.tpl.php includes
print $closure;Comment #8
chinita7 commentedMy template file has
print $closure;but it still doesn't work and the messages are displayed at the bottom of the page (not popped up).Comment #9
bucefal91 commentedThe version 6.x is no longer supported.