Closed (fixed)
Project:
Better Messages
Version:
6.x-1.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2009 at 16:45 UTC
Updated:
14 Apr 2010 at 17:00 UTC
Fresh install of drupal with the theme "basic" http://drupal.org/project/basic.
Turned on the module. It works but the css file isn't loaded.
I noticed the theme had a style sheet called default.css so there is some kind of conflict.
Renaming skins/default/default.css to another name fixed it.
The way the module scans the directory it seems to be fine.
Hopefully this helps anyone who might run into the same problem.
Comments
Comment #1
seutje commentedthis is actually a feature in core, and since theme overrides everything else (can't find the original issue or the commit, but this is related -> #189568: Overriding module CSS with theme CSS), it's up to the modules to use proper names on their css files, not themes
most modules actually use their own modulename for the css file, and lots of themes use default.css
I propose changing it to better_messages.css, but no clue how to do that with a .patch
also, I noticed a typo, but I'll open another issue for that -> #546228: typo in preprocess definition
I don't rly understand why this module sniffs folders for css files, since they can easily be added by the theme, but that's well outside the scope of this issue
Comment #2
marcoka commentedtested it with project/admin,
does not show up any overlay. all message standard output is gone but no overlay.
Comment #3
mohammed j. razemNew release fixed overriding
better_messages.tpl.phpand introducesbetter_messages.cssinstead of default.cssComment #4
peter törnstrand commentedError messages from Filefield/Imagefield not showing using project/admin.
Comment #5
mohammed j. razemPlease open a new issue for this.
Does it happen only with admin module