Jump to content

[SOLVED] Module is not loading JS anymore


Recommended Posts

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 by vekia (see edit history)
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...