Search the Community
Showing results for tags 'Helper'.
-
Dummy question but I cannot seem to find a straightforward answer. I am building a form using the HelperForm class and I want to pass a hidden field with it for which I use: array( 'type' => 'hidden', 'value' => 43, 'name' => 'id_product' ), ) ); Where value seems to i...
-
Hello all, I'm struggling with the validation of a configuration form for a custom module, I'm trying to keep the code as neat as possible. I use the helperform class to generate the form, I added the required => true, but a novalidate attribute on the <form> make it useless (apart from disp...
-
Hello, Is there any chance to get a helper for creating a nice AJAX searching product input with combinations? Something like in product edit and submitting accesories for products or when in creating new order from back office - there is nice field to search for products with combinations. Can...
- 2 replies
-
- ajax
- prestashop
-
(and 6 more)
Tagged with:
-
Hello community, I am developing a module and I need use helperList in public function getContent (responsible for module configuration page) but I have a problem. I menaged to generate the table with content and sorting headers that I want but I can't use filtering options which is pretty essenti...
- 2 replies
-
- helperList
- helper
-
(and 2 more)
Tagged with:
-
Hello, I don't manage to display a form within the HelperForm generator in a module i'm currently coding This module adds a new tab when editing a Product in the backoffice. This tab is supposed to help generating combinations for my products in an easier way: those products are restaurants...
-
Hello, I am trying to add a view to my back office module page but i cannot display anything with the renderview() function. I can already display my list with renderList() and it's working well. I also tried renderForm() and it works well too but it seem i can't get renderView() to display somethi...
- 8 replies
-
- renderview
- helper
-
(and 1 more)
Tagged with:
-
Hello, I am using the new form-field helpers in the front office in part of my checkout steps. Version 1.7.3.0. I have found that I can add these by creating arrays that I pass to smarty. $this->context->smarty->assign('fflexpiration',array( 'name' => 'fflexpiration', '...
-
- form-field
- helper
-
(and 2 more)
Tagged with:
-
Hello, I think I found the answer to this in the past but I am not able to find the answer now. I am developing a module and I am using the helper class for the settings. What I want is to show a message box like this -> the info box(blue one) before the form and it will be constant...
-
Hi, I've written many little modules, which uses custom tables - also joined to "officeal" ones - to list/sort data. My current problem is: - have a module - need more controllers, to list different tables Happening: - when first call the custom controller, it lists the rows correctly...
-
- custom module
- database
-
(and 3 more)
Tagged with:
-
Lets say my category tree is like this: ├Men | ├ Shirts | └ Pants └Women ├ Dresses └ Tops In AdminProductController's default view (listing products), I'd like to customize the category tree helper (above the list, at the top of the page) in order to achieve such a behaviour: Only show...
-
Bonjour, Je voudrais ajouter un champs 'En solde' dans la liste des produits en admin products, le champs s'affiche bien, mon problème est le filtrage me retourne une erreur 'ambiguious field on_sale', malgré j'ai bien spécifié l'alias $this->_select .= 'sa.`on_sale`'; $this->fields_list['on...
-
- field list
- helper
-
(and 1 more)
Tagged with:
-
Hello, long time solves the problem through HelperForm checkbox. They need to retrieve the category checkbox, set the following values checkbox and send those values. I get an array of categories from the following command: $cats = Category::getCategories((int) ($cookie->id_lang), true, fa...
-
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:
-
Bonjour, Je développe un module sur Prestashop 1.6, dans le BO je dois enregistrer des images. J'utilise un renderForm classique avant un champ file qui fonctionne parfaitement. Cependant j'ai vu sur le module Homeslider (module de base de prestashop), que quand on revenait sur le formulaire...
- 2 replies
-
- module
- homeslider
-
(and 3 more)
Tagged with:
-
Hi All , Can anyone tell me how can we use helper in prestashop module? I want to display form fields with the help of the helper. Please help me out I need to implement this urgently. Thanks in advance
- 1 reply
-
- helper
- prestashop
-
(and 1 more)
Tagged with:
-
Hello everybody, I try hard to preselect a radiobutton or a select element in my form. My form looks ok and does well, but i want to add a bunch of radiobutton or a select and non work. array( 'type' => 'radio', 'label' => 'Deactivate...
-
- helper
- field_values
-
(and 2 more)
Tagged with:
-
Hi all. I need some help or inspiration. I´m making a module for my boss. We want to modify the prices depeding on the destination of the order. For the module I´m using some tabs, and into the tab class I´m using the next code to declare the form to pass the data directly to database: pub...
- 3 replies
-
- admincontroller
- moduleadmincontroller
-
(and 5 more)
Tagged with:
-
Hi, How do I add javascript event calls to the input fields in Helper form? I've tried adding 'onchange' => 'function()', but this doesn't seem to render. Is there another way to check events on input fields ? for instance, I'd like to check the checked value of a switch fields, and perfor...
-
Hello, I am developing a module for which I would like to associate the help icon (in the toolbar) to my own help page. I have checked the documentation and the section about HelperHelpAccess does not exist yet. Did someone know how to do that? Any help would be appreciated. Thx!
-
Błąd PA: undefined method Helper::renderShopList
selljus.pl posted a question in Wsparcie i pomoc użytkowników
Pojawił się problem, z którym nie mogę sobie poradzić od jakiegoś czasu, być może jest to kwestia związana z serwerem, ponieważ na localhost wszystko jest ok. Po zalogowaniu do zaplecze sklepu wyrzucany jest błąd: Fatal error: Call to undefined method Helper::renderShopList() in /home/users/... -
Hi, i'm new in prestashop, i'm from Cuba so sorry for my english. The fact is that i want to use the HelperList class in configuration page of a developed module , i have the next code in getContent function, the list is rendered but records of db table i want to show are not. public functio...