Search the Community
Showing results for tags 'cotroller'.
-
Hi, I want to extend category controller of a field of type "switch" - [value = 1 or 0] My questions: 1. Can I create new table in database with id, id_category, value, do I have to unconditionally enter additional values to the table ps_category ? 2. If I can make it through another table, how can I save these values using overwriting the controller ?
- 8 replies
-
- controller
- addtodatabase
-
(and 5 more)
Tagged with:
-
Hi, I want to extend category controller of a field of type "switch" - [value = 1 or 0] My questions: 1. Can I create new table in database with id, id_category, value, do I have to unconditionally enter additional values to the table ps_category ? 2. If I can make it through another table, how can I save these values using overwriting the controller ?
- 1 reply
-
- addtodatabase
- database
- (and 4 more)
-
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...