Jump to content

Search the Community

Showing results for tags 'addJS'.

  • Search By Tags

    • addjs ×
    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 9 results

  1. Hi, I have custom module which I run, display by type URL: http://mydomain.com/en/module/custommodule/mypage The problem I have with addJS. This is my code: public function hookBackOfficeHeader() { $this->context->controller->addJS($this->_path . '/js/configurator.js');...
  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, 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...
  7. 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...
  8. так как наблюдаю ситуацию уже не первый день, а текущая прошла через уши и глаза клиента, что ему конечно же не нужно было и пришлось извиняться за резкость, но ситуация имеет место быть. многие же сталкиваются с ситуацией, когда при установке стороннего модуля что-то другое в магазине перестае...
  9. 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...