bilal2005 Posted April 19, 2015 Share Posted April 19, 2015 hi I try to add the js and css file in tpl fine I read lot off tips in formus but all that not worrk I adnt know why is there simple way to add js and css to my tpl file ? this is my link C:\wamp\www\prestashop\modules\test\js thanks Link to comment Share on other sites More sharing options...
NemoPS Posted April 20, 2015 Share Posted April 20, 2015 in your module's file, hookDisplayHeader method, use: $this->context->controller->addCSS(($this->_path).'js/blockpermanentlinks.css', 'all'); $this->context->controller->addJS(($this->_path).'js/blockpermanentlinks.js', 'all'); 1 Link to comment Share on other sites More sharing options...
Recommended Posts