Account created on 11 December 2018, almost 6 years ago
#

Recent comments

Hi,

Same here, also with all other modules like jQuery UI Datepicker, jQuery UI Slider, jQuery UI Effects, jQuery UI Autocomplete, etc.:

[error]  jQuery UI Accordion requiert ce module et cette version. Vous utilisez
actuellement jQuery UI version
 (Currently using Dépendance non résolue jQuery UI (Version >=1.7 requise)
)
 [error]  jQuery UI Autocomplete requiert ce module et cette version. Vous utilisez
actuellement jQuery UI version
 (Currently using Dépendance non résolue jQuery UI (Version >=1.7 requise)
)
 [error]  jQuery UI Autocomplete requiert ce module et cette version. Vous utilisez
actuellement jQuery UI Menu version
 (Currently using Dépendance non résolue jQuery UI Menu (Version >=2.1 requise)
)
 [error]  jQuery UI Datepicker requiert ce module et cette version. Vous utilisez
actuellement jQuery UI version
 (Currently using Dépendance non résolue jQuery UI (Version >=1.7 requise)
)
 [error]  jQuery UI Effects requiert ce module et cette version. Vous utilisez
actuellement jQuery UI version
 (Currently using Dépendance non résolue jQuery UI (Version >=1.7 requise)
)
 [error]  jQuery UI Menu requiert ce module et cette version. Vous utilisez
actuellement jQuery UI version
 (Currently using Dépendance non résolue jQuery UI (Version >=1.7 requise)
)
 [error]  jQuery UI Slider requiert ce module et cette version. Vous utilisez
actuellement jQuery UI version
 (Currently using Dépendance non résolue jQuery UI (Version >=1.7 requise)
)
 [error]  Module Filter requiert ce module et cette version. Vous utilisez actuellement
jQuery UI version
 (Currently using Dépendance non résolue jQuery UI (Version >=1.7 requise)
)

For each, the composer.json file has ">=8.x-1.7" instead of ">=1.7" version requirement for jquery_ui.

Thank you for fixing this whenever it's possible.

Hi,

Patch doesn't fix the problem for me on 9.5.9 : my carousel literally disappears though no error is logged.

Here's my code from line 169 of paragraph--bp-carousel.html.twig (slightly adjusted for Bootstrap 5):

…
{# Prints Carousel template. #}
{{ content|without('bp_slide_content','bp_slide_interval', 'bp_width', 'bp_background') }}
<div{{ attributes.addClass(classes).setAttribute('id', paragraph_id).setAttribute('data-bs-interval', slide_interval_classes).setAttribute('data-bs-ride', 'carousel') }}>
  <ol class="carousel-indicators">
    {% for key, item in content.bp_slide_content %}
      {% if key|first != '#' %}
        <li class="{% if loop.first %}active{% endif %}" data-bs-slide-to="{{ key }}" data-bs-target="#{{ paragraph_id }}"></li>
      {% endif %}
    {% endfor %}
  </ol>
  <div class="carousel-inner" role="list">
    {% for key, item in content.bp_slide_content %}
      {% if key|first != '#' %}
        <div class="paragraph--layout-slideshow__slide-{{ key + 1 }} item carousel-item{% if loop.first %}active{% endif %}" role="listitem">{{ item }}</div>
      {% endif %}
    {% endfor %}
  </div>
  <a class="left carousel-control" href="#{{ paragraph_id }}" role="button" data-bs-slide="prev">
    <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
    <span class="visually-hidden">Previous</span>
  </a>
  <a class="right carousel-control" href="#{{ paragraph_id }}" role="button" data-bs-slide="next">
    <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
    <span class="visually-hidden">Next</span>
  </a>
</div>

And here's my previous code, that works but isn't compatible with Drupal 10:

…
{# Prints Carousel template. #}
{{ content|without('bp_slide_content','bp_slide_interval', 'bp_width', 'bp_background') }}
<div{{ attributes.addClass(classes).setAttribute('id', paragraph_id).setAttribute('data-bs-interval', slide_interval_classes).setAttribute('data-bs-ride', 'carousel') }}>
  <ol class="carousel-indicators">
    {% for key, item in content.bp_slide_content if key|first != '#' %}
      <li class="{% if loop.first %}active{% endif %}" data-bs-slide-to="{{ key }}" data-bs-target="#{{ paragraph_id }}"></li>
    {% endfor %}
  </ol>
  <div class="carousel-inner" role="list">
    {% for key, item in content.bp_slide_content if key|first != '#' %}
      <div class="paragraph--layout-slideshow__slide-{{ key + 1 }} item carousel-item{% if loop.first %} active{% endif %}" role="listitem">{{ item }}</div>
    {% endfor %}
  </div>
  <a class="left carousel-control" href="#{{ paragraph_id }}" role="button" data-bs-slide="prev">
    <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
    <span class="visually-hidden">Previous</span>
  </a>
  <a class="right carousel-control" href="#{{ paragraph_id }}" role="button" data-bs-slide="next">
    <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
    <span class="visually-hidden">Next</span>
  </a>
</div>

If anyone could tell me what I did wrong, I would be very grateful !

Thanks!

Production build 0.71.5 2024