Vire Posted March 10, 2014 Share Posted March 10, 2014 Hello there, i just want to ask wich way is the best to add javascripts like livechat to every site on the shop? Is there a module for something like this in 1.6.0.4 ? Link to comment Share on other sites More sharing options...
vekia Posted March 10, 2014 Share Posted March 10, 2014 you can use html block free module and insert scripts inside "header" / "footer" hooks. Link to comment Share on other sites More sharing options...
Vire Posted March 10, 2014 Author Share Posted March 10, 2014 Hm doesnt work for me that great. It just shows the script code on the top of the page but didnt change it in working html. I did put it in the head.tpl but the review widget is not working that great. http://digitaldyne.com/en/ compared with this test page: http://adfpoioiuadf.weebly.com/ the top of the widget is not complete but its the same code so i dont get the problem. Link to comment Share on other sites More sharing options...
El Patron Posted March 10, 2014 Share Posted March 10, 2014 another options is to right a very module that only loads java add this code to your module public function hookDisplayBackOfficeHeader() { $this->context->controller->addJs($this->_path.'javascript in your module folder.js'); } Link to comment Share on other sites More sharing options...
Vire Posted March 10, 2014 Author Share Posted March 10, 2014 Thanks for the tip. I got everything to work in the footer now. Just the review widget is not as it should be but i gont get the reason why. Maybe it will fix it self in the released 1.6 version of PS Link to comment Share on other sites More sharing options...
Recommended Posts