Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The log in works and I am successfully logged in but the modal window does not go away and I am not directed to any page. If you close the window then it is like you are not logged in but if you click refresh then it shows you are logged in.
Any advice/help?
Comment | File | Size | Author |
---|---|---|---|
#12 | ajax_register-close-modal-dialog_2039385-1.patch | 365 bytes | PhilY |
Comments
Comment #1
xado CreditAttribution: xado commentedsame here
any help & advice would be appreciated
Comment #2
vip_sa CreditAttribution: vip_sa commentedIs this module still being maintained or should we remove it from our systems?
Comment #3
W.M. CreditAttribution: W.M. commentedsame here .. the window remains open with no re-direction
Comment #4
vip_sa CreditAttribution: vip_sa commentedUse the latest dev version that worked for me
Comment #5
hitendra52 CreditAttribution: hitendra52 commentedI also have the same problem. what are fixes in dev verson? And, does it really work?
Comment #6
stevenx CreditAttribution: stevenx commentedSeems to work. But you have to choose the right jQuery version which seems to be 1.7.2
Comment #7
diegoj86 CreditAttribution: diegoj86 commentedSame here, I'm trying to fix it but I'm not an expert. So far I was able to add the missing CTools JS library:
Last line in _ajax_register_include_modal:
ctools_add_js('ajax-responder', 'ajax_responder');
And replace all
return array('#type' => 'ajax', '#commands' => $commands);
byAs suggested here: https://www.drupal.org/node/2030561#comment-7606451
Any ideas?
Comment #8
gduzanski CreditAttribution: gduzanski commentedI have same problem. Even /user form after login does not refresh. I tried to debug and found Ajax error ajax_responder was missing. After adding it error in firebug disappeared but none of the options (refresh, default etc) work. Also tried changing jquery update and testing with different versions but no success. Please let me know if you have a solution.
Comment #9
PhilYHere is how I fixed it with 7.x-4.0-rc15 release:
In
ajax_register.module
file, addctools_add_js('ajax-responder');
at the end of_ajax_register_include_modal()
function so the file ends like this:Be warned that adding
ctools_add_js('ajax-responder', 'ajax_responder');
as indicated in comment #7 triggers a JS error because the file http://yoursite/js/ajax-responder.js can't be found. So only addctools_add_js('ajax-responder');
and it will use the file provided by cTools module.Sounds complicated to read but easy to do: only the last line of the above code was added ;-)
Comment #10
boanergetz CreditAttribution: boanergetz commentedI also have the same issue is any body can share the solution of this problem
Comment #11
PhilYIn my comment #9, I forgot to attach the patch... here it is (for ajax_register 7.x-4.0-rc15)
Comment #12
PhilYSorry, patch is good but filename is misspelled.