Jump to content

[solved] JQuery does not work in Front-End?


Recommended Posts

I noticed that a slider (module minic slider, uses nivo slider) stopped working and decided to check what is happening in the generated page. I saw some javascript errors, that make me think that jQuery is not loaded and therefore everything that tries to use it, issues an error. Then I look at what scripts are loaded and I don't see jquery core there.

 

Please, look at the images provided.

 

Any ideas?

 

katalea1.png

 

katalea2.png

Link to comment
Share on other sites

what version of PrestaShop?

 

it appears that it's early version of 1.6, where JavaScript is loaded bottom.

 

right click you front office-->right click-->view page source

 

scroll to bottom, if you  click (cache_key.js) you will see jquery there.

 

if you have newer version of PrestaShop (1.6.0.7+) then advanced parms-->performance-->set load javascript top.

 

if you have pre  1.6.0.7 then tempalte must be compliant with load java bottom.

  • Thanks 1
Link to comment
Share on other sites

×
×
  • Create New...