Jump to content

crashbdx

Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Location
    manila
  • Activity
    Freelancer

crashbdx's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thank you very much but did you find a way to override the admin module tpl files ? i dont and i feel bad overriding the classe but modifying the module core tpl... taste wrong to me
  2. Bonjour, impossible de passer l'étape "Configuration du système", j'obtiens l'erreur suivante : Fatal error: Call to a member function fetch() on boolean in G:\WORK\_TEST\Prestashop\prestashop\classes\db\DbPDO.php on line 371 Que puis je faire ? j'utilise easyphp webserver 16.1 en local sur windows 10 Merci d'avance.
  3. Bonjour, impossible de passer l'étape "Configuration du système", j'obtiens l'erreur suivante : Fatal error: Call to a member function fetch() on boolean in G:\WORK\_TEST\Prestashop\prestashop\classes\db\DbPDO.php on line 371 Que puis je faire ? j'utilise easyphp webserver 16.1 en local sur windows 10 Merci d'avance.
  4. Hi, i needs to have 3 differents contact form on 3 differents pages, i been looking for a solutions since hours and still cant make it, im following this option that i found on forum : copy a set of all three files. contact-form.php controllers/ContactController.php themes/YourSiteTheme/contact-form.tpl 2. Rename all of the files to new ones contact-formXXX.php controllers/ContactXXXController.php themes/YourSiteTheme/contact-formXXX.tpl 3. Change related places in controllers/ContactXXXController.php class ContactXXXControllerCore extends FrontController { public function __construct() { $this->php_self = 'contact-formXXX'; $this->ssl = true; parent::__construct(); } .... public function displayContent() { $_POST = array_merge($_POST, $_GET); parent::displayContent(); self::$smarty->display(_PS_THEME_DIR_.'contact-formXXX.tpl'); } } please note above XXX needs to be changed to your own names But when i try acces to http://localhost/presta/index.php?controller=contact-formXXX i got a 404 page not found only ! anyone have an idea what i forgot ??? Thanks in advance.
×
×
  • Create New...