Posts Tagged: Controllers
-
Mar 30, 2010
No CommentsRedirect to some other location from Model or Observer in Magento
Redirection in Magento’s controller is simple. You just need to call a _redirect() or _forward() function and provide appropriate router/controller/action parameter. But if you want to redirect to some other page from Model or from Observer, then this can be tricky. Lets take an example, for explaining what I am referring to, Suppose you are...
-
Nov 17, 2009
24 CommentsWorking with AJAX in Magento
Ajax in Magento can be pretty troublesome.Because you will need to take controllers and layout into account.And I almost used up a whole day trying to make ajax work. Here are some of the steps I’d like to share so that you will not waste lots of your time, before making this work . Let’s...