Search the Community
Showing results for tags 'renderform'.
-
Hi, I have done a form to add information for my module, but know, i don't know how i can't differentiate between add form and edit form. Someone can help me? And how i can get data to fill the form in the edit mode? Thanks everyone for the help!
- 3 replies
-
- ModuleAdminController
- php
-
(and 2 more)
Tagged with:
-
Hi all, I created a class for my module which uses helper form to edit a record in my table. AdminBlockQuoteController My SQL query successfully loads the data to the list. But when I select to edit a record, it loads the form, but with no data. When I debug using smarty console, my...
- 2 replies
-
- helper form
- data
-
(and 4 more)
Tagged with:
-
Hi all, I'm facing a problem with the HelperForm and an input of password type: I'm developing a module for PrestaShop 1.6 with Bootstrap support and in my renderForm() method I declare my form fields like this: $fields_form[0]['form'] = array( 'legend' => array( 'title' => $this...
- 5 replies
-
- helperform
- password
-
(and 3 more)
Tagged with:
-
make query inside helper class and show options
prestashop_newuser posted a topic in Core developers
Hi, I am doing a small module in prestashop. In that module I want to show all the product category in the checkbox type. Lets say in the default prestashop installation(1.6) we have 3 main categories ( 1. Casual Dresses 2. Evening Dresses 3. Summer Dresses ) Now I want them in a tree...- 1 reply
-
- helperclass
- renderform
-
(and 2 more)
Tagged with:
-
Hi, Prestashop 1.5.x recommends using AdminController::renderForm() for rendering. There is a path of the classes cooperation: AdminController::renderForm() -> HelperForm::generateForm() -> HelperForm::generate() -> Hepler::generate() and Helper::createTemplate() public function renderF...
- 3 replies
-
- Helper::createTemplate()
- generate
- (and 3 more)
-
Bonjour je crée actuellement un module perso administrable en back. j'ai créé le controller étendu de ModuleAdminController. j'utilise la méthode renderForm() pour gérer le formulaire d'ajout/modification des éléments : public function renderForm(){ $this->fields_form = array( 'legend'...
-
- adminController
- module
- (and 5 more)