CMS Development

SlimSr2003
Participant | Partner
Participant | Partner

Slick slider working on one page but not another

SOLVE

Ok this is kind of an extension of a previsous issue. That issue was solved but now I have anoterh issue. I have created a custom module that is a Slick Slider. I have used the module on this page: http://45821948.hs-sites.com/media-customers and it works fine. I dropped the same slider onto this page and it doesn't want to work: https://45821948.hs-sites.com/financial-services-customers. Same module different page and now its broken. I have compared the settings between the pages and the only difference is the page title and the URL. I actually cloned the media page to make the financial page but that was without the Use Case module on the page so maybe?

 

I am completely stuck so any help would be great. 

 

Thanks

Scott

0 Upvotes
1 Accepted solution
pm8rsh88
Solution
Contributor

Slick slider working on one page but not another

SOLVE

When looking at the page source, I noticed that your second page is loading 2 different Jquery files. 

 

https://static.hsappstatic.net/jquery-libs/static-1.1/jquery/jquery-1.7.1.js

https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js

 

Try removing the later (googleapis), as it's not present on your first page.

View solution in original post

0 Upvotes
2 Replies 2
pm8rsh88
Solution
Contributor

Slick slider working on one page but not another

SOLVE

When looking at the page source, I noticed that your second page is loading 2 different Jquery files. 

 

https://static.hsappstatic.net/jquery-libs/static-1.1/jquery/jquery-1.7.1.js

https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js

 

Try removing the later (googleapis), as it's not present on your first page.

0 Upvotes
SlimSr2003
Participant | Partner
Participant | Partner

Slick slider working on one page but not another

SOLVE

Yes that fixes it. There was a second module that had added the jQuery to the page that I had to turn off and now it works fine. Thank you for your response. 

 

Scott

0 Upvotes