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

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -