Getting the controller for a form in magento -
i have action defined in form.phtml (environment magento).
form action="geturl('contacts/index/post')
now need know controller getting called can values in backend.
that pretty straight forward. first word contacts
front-name in magento standards module name. second word index
controller file name , last word post
action of controller.
because thats core controller, can find file under /app/code/core/mage/contacts/controllers/indexcontroller.php
look @ postaction()
function.
Comments
Post a Comment