Jump to content

How to call overrider controller from html form


Przemysław Suszek

Recommended Posts

Hi,

 

How can I call the overrider controller from html form like this below:

<form method="post" action="index.php?controller=CmsController"><input name="test" type="text" /><input name="action" value="getStatus" type="hidden" /> <input value="test" type="submit" /> </form>

This code above I have in my tpl file. File: /override/controllers/front/CmsController.php. Of course when I click on the button, then system display message "404".

 

Kind regards

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...