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.
Hi all,
my Website http://patanjala-yoga.org stopped showing the slideshow. I did nothing. Everything was working. A few days later without doing anything slideshow disappeared. Is not coming back. I tried activate/deactived, cleared cache etc., even I installed several older versions of the theme of the past and even new dev version. Nothing helps. How can I find out where this is coming from?
>Thank you!!
Comment | File | Size | Author |
---|---|---|---|
#6 | bussines-d8-slideshow_disappeared-2920983-6.patch | 314 bytes | tibezh |
Comments
Comment #2
tibezh CreditAttribution: tibezh at Drupal Ukraine Community commentedHi @jacob87
You have a js error in Console: Uncaught TypeError: a.indexOf is not a function.
Can you disable a js aggregation for the site? Without this action I can't help you.
Thank you
Comment #3
berlinonline2 CreditAttribution: berlinonline2 commentedDrupal 8.4.0 upgraded the jQuery library from 2 to 3. Maybe this is causing problems with the the .load() function, which is depreciated. Is somebody able to fix this?
Comment #4
berlinonline2 CreditAttribution: berlinonline2 commentedHi Jacob87,
after a bit of research I found a solution to fix your problem.
1. Open the file \themes\business\js\custom.js
2. Change the secondline from:
{
jQuery(window).load(function()
to
jQuery(window).on("load", function() {
3. Afterwards Clear the cache
:-)
Comment #5
berlinonline2 CreditAttribution: berlinonline2 commentedComment #6
tibezh CreditAttribution: tibezh at OPTASY, Drupal Ukraine Community commentedThank you @berlinonline2!
Patch attached
Comment #8
tibezh CreditAttribution: tibezh at OPTASY, Drupal Ukraine Community commented