Nishith Nesdiya Posted June 21, 2013 Share Posted June 21, 2013 hi friends, when i creating a one form in tpl my custom modules like as.. <form action="{$link->getPageLink('myexample, true)}" method="post" enctype="multipart/form-data" id="get-contact"> <fieldset> <label for="name">{l s='Name'} <sup>*</sup></label><br /> <input type="text" class="text" id="name" name="name" value="" /><br /> ............... ............... and i also creating front controller like as.. class MyExampleControllerCore extends FrontController { public $ssl = true; public $php_self = 'myexample'; public function postProcess() { if (Tools::isSubmit('submitGetContact')) { $name = Tools::getValue('name'); $email = Tools::getValue('email'); $subject = Tools::getValue('subject'); $message = Tools::getValue('message'); ............... .............. when i submit the form then it will give page not found error so how can i solve the this problems... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now