Jump to content

Search the Community

Showing results for tags 'frontcontroller'.

  • Search By Tags

    • frontcontroller ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


  1. 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...
  2. //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. 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')) {...
  4. 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...
  5. 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.
  6. 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...
  7. 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...
  8. Hello, I'm developing a module where I need to submit a request to my custom front controller. Basically, I need the FrontController to create new orders on the website, so I have my own class that checks the data received from an external source and, if eveything is fine, goes on with the proc...
  9. hello, i'm using prestashop 1.7.6.2 and facing some problem in this version. when my customer online pay to me for products issue occurred : issue 1 : after payment successfull cart are empty and customer session out or logout automatically. (order not created) issue 2: after complet...
  10. 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...
  11. 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.
  12. 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...
  13. 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...
  14. 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:...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...
  21. Hi! I am trying to create a custom page in front office via custom module. Here is a minimal example: mk_formpage/ ├── mk_formpage.php ├── controllers/ │ └── front │ └── display.php └── views/ └── templates └── front └── display.tpl > display.php: <?php cl...
  22. 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...
  23. 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...
  24. 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...
  25. 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...
×
×
  • Create New...