OlivierCC / spfx-40-fantastics

This package is a sample kit of Client Side Web Parts built on the SharePoint Framework SPFx. You can find here different kind of high visual web parts as carousel, images galleries, animations, map, editors, etc.
MIT License
408 stars 279 forks source link

Unite Gallery error #31

Open denniskorir opened 6 years ago

denniskorir commented 6 years ago

The error below occurs after some fer minutes when the page is loaded

Unite Gallery Error: You have some jquery.js library include that comes after the gallery files js include. This include eliminates the gallery libraries, and make it not work.

To fix it you can:

  1. In the Gallery Settings -> Troubleshooting set option: Put JS Includes To Body option to true.
  2. Find the double jquery.js include and remove it.
warwickbuilds commented 6 years ago

Yeah I have noticed this one popping up lately

AltruisticNerd commented 5 years ago

Same here image

KathiaRieser commented 5 years ago

I can't see that option to reference in my code. Any help? How did you do?

wrightmt commented 3 years ago

Has anyone managed to fix this problem?

wrightmt commented 3 years ago

I can't see that option to reference in my code. Any help? How did you do?

Did you ever fix this?

dept177 commented 7 months ago

Found how to fix this. I am using Unite Gallery with Apache Tapestry. I overrode the jquery library in Tapestry with a newer version and modified 'unitegalllery.js' around line 19427. I commented out the call for checkForDoubleJQuery() here:

try{ if(type == "jquery") { checkForJqueryPresents(); ugCheckForMinJQueryVersion(); } else { ugCheckForMinJQueryVersion(); //checkForDoubleJQuery(); <---- HERE }

After this everything is working fine, no issues. Hope this helps somebody.