Jump to content

Search the Community

Showing results for tags 'addCss'.

  • Search By Tags

    • addcss ×
    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


Found 8 results

  1. Bonjour, Je suis en train de créer un module sur prestashop 1.7 et je souhaiterais modifier les css du module, côté ADMIN. Dans mon fichier principal .php j'ai fais un hook : public function install() { if (Shop::isFeatureActive()){ Shop::setContext(Shop::CONTEXT_ALL); } if...
  2. Hi guys, I followed step by step this guide about module developing. Hovewer when i try to do addCss ( or JS ) in the hookDisplayHeader, it doesn't show anything in the <head>. <?php if( ! defined( '_PS_VERSION_' ) ) exit; class blockinfo extends Module{ public function __construct(){...
  3. Hi, addCSS and addJS, add the files BEFORE default js and css. That's not useful at all. In fact, it seems a bug. For example: public function hookDisplayBackOfficeHeader($params){ if(!(Tools::getValue('controller') == 'AdminModules' && Tools::getValue('configure') == 'homebanners')){ ret...
  4. Hi! This is my first topic and I have a Internal Server Error 500. I check the log and I found this: The function addCSS (Line 37) is deprecated and will be removed in the next major version. The function addJS (Line 38) is deprecated and will be removed in the next major version. This...
  5. He creado una página nueva y en la funcion serMedia, tengo el siguiente codigo: public function setMedia() { parent::setMedia(); Tools::addCSS(_THEME_CSS_DIR_.'cssPagina.css'); Tools::addJS(_THEME_JS_DIR_.'jsPagina.js'); } Pero cuando en...
  6. Bonjour J'ai eu 2 erreurs dans les logs de mon backoffice hier alors que je n'ai rien modifié de spécial dans mon code : The function addJS (Line 117) is deprecated and will be removed in the next major version. The function addCSS (Line 143) is deprecated and will be removed in the next ma...
  7. I have upgrade Prestashop from 1.5.2 to 1.5.3.1, and no xdebug show me some "Warnings about deprecated Function. Function addCSS() is deprecated in....../modules/blockbestsellers2/blockbestsellers2.php on line 132 in ...../classes/Tools.php on line 1777 So it seems, i found the reason...
  8. Hello Everybody, Just began with PS and having some difficulty with the concept of overriding. I checked in different webs for help but I dont fully understand it. I based my work on this web: http://tycoontalk.fr...script-css.html I read other pages and they spoke about creating a new f...
×
×
  • Create New...