Format Slick Carousel - Display Fields - Rendered Paragraph Entity - not working since Slick 2.10

Created on 30 October 2024, 16 days ago

Problem/Motivation

I take over a project with already configured slick sliders. I have to update the modules to version ^3.0, but then the sliders appears empty.

The basic setting: A node can add different paragraph types, one of them is a paragraph type "slider", and in this paragraph type, you can add unlimited items of another nested paragraph type "slider_items". In the type "slider_items" you can add media entity along with a link or description. (I've changed the machine names for simplification here)

Steps to reproduce

With this module versions, the current views settings are working:
composer require drupal/slick_views:2.7.0 drupal/slick:2.9.0 drupal/blazy:2.16.0 -W -n

Current settings, see the image attachments:
views-slider-1-preview.png, views-slider-1-display-options.png, views-slider-1.png

With this module versions, the views setting are not working anymore, the field ist not rendering anymore and the output empty:
composer require drupal/slick_views:^3.0 drupal/slick:^3.0 drupal/blazy:^3.0 -W -n

Proposed resolution

It would be great, if there is a solution that is very close to the already existing sliders, otherwise it will cost much of work to change configurations and of course styling etc.

Would be great if someone could help me with this.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇨🇭Switzerland handkerchief

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @handkerchief
  • 🇨🇭Switzerland handkerchief

    Simple workaround, uninstall all slick and blazy modules, instead using vanilla "swiper JS": https://swiperjs.com/
    Of course there is a bit of work todo, because other classes and so on, but after all, I'm no longer dependent on this module.

  • 🇮🇩Indonesia gausarts

    Thank you.

    I just have time to see to it.

    There is no significant difference between 2.x and 3.x in term of PHP, except for deprecation removals.
    Unless I missed the obvious, of course.

    However I saw no evil/ regression with Paragraphs in my installs.

    For others who prefer Slick, few known issues/ caveats:

    • 📌 Incompatibility with Drupal 11/jQuery 4 Fixed , fine at D10, though.
    • Must use Paragraphs Revisions, else empty.
    • Be sure to match the correct and supported Slick library versions, in case upgraded by mistakes. See Slick project home requirements .
    • Also see this very project home Usages, Gotchas, and adjust things accordingly. Using Media directly with Slick Views is less complex than Paragraphs, IMHO.

    Good luck, anyway!

Production build 0.71.5 2024