Hello,

We are having trouble having better messages work for both our theme and Garland.

The message gets output to the bottom of the page instead of its usual position at the top with Better Messages module off so the module is at least doing something. We double checked the permissions to make sure they were set correctly. We are using jQuery update module by the way to go to jQuery 1.4 if that might have anything to do with it.

1.

doesn't show up anywhere in the source although that's what the better_messages template shows it should output (the message is in the regular
div)
2. I checked with inspect element in Chrome and I couldn't see better_messages.js being loaded (although I don't know if it is correct behavior for it to show up).
3. I don't know if this error shows up because this is the wrong procedure but I tried loading better_messages.js manually in our theme and it showed up in the inspector this time with an error and also broke the javascript on the rest of the page:
better_messages.js:9Uncaught TypeError: Cannot read property 'jquery_ui' of undefined

Some other things we tried:

1. Tried stable and dev version
2. Tried 1.7 and 1.6 of jQuery UI although we didn't have the jQuery UI option enabled
3. Tried disabling jquery update module to use jquery 1.2 but that didn't do anything either

Are there any insights as to why this could be happening or if we are missing anything to try?

Any help would be really appreciated! Thank you

Comments

claytical’s picture

I'm getting this same behavior too. I'm wondering if there's another module interfering with it. Basically, the javascript never loads. If I put it in manually, I get an error about not being able to read the jquery_ui property.

I have it working on a site with the clean theme and if I switch to the Garland theme it works as well. However, on the site using Zen, Rubik, and Garland, none of them work.

claytical’s picture

In my case it was a conflicting module. Pretty obvious, Message Alter. It adds in a hook so you can create custom messages. Disabled it and it runs fine now.

locomo’s picture

Having the same problem (message gets output to the bottom of the page)

I also suspect it is a module conflict but haven't tracked it down yet...I'm not using Message Alter so the problem seems to be wider than this one conflict.

reallyordinary’s picture

I ran into the same thing - turns out it was a conflict with the Disable Messages module. Disabled that and better messages returned to normal.

kpv’s picture

DrupalDan’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

Is there any fix already committed to D7 as to the conflict between the disable messages module?
Thanks

Maks’s picture

I have the same problem, Better Messages 7.x-1.x-dev

peterbkk’s picture

I have the same issue as DrupalDan, does not work with the module disable messages.

ssoulless’s picture

Same issue here the 7.x snapshoot of this module has a lot of problems!!

le72’s picture

Status: Active » Postponed (maintainer needs more info)

Please provide steps to reproduce problem

bhavikshah9’s picture

@ssoulless @peterbkk @Maks @DrupalDan @reallyordinary @locomo
Can anyone please spare some time and provide the steps to reproduce the issue?

bucefal91’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I will close it as "cannot reproduce" as the issue seems rather dead than alive.