Search the Community
Showing results for tags 'controller'.
-
On my custom module, I've a custom admin controller with a tpl, anyone knows how I can use bootstrap on that controller?
- 3 replies
-
- module
- controller
-
(and 2 more)
Tagged with:
-
Hello, I would like to know how to update the view in the backoffice using a controller from a module. I have made this controller and view, code is below: AdminModlistController.php in customizeproducts/controllers/admin <?php class AdminModlistController extends ModuleAdminController { pub...
- 6 replies
-
- back-office
- module
-
(and 2 more)
Tagged with:
-
Hi, I have a module which displays table in DisplayAdminProductsExtra hook, and there are links to another controller extending ModuleAdminController. Controller is in my_module/controllers/admin/ link is: index.php?controller=AdminDetailSpecificationTables It didn't work for first t...
- 5 replies
-
- ModuleAdminController
- controller
-
(and 3 more)
Tagged with:
-
Hello everyone ! As my pseudo say, i'm a junior developer and i have some issues with a module i'm creating. When i install my module, and click on the configure button, i have an error : "the controller is missing or invalid". I don't understand why because it's in the right f...
- 1 reply
-
- admincontroller
- controller
-
(and 1 more)
Tagged with:
-
I am working on a Prestashop 1.7 and need to add a new field to combinations tab in back-office product details page . I was successful in adding the field to twig file and saving the data to product table ( via product class override ). Now I need to show the saved value in the said field in comb...
- 1 reply
-
- backoffice
- controller
-
(and 4 more)
Tagged with:
-
hi i am new to prestashop. iam using firetech module. i need to create category access nav bar on product.tpl file. can anyone help me to how to called all the categories on there.
-
- controller
- category
-
(and 1 more)
Tagged with:
-
Hi community members. I was trying to override a listing controller from this path `controllers/front/listing/CategoryController.php`. As you all know you just need to copy and paste this file with the relative path into your custom module like this `modules/mymodule/override/controllers/f...
- 1 reply
-
- controller
- listing
-
(and 3 more)
Tagged with:
-
Hello, I'm trying to modify the layout of the frontpage and have for example two columns (hooks) inside the main container where I could attach modules. On the footer or the header it's easy because there are .tpl files (footer.tpl, product.tpl,...) I can edit and change the layout with bo...
- 5 replies
-
- displayhome
- hooks
-
(and 7 more)
Tagged with:
-
PS version (1.7.5.2) Need to override (extend) ProductController with new custom controller. PrestaShopBundle\Controller\Admin\ProductController extended (custom) controller path : modules/my_module/Controller/ service.yml path : module/my_module/config/services.yml...
- 5 replies
-
- 1
-
-
- controller
- overriding
-
(and 3 more)
Tagged with:
-
I want to modify the list of product displayed in the back-office of Prestashop 1.7, And at some point i want to remove some product from displayed based on condition. So i thought that i should Override the AdminProductController (older controller) but i found that this controller has been moved...
- 4 replies
-
- override
- controller
-
(and 1 more)
Tagged with:
-
Hi friends, First thanks to all fot the help you gave me. Im not a programmer, only kind of advanced user. I have a shop who some of the products have references like "s-01" or "T-01" this is with a "minus" character in the middle. This searches works well on back office, but in fron office...
- 22 replies
-
Hi, I overrided Product class, added a new attribute and overrided getproducts function from cart class. I need this attribute in cart-detailed-product-line.tpl. I tried to access it with {$product.my_attribute} but it doesn't work. And when I try {var_dump($product)} I can see my attribute, h...
- 11 replies
-
- class
- controller
- (and 6 more)
-
I want to make the Cart accept only one product in a way that: when i add a product to the cart it erase the old one and put the new product in place , I actually found some content on this topic, But it's so old, And they give a solution that display an error in the front office if a user...
- 2 replies
-
- cartcontroller
- controller
-
(and 3 more)
Tagged with:
-
Symfony Controller toolbarButtons add selector (id,class)
ZiedDams posted a topic in Core developers
i have created a symfony controller and i added a button in the toolbar , my problem is i want to add attribute like id or class to this button any help ? this is the button -
Hi I am looking for a way to access product features from a custom module controller. Can anyone offer some guidance on which function I need to use, or how to go about doing this? Thanks, Etienne
-
Hi guys, I'm trying to create an Admin Controller with a csv file uploader to process it like an array. I can't find an efficient way to do it, I tried to use $this-> fields_form, but nothing is showing up. Then I did a tpl file with an input file, called in initContent,...
- 11 replies
-
- controller
- upload
-
(and 2 more)
Tagged with:
-
Hello can i please can anyone help me with clear example of a working custom route to a controller in a custom module? the tutorial on that is quite unclear an i am still unable to create a working route to a controller in the module i am building. Thanks.
- 5 replies
-
- 1
-
-
- payment module
- custom routes
-
(and 2 more)
Tagged with:
-
Hi, I changed the main url working style a bit for my website. Normally, the prestashop link should look like this: mywebsite.com/en/catalog/... But, I installed the prestashop on a subfolder of my website. So it looked like this: mywebsite.com/shop/en/catalog... "shop" here is t...
- 3 replies
-
- pagenotfound
- controller
-
(and 3 more)
Tagged with:
-
Hello I need help, I'm in trouble. I'm using the DisplayCarrierExtraContent hook. The extra content is a select option. I want to save the value to the DB. I'm trying to use ajax and controllers. I'm not very experienced and although I'm reading from different forums, I can't figure...