Let's make Flexslider work with Drupal 11.

CommentFileSizeAuthor
#10 flexslider.png28.95 KBsarigaraghunath

Issue fork flexslider-3484191

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

keiserjb created an issue. See original summary.

keiserjb’s picture

I see why there aren't any automated updates for Flexslider now. It looks like Drupal 11 moves to jquery 4. The flexslider library doesn't work with that and is no longer being developed.

jradhak made their first commit to this issue’s fork.

damienmckenna’s picture

Status: Active » Needs review
damienmckenna’s picture

Darn it - I'm upgrading a D7 site to D10 and was hoping to use Flexslider, but if it isn't going to work on D11 then I guess I'll have to find an alternative :-\

@jradhak - if there's an existing MR for an issue please help make it better, rather than creating your own that repeats the same changes. Thank you.

damienmckenna’s picture

Title: Drupal 11 fixes » Drupal 11 fixes - no longer compatible due to jQuery 4
damienmckenna’s picture

I'm going to try out Slick via the Slick module, hopefully it'll be close enough to work.

sarigaraghunath’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new28.95 KB

MR14 makes the module compatible with D10 and D11

damienmckenna’s picture

Status: Reviewed & tested by the community » Needs work

sarigaraghunath: Did you test to see if the carousel/slider functionality actually works in the output? Confirming the PHP code works doesn't mean that the module as a whole works because the library it uses doesn't work.

damienmckenna’s picture

It might be worth testing with the updated Flexslider library directly from WooCommerce, which was rewritten in 2023 to not even need jQuery:

Here's the URL of the updated JS file:

smethawee’s picture

Hello sarigaraghunath and Team,

Any update for this issue? it isn't going to work on D11 for me. Would like to know anyone can make this working.

Thanks!

sleitner’s picture

Status: Needs work » Closed (duplicate)
Related issues: +#3520319: Drupal 11 compatibility

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.