Hi
ddblock seems to clash with view jcarousel. Whenever i activate a ddblock, jcarousel looses the nice transition. For the moment i am using the view cycle module instead of ddblock.
Simoe

Comments

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

There are several carousel modules: you mention Jcarousel in the title and view Jcarousel in the description of the issue.

From what I know there are 4 carousel modules:

http://drupal.org/project/jcarousel_block
http://drupal.org/project/jcarousellite
http://drupal.org/project/jcarousel
http://drupal.org/project/viewscarousel

Which one are you using?

cimo’s picture

Hi
it s the View Carousel which of course needs the Jcarousel module
tx
Simone

ampersat’s picture

This may be a bug in jCarousel (http://drupal.org/node/528122).

ampersat’s picture

I found a workaround until the jQuery plugins get sorted out. If you edit ddblock.module and comment out the following line, everything works.

drupal_add_js($ddblock_path .'/js/jquery.easing.1.1.1.js', 'module');

Of course, commenting this out removes support for some of the transition effects (exactly which ones, I haven't figured out yet), but it does allow ddblock and jCarousel to coexist on the same page.

ppblaauw’s picture

Thanks for posting this workaround which can be used to have ddblock and jCarousel coexist on one page.

I don't think a lot of people use the custom jquery option and easing effects with the ddblock module. So, for most users this is a useful workaround to have ddblock and jCarousel coexist on one page.

Maybe others (the original poster) can confirm that this workaround works.

pkcho’s picture

This worked for me!

Thank you @bounsy

ppblaauw’s picture

Title: Ddblock against Jcarousel » Ddblock against Jcarousel (Fixed)
Status: Postponed (maintainer needs more info) » Fixed

Set status to fixed with this workaround.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

sp3boy’s picture

Status: Closed (fixed) » Active

Having just burned up a several hours trying to work out what's going on with js errors when I have a DDBlock and a Views Carousel block on the same page, may I suggest the following:

Rather than disable the alternative easing functionality as suggested above, update the module to use the 1.3 version which is correctly coded to extend jquery.easing without trashing the "swing" option.

Simply installing 1.3 instead of 1.1.1 appears to cure the problem, with two caveats:

  • The easing names changed as of version 1.2 - having only used part of the functionality of DDBlock I'm not sure whether/where the easing is used.
  • There is an additional compatability js file but it looks like the first three easing function names have been camel-cased whereas the 1.1.1 names aren't.