Sinom Posted October 6, 2013 Share Posted October 6, 2013 (edited) Hello! I've attached an image trying to explain my problem. **EDIT** Doesn't seem like I knew how to attached an image **EDIT** I'm using Prestashop 1.5.4.1 and I'm also using the free template Leo Converse. This template had the including Leo Manufactures 2 module, which works really great. Untill now = / I edited the menu module which is included in the theme, and added a responsive menu which requires 1 javascript and one jQuery script. After I added these into the menu block's php-file and the header.tpl - The javascript doesn't seem to load for the manufacture scroll anymore? I got the menu from here: http://martinblackburn.github.io/responsive-nav/ Does anyone have any clue on what I might have done for the javascript to stop loading for that module (might be other modules as well). Thanks for any light in the matter. Regards - Sinom Edited October 13, 2013 by vekia (see edit history) Link to comment Share on other sites More sharing options...
Sinom Posted October 8, 2013 Author Share Posted October 8, 2013 This is how it looks. Regards - Sinom Link to comment Share on other sites More sharing options...
Sinom Posted October 11, 2013 Author Share Posted October 11, 2013 Anyone that might be able to point me into somewhat right direction? Link to comment Share on other sites More sharing options...
El Patron Posted October 12, 2013 Share Posted October 12, 2013 (edited) it's possible these are modules designed for 1.4, in 1.5 add css/jss etc files is different 1.5 example $this->context->controller->addJs($this->_path.'filename.js'); Edited October 13, 2013 by El Patron changed to show java not css (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 13, 2013 Share Posted October 13, 2013 in addition to what El Patron said, make sure that you've this .js / .css file in module directory, or in theme directory and also make sure that they aren't empty Link to comment Share on other sites More sharing options...
Sinom Posted October 13, 2013 Author Share Posted October 13, 2013 Thank you both for replying. I checked both of your solutions and it turns out vekias was right. The problem was that it was trying to load the js via /themes//js/custom.js Is should be /themes/themename/js/custom.js I don't know why it no longer loads the {$LEO_THEMENAME} variable. But I changed that variable to the actual theme folder name in header.tpl and now it works. Thanks again for your help! Regards - Sinom Link to comment Share on other sites More sharing options...
vekia Posted October 13, 2013 Share Posted October 13, 2013 glad to hear that you solved this issue im going to mark this topic as [solved] with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now