Drupal 7 Views Slideshow not working in theme


Author Message
Mick

Posted: 3/23/2013
Quote message 

For anyone else who may have hit this problem -
After waaaaay too many hours I've got it work with a bit of a hack.

For some reason when trying to select the first child id of the slide show container - it selects itself - this hack fixes that by forcing the id of the child



Near the top of the file views_slideshow_cycle.js

Change
settings.targetId = '#' + $(fullId + " :first").attr('id');
To
settings.slideshowId = settings.targetId.replace('#views_slideshow_cycle_teaser_section_', '');


 
adam

Posted: 3/28/2013
Quote message 

Any suggestions where to look?

I went throught the folders and files and I could not found the file or similar code as well...
there is some code in file jquery.js but the code seem to me pretty much ok.
I was thinking if is there any issue with reading/writing permissions in the theme directory, but I have not found it...

 
Broke Richmond

Posted: 3/28/2013
Quote message 

You can find the file in:

sites\all\modules\views_slideshow\contrib\views_slideshow_cycle\js
 
Broke Richmond

Posted: 3/28/2013
Quote message 

However, that doesn't seem to solve the issue.
 
DexaBubu

Posted: 4/8/2013
Quote message 

same problem :(
 
Charles

Posted: 4/13/2013
Quote message 

I too had this problem but found the fix. Artisteer created templates with a header slideshow is incompatible with jquery update and jquery plugin. If you have one of both of these enabled your slideshow won't work.
 
Charles

Posted: 4/15/2013
Quote message 

Quote Tom:

Quote Charles:

I too had this problem but found the fix. Artisteer created templates with a header slideshow is incompatible with jquery update and jquery plugin. If you have one of both of these enabled your slideshow won't work.


Thanks Charles for your input, but do I need to disable something in drupal or in Artisteer?
Tom


You have to disable jquery modules in Drupal
 
Javier

Posted: 4/15/2013
Quote message 

Solution from support team:

Hello

Most probably the slider requires different jquery version than the one that Artisteer is using.
Please try the following workaround:

- open template/html.tpl.php file, find this string:
<?php print art_compatible_scripts($scripts); ?>

- and change it to:
<?php print $scripts; ?>

This should help.

Best regards
 
Tiaan

Posted: 5/8/2013
Quote message 

Quote Javier:

Solution from support team:

Hello

Most probably the slider requires different jquery version than the one that Artisteer is using.
Please try the following workaround:

- open template/html.tpl.php file, find this string:
<?php print art_compatible_scripts($scripts); ?>

- and change it to:
<?php print $scripts; ?>

This should help.

Best regards


Hi

I have made this change but now the slide doesn't even work in preview where it used to and also not in block, any other ideas?

Should I backtrack this change in /html.tpl.php?

We have this issue on a couple of drupal 7 sites, currently working on www.partland.co.za/cms


 
reecy

Posted: 5/16/2013
Quote message 

I ran into the same issue. I'll have to try the workaround when I have more time. I hope that's something they plan on fixing in future releases!
 
Martin

Posted: 5/17/2013
Quote message 

Thanks to Javier for posting this - I wasted an hour searching the Drupal site and jquery support sites to find no good answer to this. Never thought it would be an Artisteer-generated problem.

I trust, Artisteer people, you will fix this ASAP!!!!!!!!!!!!
:-{}
 
adam

Posted: 5/17/2013
Quote message 

Quote Tiaan:

Quote Javier:

Solution from support team:

Hello

Most probably the slider requires different jquery version than the one that Artisteer is using.
Please try the following workaround:

- open template/html.tpl.php file, find this string:
<?php print art_compatible_scripts($scripts); ?>

- and change it to:
<?php print $scripts; ?>

This should help.

Best regards


Hi

I have made this change but now the slide doesn't even work in preview where it used to and also not in block, any other ideas?

Should I backtrack this change in /html.tpl.php?

We have this issue on a couple of drupal 7 sites, currently working on www.partland.co.za/cms




Yes, it is still block by jqurey update plugin. When I turn it off, it started working. The issue is I need jquery update modlue for my other modules. So I cannot leave it switchd off.
there must by some issue with file jquery.js and its doubled calling by Drupal and artisteer template
 
RBcode

Posted: 5/22/2013
Quote message 

:( I have the same problem.
Not rotate pictures slideshow
Please, Help me!!!!
 
Phil

Posted: 6/5/2013
Quote message 

Drupal 6.28
Views 6.x-2.16
Views Slideshow 6.x-2.4
Artisteer 4.1..0

Views Slideshows display the first image and halts. If I unpublish image #1, it displays image #2. I don't have jQuery installed but I am using both jCarousel and Lightbox which come with their own jQuery libraries.

Installed Garland theme and Slideshow WORKED!

Just for chuckles, I uninstalled Artisteer 4 and reinstalled Artisteer 3 and rebuilt the theme from scratch. Again Slideshow WORKED!

I think we have a pretty clear indictment that Artisteer 4 and Views Slideshow are incompatible.


 
Phil

Posted: 6/6/2013
Quote message 

** SOLUTION **

jQuery was indeed the right way to go - After adding and activating

jQuery UI 6.x-1.5
jQuery Update 6.x-2.0-alpha1

I finally got Views Slideshow to work with an Artisteer 4 theme. It also fixed a Lightbox2 problem I was having with titles and "alt=" fields not displaying.

The key was that not just jQuery needs to be installed, but jQuery *and* jQuery Update!
 
Susan

Posted: 6/6/2013
Quote message 

Artisteer people, I know it's tempting to use the most current jQuery library, but it interferes with other uses of jQuery in Drupal sites. It's is a problem, and I know from Drupalcon Portland that the designers of D8 are grappling with it.

That being said, the jQuery from A4.1 is not only interfering with my Views Slideshow, but the A4.1 template is also interfering with the third-party fonts from fonts.com and typekit.com. I'm hesitant to install the jQuery Update 7.x module without breaking other things.

Views Slideshow has circumvented this version problem with having a library with the updated jQuery version that needs to be download and put into Sites/All/Libraries when using Views Slideshow. Can somehow this be implemented with Artisteer instead of using an updated jQuery version directly in the template that interferes with all jQuery on the site?
 
naksi

Posted: 6/9/2013
Quote message 

Phil and Susan..

Have you contacted support for this issue and this information? If not pls. do so, because we cant know if they are following this thread.

Pls also give answer you got ;) tnx
 
naksi

Posted: 6/10/2013
Quote message 

admin/config/development/jquery_update

There is versions 1.5, 1.7, 1.8 ( i have these)

Does this affect on this?

So is this solution for D6 as https://drupal.org/project/jquery_ui is not for D7 ?
 
Davy

Posted: 7/4/2013
Quote message 

Hello,

I also have a problem with the jQuery Cycle plugin...
I use the following jQuery code to insert the div's and than the functionality of the cycle plugin :

var $ = jQuery.noConflict();

$(document).ready(function(){
$("#homepage_pics").append('<div id="slideshowContainer">');
$("#homepage_pics").append('<div class="slideshow">');
$("#homepage_pics").append('<img src="images/image1.png" width="600" height="300"/>');
$("#homepage_pics").append('<img src="images/image2.png" width="600" height="300"/>');
$("#homepage_pics").append('<img src="images/image3.png" width="600" height="300"/>');
$("#homepage_pics").append('<img src="images/image4.png" width="600" height="300"/>');
$("#homepage_pics").append('<img src="images/image5.png" width="600" height="300"/>');
$("#homepage_pics").append('</div>');
$("#homepage_pics").append('<ul id="nav">');
$("#homepage_pics").append('<li id="prev"><a href="#">Previous</a></li>');
$("#homepage_pics").append('<li id="next"><a href="#">Next</a></li>');
$("#homepage_pics").append('</ul>');
$("#homepage_pics").append('</div>');

$('.slideshow').cycle({fx: 'fade', pause: 1, prev: '#prev', next: '#next'});
})

He shows the pictures but the cycle plugin does not work. I use Drupal 7 with artisteer 4. Can anyone help me ?

Thanks
 
Herves

Posted: 7/18/2013
Quote message 

Quote Phil:

** SOLUTION **

jQuery was indeed the right way to go - After adding and activating

jQuery UI 6.x-1.5
jQuery Update 6.x-2.0-alpha1

I finally got Views Slideshow to work with an Artisteer 4 theme. It also fixed a Lightbox2 problem I was having with titles and "alt=" fields not displaying.

The key was that not just jQuery needs to be installed, but jQuery *and* jQuery Update!

Thanks a lot, we've been looking for a solution for days!!!! hope it willcontinue to work.... How did you find this solution????

Best Regards :-{}
 
Nicon

Posted: 11/14/2013
Quote message 

Phil`s solution worked for me in Drupal 7 but I had to go back to the original file (views_slideshow_cycle.js --> so I didn`t do the change, Mick proposed)

:-)