Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
    Sébastien Monterisi
    Another question : is it possible for a module to override files in /pdf folder ? (not asking to override in the theme but with a module).
    Sébastien Monterisi
    (answer is No).
    Sébastien Monterisi
    Is there a cleaner way to write this (in hookDisplayHeader()) :
    $this->context->controller->registerStylesheet($this->name, "modules/{$this->name}/views/css/vueseclatees.css", ['media' =>'all']);
    (the hardcoded "modules" could lead to problem)
    If you look in native module, you can see
    $this->context->controller->registerStylesheet('modules-homeslider', 'modules/'.$this->name.'/css/homeslider.css', ['media' => 'all', 'priority' => 150]);
    The first argument is important because it's an id so it must be unique.
    So I suggest to you to use $this->context->controller->registerStylesheet("modules-{$this->name}-vueseclatees", "modules/{$this->name}/views/css/vueseclatees.css", ['media' =>'all']); if you want to include more than one css file
    No problem with use of the hardcoded modulesI think due to StylesheetManager classe
    Sébastien Monterisi
    ok, thanks for advice on id param.

    Hi ,

    How to create the admin custom grid in prestashop 1.6?

    Kevin Padilla

    HI @All,

    Is there a way I could override the template for Category Page in Front Office?



    I need to make PS module which call its functions after getting POST call from other aplication
    What is the easiest approach for that case?

    I've read https://devdocs.prestashop.com/1.7/development/webservice/tutorials/prestashop-webservice-lib/ but it didnt cover my case


    Hi All,

    I need migrate the blog form wordpress to Prestashop.

    Could you please tell, how it do?

    hello, what the pdf='true' tag does in smarty template mean?
    Aloui Mohamed Habib
    For anybody new to Prestashop 1.7 here is a full video courses about the subject:
    Prestashop 1.7 module :
    Prestashop 1.7 theme:
    Pablo Borowicz
    @romanseki that parameter makes the translation system use Translate::getPdfTranslation instead of Translate::getModuleTranslation
    @eternoendless Thank you ;)
    hello, any link to good tutorial how to preperly call ajax front controller in custom module?
    Andrea Maran
    Hi all, i have a problem with Prestahsop, after upgrade the modules page in admin is wrong
    installed and disabled modules is empty, and if i click refresh icon display counters
    if i search module on search i have no results
    and if i try to filter as "installed modules" result is empty
    if i try to install a new module, after installation the module appear as "installable" and if a try to reinstall i receive error "the modules is already installed"
    any idea?
    Robertino Vasilescu
    Maybe if you enable debug true in config/defines.inc.php you would hopefully see some error messages to give you a debugging starting point.
    Andrea Maran
    @Rho-bur debug was true but i dont see any errors :|
    Robertino Vasilescu
    try recursively reset the ownership and permissions for the entire PS root directory; I assume that in Advanced Preferences->Information all shows OK...
    Try to delete xml files in config/xml/ and clear all cache
    FOCQUEU Thomas
    I'm creating a module wich change the group of the customer when he buy a specific product.
    If he is premium, I apply a discount on all of the products of the shop.
    The things is that I don't want to apply discount on my specific product.
    For now, I override the function priceCalculation of the Product class.
    How can I do that without using override ?
    Is there a hook that I can use ?
    Hello, I make module where will be csv import, is there any way to use similar import table like in producs import ? Thanks
    Fabrizio Spanu
    Hi Guys, don' t mean to bother, anyone know how to troubleshoot a 404 error on all site pages?
    i installed a seo url friendly after migrating the shop but it's giving issue and the developer is lost in space :|
    i've enabled debugging but on frontpage can't see
    Mohamed ATATOUSSE
    Hi guys, Do you know how to change the category section of a module in Prestashop Marketplace ?
    Shivam Pandey
    For any custom work in Prestashop store, you can ping me
    hi, i need to be able to process payments via wire transfer and p2p payments, i need to set a form that the client fills with the info i need and then go trough a 2 steps manual verification process before the payment is approved..... any ideas how i can achieve this or if there's a plugin or module a can adapt to do this??
    Hello, is possible in form helper place 2 text inputs next to each other? (instead under each other)