When submitting a form such as node/add/story (or any other form where you would normally get a message after submisison) no message confirmation is displayed. I can't work out whether this is by design or a bug, as I've watched a video that shows the confirmations appearing but wonder if that might be an earlier version of the module. Video is here: http://citris-uc.org/files/bdug/popups_api_demo_dec_2008.swf
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | popups_1052060.patch | 806 bytes | drewish |
| #8 | popupsapi_no_messages-1052060-2.patch | 839 bytes | timhsieh |
| #7 | popups.module.patch | 1.08 KB | colemanw |
Comments
Comment #1
lordg commentedI have the same issue and can't understand why! Can anyone assist us?
UPDATE: I am running Open Atrium if that helps. I also left the popup on default settings, with "Automatically close final confirmation messages." unchecked. The class attribute I am using is "popups".
Thanks,
G
Comment #2
lordg commentedI managed to track this down to be related to the theme. I changed the following code:
to
However, popups doesn't seem effective on managing where the messages should go. Technically it should have a jQuery selector that it can then insert the messages into on load. Same as the content loader.
Comment #3
lordg commentedI know one shouldn't modify the code but I had no alternative. Probably this should be made into a patch, but I don't know how to do that yet. :(
Comment #4
lordg commentedI also modified the js file to control where the messages go.
Was:
Now
I obviously made sure that my theme had the #messages tag all the time.
Comment #5
colemanw commentedSame issue here. It would be great to get a patch for this.
Perhaps also add an option in the admin page of this module to input the jquery selector for site messages?
Comment #6
makt commentedAre there any updates for this issue? I am having the same problem. When I was testing this on my local server everything was working but now that the site is live the confirmation messages are not displaying. I even tried changing the module and js files as described above, but no luck.
Does anyone have an updated solution?
Comment #7
colemanw commentedHere is a patch against 2.0-beta0 which fixes the problem for my site.
Comment #8
timhsieh commented#2 did fix the issue for me (the message from form_set_error in a validate handler was not being displayed.)
The patch in #7 did not apply for me, but I applied the change manually and rolled this one.
Comment #9
drewish commentedHumm... we should put a comment explaining why we're calling theme('status_messages') early on.
Comment #10
drewish commented#1168630: Error messages are not displayed in pop-up if form validation fails looks like a duplicate of this.
Comment #11
drewish commentedMarked #415552: Form submission errors not displayed in popup - Jquery Update 2x compatibility as a duplicate.
Re-rolled with a comment.
Comment #12
sin commentedThe patch works. Thanks!
Comment #13
acrollet commentedworks for me, thanks!
Comment #14
lasconic commentedWorks here too. Thank you.
Comment #15
astutonetThe patch in #11 doesn't work for me. If I have a webform, for example, when the user submits the data, the loading image is in a loop eternal and don't have confirmation message displayed.
The form, however, is sent.
Someone can help us?
Thanks.
Comment #16
Jenechka commentedWorks for me too.