Slideshow & Gallery modules in conflict

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
burlington
Power Poster
Power Poster
Posts: 444
Joined: Wed Dec 27, 2006 5:15 pm

Slideshow & Gallery modules in conflict

Post by burlington »

Running CMSMS 1.11.7

A Slideshow in the sidebar, and a small Gallery thumbnail display in the footer, clash.

Whether or not the Gallery call is in the template as {Gallery} or there via a GCB, once the gallery is on the page then the slideshow stops working. No error message, just stops dead. The image is still there but there is no transition.

Any ideas anyone?

Thanks

Martin
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Slideshow & Gallery modules in conflict

Post by velden »

Can you post a link?

Often those problems are due to including jQuery twice. Or using two conflicting JS libraries (like Prototype and jQuery).
burlington
Power Poster
Power Poster
Posts: 444
Joined: Wed Dec 27, 2006 5:15 pm

Re: Slideshow & Gallery modules in conflict

Post by burlington »

Thanks Velden

The site is: http://www.dolbysound.com/index.php

Please note that the site is still very much in the developmental stage. The slideshow in the R/H column works fine if I remove the Gallery, which incidentally is in the footer as {Gallery}. No GCB but if there were then the result is the same.

Marti
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Slideshow & Gallery modules in conflict

Post by velden »

jQuery loaded twice:

Code: Select all

<!--css for show1-->
<link rel="stylesheet" type="text/css" href="http://www.dolbysound.com/modules/Showtime/templates/css/Show_1.css" />
<!--LOAD SHOWTIME jQuery-->
<__script__ type="text/javascript" src="http://www.dolbysound.com/modules/Showtime/templates/jquery/jquery-1.4.2.js" ></__script>
<__script__ type="text/javascript" src="http://www.dolbysound.com/modules/Showtime/templates/jquery/jquery.cycle.all.min.js" ></__script>
<!--END SHOWTIME-->
<!-- Gallery/Lightbox -->
<link rel="stylesheet" href="http://www.dolbysound.com/modules/Gallery/templates/css/Lightbox.css" type="text/css" media="screen" />
<__script__ type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></__script>
<__script__ type="text/javascript" src="modules/Gallery/templates/lightbox/lightbox.js"></__script>
burlington
Power Poster
Power Poster
Posts: 444
Joined: Wed Dec 27, 2006 5:15 pm

Re: Slideshow & Gallery modules in conflict

Post by burlington »

Thanks Velden

Is the answer then just to remove one of these references in the appropriate template? Presumably then the second reference?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Slideshow & Gallery modules in conflict

Post by velden »

Personally I include jQuery in the templates that need them myself. But Ive never used Showtime so don't know if you can manage showtime NOT to include it.
burlington
Power Poster
Power Poster
Posts: 444
Joined: Wed Dec 27, 2006 5:15 pm

Re: Slideshow & Gallery modules in conflict

Post by burlington »

I have just tried to remove one of the references to Jquery- makes no difference. Back to the drawing board I think!
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Slideshow & Gallery modules in conflict

Post by velden »

The jQuery from showtime is quite old.

As I said, I never used Showtime. If I need a (image) rotator I usually take ListitExtended and build a summary template. CGSmartImage for the resizing/cropping of the image and inclusion of jQuery and Cycle JS in template.

You removed the gallery from the website I see. Maybe make a copy of the template and include the Gallery tag again. Then create a test-page with that template connected.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Slideshow & Gallery modules in conflict

Post by Dr.CSS »

Whatever you were trying to do with the Gallery or the Showtime module I'm sure can be done w/o those modules using jQuery with the Album module...
burlington
Power Poster
Power Poster
Posts: 444
Joined: Wed Dec 27, 2006 5:15 pm

Re: Slideshow & Gallery modules in conflict

Post by burlington »

Thanks everyone and all the best for the New Year.

Martin
Post Reply

Return to “Modules/Add-Ons”