Timeline for How can I get my controller to update a block via Ajax?
Current License: CC BY-SA 4.0
20 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Jun 27, 2018 at 8:51 | history | bounty ended | Liam McArthur | ||
S Jun 27, 2018 at 8:51 | history | notice removed | Liam McArthur | ||
Jun 27, 2018 at 5:02 | answer | added | Chirag Rajput | timeline score: 3 | |
Jun 27, 2018 at 0:44 | answer | added | OddBrew | timeline score: 0 | |
Jun 26, 2018 at 14:46 | history | edited | Liam McArthur | CC BY-SA 4.0 |
deleted 161 characters in body
|
Jun 26, 2018 at 14:40 | history | edited | Liam McArthur | CC BY-SA 4.0 |
more information
|
Jun 25, 2018 at 11:12 | answer | added | elfling | timeline score: 0 | |
Jun 25, 2018 at 11:03 | history | edited | Liam McArthur | CC BY-SA 4.0 |
added 112 characters in body
|
Jun 25, 2018 at 10:59 | comment | added | Liam McArthur |
init.phtml is initially being loaded, but the controller isn't loading ajax.phtml onto the page. I believe the problem is something to do with my controller or the layout file.
|
|
Jun 25, 2018 at 10:58 | comment | added | Piyush | Are you sure your controller is generating the html? | |
S Jun 25, 2018 at 10:44 | history | bounty started | Liam McArthur | ||
S Jun 25, 2018 at 10:44 | history | notice added | Liam McArthur | Authoritative reference needed | |
Jun 25, 2018 at 10:43 | history | edited | Liam McArthur | CC BY-SA 4.0 |
added 111 characters in body
|
Jun 21, 2018 at 14:57 | history | edited | Liam McArthur | CC BY-SA 4.0 |
edited title
|
Jun 21, 2018 at 14:20 | comment | added | Liam McArthur |
Unfortunately, that's not helping either. The controller is definitely working. What I've worked out is that it's not loading the view onto the page. If I change the content of the ajaxAction() function to echo "test"; and navigate to /finance/ajax/ajax I can see the data.
|
|
Jun 21, 2018 at 12:48 | comment | added | Sukumar Gorai | Can you try this: stackoverflow.com/questions/23322172/… | |
Jun 21, 2018 at 12:45 | comment | added | Liam McArthur |
There's nothing in the console other than {"outputHtml":""} .
|
|
Jun 21, 2018 at 12:44 | history | edited | Liam McArthur | CC BY-SA 4.0 |
edited title
|
Jun 21, 2018 at 12:44 | comment | added | Sukumar Gorai | Check your console for errors | |
Jun 21, 2018 at 12:42 | history | asked | Liam McArthur | CC BY-SA 4.0 |