Search the Community
Showing results for tags 'addCss'.
-
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(){...
- 5 replies
-
- header
- headerhook
- (and 4 more)
-
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...
-
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...
-
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...
- 1 reply
-
- pagina
- presonalizada
-
(and 2 more)
Tagged with:
-
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...
- 3 replies
-
- deprecated
- addCss
-
(and 2 more)
Tagged with:
-
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...
- 8 replies
-
- productcore
- addjs
-
(and 3 more)
Tagged with: