Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Well my problem is with the beloved (sarcasm) Internet Explorer 8, the pager of the block cause a problem, and the Development Tools to IE8 show this error:
[cycle] terminating; too few slides: 1
I think, that is a compatibility problem is with IE8 and Jquery.cycle Event or with the array that contain the options to ddblock in ddblock.js file.
The module work for FireFox, Opera, Chrome
I try many things, and the error only dissapear when a delete this line (263 from ddblock.js).
var $container = $('#ddblock-' + block + ' ' + contentContainer).parent()
.cycle(options) //<---------THIS LINE
.css('visibility', 'visible')
.addClass('ddblock-processed');
but the block crash (obviously).
The next image , its how i see the block in my IE8
Comment | File | Size | Author |
---|---|---|---|
issue_ddblock.png | 255.89 KB | tccbjm |
Comments
Comment #1
ppblaauw CreditAttribution: ppblaauw commentedthe message * [cycle] terminating; too few slides: 1 *, means there is only 1 slide in the slideshow.
the slideshow needs at least two slides to work.
Is there a difference between logging in and not logging in?
Did you give permissions to users to view ddblock slideshow in the permissions page?
Do you have a link to the slideshow on your Internet site?
Comment #2
tccbjm CreditAttribution: tccbjm commented"the message * [cycle] terminating; too few slides: 1 *, means there is only 1 slide in the slideshow.
the slideshow needs at least two slides to work."
I know, i have 3 Slide.
Is there a difference between logging in and not logging in?
No, it's same for both case.
Did you give permissions to users to view ddblock slideshow in the permissions page?
Yes, all permission
Do you have a link to the slideshow on your Internet site?
Unfortunately not, it's a local net in my work and i can't publish on internet, the only that i can do it's attach screenshot from the site
PD: Thanks for you fast answer.
Comment #3
Stefan Looij CreditAttribution: Stefan Looij commentedHi, i'm having the samen problem when using the "Views Slideshow" module.
It is for sure a browser compatibility problem (only IE7 and IE8).
Try this link for an answer:
-- http://www.devcha.com/2010/05/fixed-cycle-terminating-too-few-slides.html
(maybe the maintainer should know where to put it in the module - or someone else could provide you with a patch)
I'll continue my search for this bug under "Views Slideshow".