Search the Community
Showing results for tags 'addJS'.
-
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:
-
Bonjour, Quel est mon problème ? Contexte : J'utilise comme base "product-list.tpl" pour lister les produits de ma boutique sur ma page "d'accueil". En fait, j'ai le contenu de "product-list" contenu dans un formulaire, qui si validé, va ajouter au panier tous les produits qui ont un...
- 1 reply
-
- jquery
- javascript
-
(and 1 more)
Tagged with:
-
так как наблюдаю ситуацию уже не первый день, а текущая прошла через уши и глаза клиента, что ему конечно же не нужно было и пришлось извиняться за резкость, но ситуация имеет место быть. многие же сталкиваются с ситуацией, когда при установке стороннего модуля что-то другое в магазине перестае...
- 11 replies
-
- presyashop perfomance
- module
-
(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: