Search the Community
Showing results for tags 'frontcontroller'.
-
Hello , i have a custom module with front controller , its tpl file includes a hook as below : {block name='faq'} {hook h='DisplayFaqWrapper' mod='PsCustom'} {/block} Below , is my hook , I used to manage cache but it doesnt work : <?php namespace PrestaShop\Module\PsCust...
- 8 replies
-
- cache
- frontcontroller
-
(and 1 more)
Tagged with:
-
//This is my smarty template file i.e list.tpl {* {include file='layouts/layout-full-width.tpl'} *} {extends file='page.tpl'} {block name='page_header_container'} <h1> {l s='Comments on product' mod='mymodcomments'} "{$product->name}" </h1> {/block} {block name='page_content'} <div class="rt...
- 3 replies
-
- frontcontroller
- error
- (and 4 more)
-
Hello, I was coding my custom listing products in a front controller, i got stack in the sort function this code is from my controller : public function postProcess() { $this->setAuctionOrder(); $this->setAuctionsData(); if (Tools::isSubmit('from-xhr')) {...
- 2 replies
-
- frontcontroller
- products
- (and 4 more)
-
Hello guys i have a question and you all might help me. I need in my store (prestashop 1.6.1.19) add a button in my account menu (already done) in front (client-side) so when the client click in that button, my store will generate a csv file with all products with prices and son on... like t...
- 4 replies
-
- export
- frontcontroller
-
(and 2 more)
Tagged with:
-
Hi, i created a FrontController and im handling my ajax requests inside of it. in some case i need to redirect the user to the login page base on the ajax requests data. im using to redirect but it return the page content to the js success function . here my code and thank you.
- 1 reply
-
- frontcontroller
- loginpage
-
(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:
-
Hi guys... Like the title says, My module front controller produces a 404, even though the SEO URL has been set in B.O... I built the module on localhost (xampp) using a full copy of the production site (prestashop 1.6.0.8).. everything works great on the local setup, install & un-install w...
- 2 replies
-
- module
- frontcontroller
-
(and 2 more)
Tagged with:
-
Bonjour, Sur mon site je cherche à créer une nouvelle page ou je ne présenterai que les produits allant de 0 à 100 euros J'ai crée un controller qui étend Front controller public function initContent() { parent::initContent(); $products = Product::getProdu...
- 4 replies
-
- 1.7
- page personnalisé
-
(and 3 more)
Tagged with:
-
i want to change the this grid view into data table view.now i am override a categoryController.but i dont know how to change view with all product details.please someone help me.
-
- category
- controller
-
(and 2 more)
Tagged with:
-
Hello I have a prestashop version 1.6.0.6 after I mode backup website doesn't work http://suplegsm.com the white page is displayed. In log is PHP Fatal error: Class 'Meta' not found in /home/suplegsm/domains/suplegsm.com/public_html/classes/controller/FrontController.php on line 286...
-
Salut , j'ai developpé un module et l'installé sur une version prestashop native , j'ai fait une url simplifiée pour le controlleur front ça marche bien . quand j'ai basuclé le module sur un serveur ; j'ai fait la même mannipulation il affiche l'erreur suivante : en local j'ai pa...
-
No me deja acceder a varias opciones del back end
kbult posted a topic in Informes de Bugs (errores)
Hola, a ver si alguien me puede ayudar Me salen varios errores tanto en el back end como en el frontpage, en el primero es el siguiente: (uso prestashop 1.7.4.4) Warning: SessionHandler::read(): open(/opt/remi/php56/root/var/lib/php/session/sess_prdud2fcfft80eljl0voush2l0, O_RDWR) failed:...-
- posspecialproducts
- frontcontroller
-
(and 2 more)
Tagged with:
-
I am building an api for my PrestaShop module using a module FrontController. class mymoduleModuleFrontController extends ModuleFrontController { public function init() { echo "Hello world"; } } The controller runs fine under mydomain.com/index.php?fc=module&module=mymodul...
- 2 replies
-
- redirect
- frontcontroller
-
(and 1 more)
Tagged with:
-
I try to display the data of a single product (selection by its id 32) on my homepage. I already managed to display the title and the short description via the FrontController: Public static function getProductName ($ id) { $ langID = Context :: getContext () -> language-> id; $ product = new Prod...
-
I want to add a hook into the FrontController (classes\controller\FrontController.php) (or anywhere else if you have a better idea), and then run some custom code. However if i ever update prestashop, this will be removed right? So is there anyway to prevent this? like overriding the frontController...
- 5 replies
-
- hook
- custom code
-
(and 1 more)
Tagged with:
-
I am getting the following error and I don't know how to fix it - can anyone help me? ContextErrorException in FrontController.php line 913:Warning: Cannot modify header information - headers already sent by (output started at /home2/vintagn1/public_html/woodlandcottageco/index.php:6)in FrontCon...
- 2 replies
-
- contexterrorexception
- index
-
(and 1 more)
Tagged with:
-
Zdravím, našel jsem v logu chybu: Je v logu zapsaná 82x za poslední měsíc. Chápu dobře, že jsme tímto ztratili zákazníka? Dočetl jsem se, že to může způsobovat obnovení stránky s objednávkou, nebo refresh košíku. Zkusil jsem tyto stavy simulovat, ale chyba se nezapsala. Co může ch...
-
Bonjour tout le monde, je cherche a rediriger sur un 404 si un utilisateur veux utiliser mon module et qu'il n'est pas identifié. ce que je fais : <?php class my_import_cartGenerateModuleFrontController extends ModuleFrontController { public $content_only = false; public $display_header = t...
- 1 reply
-
- module
- frontController
-
(and 1 more)
Tagged with:
-
Hello, I have created a module named gestionfournisseur. I need to modify some part of frontend view in this module. For this, I had created two file: 1 - gestionfournisseur/controllers/front/display.php: this file content my controller logic and herit ModuleFrontController <?php class gesti...
- 3 replies
-
- frontController
- prestashop1.7
-
(and 2 more)
Tagged with:
-
Hi. We have a problem with our webshop. Suddenly the site stopped working and the Fatal error appeared. We use Prestashop 1.4. We had a backup rolled out yesterday and the site worked fine. And then this morning it appeared blank again. We cannot get into the backend either. I tried...
- 5 replies
-
- IndexController
- Fatal error
-
(and 1 more)
Tagged with:
-
Hai I am trying to create a controller file. my controller code is <?php class TestController extends FrontController { public function init() { parent::init(); } public function getPrice() { {some query} } } ?> when i access this controller, i...
-
Hi, I'm using Prestashop 1.6 and am trying to create a custom module with custom frontcontroller. I was able to dig around the forum to get it working, however I can't figure out how to create a friendly URL. Currently I have to use this format to access my controller index.php?fc=module&modul...
- 9 replies
-
- frontcontroller
- module
-
(and 2 more)
Tagged with: