Closed (fixed)
Project:
Asaf (ajax submit for any form)
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 May 2014 at 16:20 UTC
Updated:
20 Feb 2017 at 01:17 UTC
Jump to comment: Most recent
Comments
Comment #1
taldy commentedHello apmsooner,
You should try something like this:
I can't run and test it now because I'm writing from my phone, but this code should work :)
Comment #2
apmsooner commentedThanks so much for the reply. I modified my code and cleared the cache however.... still redirecting. I'd sure appreciate a followup with code that will work when you get a chance.Would help if i put the code in the right template! Your code works great. Thank you so much!
Comment #3
apmsooner commentedComment #4
W.M. commentedIs the information here (at comment #1) still valid?
I am trying to use the hook under omega and tej themes but failing.
I basically need to refresh a view inside one page at my site after submitting a node add form using ASAF. The add node form and the view are both on same page. I want to update the view without the need to reload the page after Ajax form submit. I think ajax commands is the way to go.
Any help would be highly appreciated.
Comment #5
apmsooner commentedI provided complete example here: https://www.drupal.org/node/2301041
Try with that code and see if it helps
Comment #6
candelas commentedThanks @taldy your example still works :)