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

seutje’s picture

this 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

marcoka’s picture

tested it with project/admin,
does not show up any overlay. all message standard output is gone but no overlay.

mohammed j. razem’s picture

Status: Active » Fixed

New release fixed overriding better_messages.tpl.php and introduces better_messages.css instead of default.css

peter törnstrand’s picture

Error messages from Filefield/Imagefield not showing using project/admin.

mohammed j. razem’s picture

Please open a new issue for this.

Does it happen only with admin module

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.