- 🇮🇳India heykarthikwithu Bengaluru 🌍
Hi @Nelo_Drup,
Can you check this issue with the 2.0.3 version - https://www.drupal.org/project/imagefield_slideshow/releases/2.0.3 → #2 @heykarthikwithu
I just tried it with layout builder and it doesn't work in the console I get that error[cycle2] --c2 init--
jquery.cycle2.js:608 [cycle2] loader: wait (string)
jquery.cycle2.js:608 [cycle2] next: #imagefield_slideshow-next-1938757392 (string)
jquery.cycle2.js:608 [cycle2] prev: #imagefield_slideshow-prev-1586570561 (string)
jquery.cycle2.js:608 [cycle2] timeout: 100 (number)
jquery.cycle2.js:608 [cycle2] speed: 100 (number)
jquery.cycle2.js:608 [cycle2] fx: fade (string)
jquery.cycle2.js:608 [cycle2] pauseOnHover: false (boolean)
js_JdDZyreXZS34_ggTC4IlKzfpHoT2sadlDR0-kpbBq0I.js:2 jQuery.Deferred exception: e.indexOf is not a function TypeError: e.indexOf is not a function
at E.fn.load (https://example.com/sites/default/files/js/js_JdDZyreXZS34_ggTC4IlKzfpHo...)
at HTMLImageElement. (https://cdnjs.cloudflare.com/ajax/libs/jquery.cycle2/2.1.6/jquery.cycle2...)
at Function.each (https://example.com/sites/default/files/js/js_JdDZyreXZS34_ggTC4IlKzfpHo...)
at E.fn.init.each (https://example.com/sites/default/files/js/js_JdDZyreXZS34_ggTC4IlKzfpHo...)
at HTMLImageElement. (https://cdnjs.cloudflare.com/ajax/libs/jquery.cycle2/2.1.6/jquery.cycle2...)
at Function.each (https://example.com/sites/default/files/js/js_JdDZyreXZS34_ggTC4IlKzfpHo...)
at E.fn.init.each (https://example.com/sites/default/files/js/js_JdDZyreXZS34_ggTC4IlKzfpHo...)
at Object.d [as add] (https://cdnjs.cloudflare.com/ajax/libs/jquery.cycle2/2.1.6/jquery.cycle2...)
at Object.addInitialSlides (https://cdnjs.cloudflare.com/ajax/libs/jquery.cycle2/2.1.6/jquery.cycle2...)
at HTMLDivElement. (https://cdnjs.cloudflare.com/ajax/libs/jquery.cycle2/2.1.6/jquery.cycle2...) undefined
E.Deferred.exceptionHook @ js_JdDZyreXZS34_ggTC4IlKzfpHoT2sadlDR0-kpbBq0I.js:2
t @ js_JdDZyreXZS34_ggTC4IlKzfpHoT2sadlDR0-kpbBq0I.js:2
setTimeout (async)
(anonymous) @ js_JdDZyreXZS34_ggTC4IlKzfpHoT2sadlDR0-kpbBq0I.js:2
c @ js_JdDZyreXZS34_ggTC4IlKzfpHoT2sadlDR0-kpbBq0I.js:2
fireWith @ js_JdDZyreXZS34_ggTC4IlKzfpHoT2sadlDR0-kpbBq0I.js:2
fire @ js_JdDZyreXZS34_ggTC4IlKzfpHoT2sadlDR0-kpbBq0I.js:2
c @ js_JdDZyreXZS34_ggTC4IlKzfpHoT2sadlDR0-kpbBq0I.js:2
fireWith @ js_JdDZyreXZS34_ggTC4IlKzfpHoT2sadlDR0-kpbBq0I.js:2
ready @ js_JdDZyreXZS34_ggTC4IlKzfpHoT2sadlDR0-kpbBq0I.js:2
$ @ js_JdDZyreXZS34_ggTC4IlKzfpHoT2sadlDR0-kpbBq0I.js:2
js_JdDZyreXZS34_ggTC4IlKzfpHoT2sadlDR0-kpbBq0I.js:2 Uncaught TypeError: e.indexOf is not a function
at E.fn.load (js_JdDZyreXZS34_ggTC4IlKzfpHoT2sadlDR0-kpbBq0I.js:2:85359)
at HTMLImageElement. (jquery.cycle2.js:1159:29)
at Function.each (js_JdDZyreXZS34_ggTC4IlKzfpHoT2sadlDR0-kpbBq0I.js:2:3003)
at E.fn.init.each (js_JdDZyreXZS34_ggTC4IlKzfpHoT2sadlDR0-kpbBq0I.js:2:1481)
at HTMLImageElement. (jquery.cycle2.js:1153:20)
at Function.each (js_JdDZyreXZS34_ggTC4IlKzfpHoT2sadlDR0-kpbBq0I.js:2:3003)
at E.fn.init.each (js_JdDZyreXZS34_ggTC4IlKzfpHoT2sadlDR0-kpbBq0I.js:2:1481)
at Object.d [as add] (jquery.cycle2.js:1139:60)
at Object.addInitialSlides (jquery.cycle2.js:96:18)
at HTMLDivElement. (jquery.cycle2.js:71:18)- 🇮🇳India heykarthikwithu Bengaluru 🌍
Hi @Nelo_Drup,
I have checked with Imagefield Slideshow module with 2.0.3 version and Drupal Core 10.1.1 version (enabling the core Layout Builder module, configured to a content type manage display along with change of the slideshow rendering position)
I'm was able to reproduce this error in the console (in one scenario)
- Place 2 image slides blocks in a one content type's layout and save the config changes
- Navigate to the sample content and we can see error in the console (If we flush caches then we are not able to see this error)
- This error is reproducible, in one case only when config changes are done and then navigated to content.
This needs a fix.
- Status changed to Needs work
over 1 year ago 9:45am 18 July 2023 #5 @heykarthikwithu The module at times stops working on that is, the fade effect is not activated and the images are seen separately, but if you are anonymous there is almost no failure
- 🇿🇦South Africa nravens
I have the same issue as in #6 where the images are seen separately most of the time when logged in and occassionally when not logged in.
I've using Drupal 10.2.3 and 2.0.4 of this module.
- Status changed to Needs review
6 months ago 10:47am 13 June 2024 - 🇮🇳India heykarthikwithu Bengaluru 🌍
Currently issue is fixed & not able reproduce in latest version 2.0.5 → , Can you re-check this?
I have tried to create this issue with "megamenu version 8.x-1.7, Quick Tabs 8.x-3.0-alpha5, Layout Builder: Tabs and Accordion 3.0.2" with Drupal 9.4 .8. but the issue is not reproduced. It is working fine.
I have attached the video for reference.
https://www.awesomescreenshot.com/video/31844724- 🇮🇹Italy antonio.cangemi
I have the same problem with the last version:
jquery.cycle2.js?v=1.x:608 [cycle2] --c2 init--
jquery.cycle2.js?v=1.x:608 [cycle2] pagerTemplate: (string)
jquery.cycle2.js?v=1.x:608 [cycle2] pager: #image-pager (string)
jquery.cycle2.js?v=1.x:608 [cycle2] captionPlugin: caption2 (string)
jquery.cycle2.js?v=1.x:608 [cycle2] loader: wait (string)
jquery.cycle2.js?v=1.x:608 [cycle2] next: #imagefield_slideshow-next-1729778151 (string)
jquery.cycle2.js?v=1.x:608 [cycle2] prev: #imagefield_slideshow-prev-921867564 (string)
jquery.cycle2.js?v=1.x:608 [cycle2] timeout: 4000 (number)
jquery.cycle2.js?v=1.x:608 [cycle2] speed: 1000 (number)
jquery.cycle2.js?v=1.x:608 [cycle2] fx: scrollHorz (string)
jquery.cycle2.js?v=1.x:608 [cycle2] pauseOnHover: true (boolean)
jquery.min.js?v=3.7.1:2 jQuery.Deferred exception: e.indexOf is not a function TypeError: e.indexOf is not a function
at ce.fn.load (https://localhost/core/assets/vendor/jquery/jquery.min.js?v=3.7.1:2:82864)
at HTMLImageElement. (https://localhost/modules/contrib/imagefield_slideshow/js/jquery.cycle2....)
at Function.each (https://localhost/core/assets/vendor/jquery/jquery.min.js?v=3.7.1:2:3129)
at ce.fn.init.each (https://localhost/core/assets/vendor/jquery/jquery.min.js?v=3.7.1:2:1594)
at HTMLImageElement. (https://localhost/modules/contrib/imagefield_slideshow/js/jquery.cycle2....)
at Function.each (https://localhost/core/assets/vendor/jquery/jquery.min.js?v=3.7.1:2:3129)
at ce.fn.init.each (https://localhost/core/assets/vendor/jquery/jquery.min.js?v=3.7.1:2:1594)
at Object.add (https://localhost/modules/contrib/imagefield_slideshow/js/jquery.cycle2....)
at Object.addInitialSlides (https://localhost/modules/contrib/imagefield_slideshow/js/jquery.cycle2....)
at HTMLDivElement. (https://localhost/modules/contrib/imagefield_slideshow/js/jquery.cycle2....) undefined
ce.Deferred.exceptionHook @ jquery.min.js?v=3.7.1:2
jquery.min.js?v=3.7.1:2 Uncaught TypeError: e.indexOf is not a function
at ce.fn.load (jquery.min.js?v=3.7.1:2:82864)
at HTMLImageElement. (jquery.cycle2.js?v=1.x:1159:33)
at Function.each (jquery.min.js?v=3.7.1:2:3129)
at ce.fn.init.each (jquery.min.js?v=3.7.1:2:1594)
at HTMLImageElement. (jquery.cycle2.js?v=1.x:1153:24)
at Function.each (jquery.min.js?v=3.7.1:2:3129)
at ce.fn.init.each (jquery.min.js?v=3.7.1:2:1594)
at Object.add (jquery.cycle2.js?v=1.x:1139:64)
at Object.addInitialSlides (jquery.cycle2.js?v=1.x:96:22)
at HTMLDivElement. (jquery.cycle2.js?v=1.x:71:22) - 🇮🇳India heykarthikwithu Bengaluru 🌍
Not able reproduce in latest version, Closing this issue - In case issue persist, it good to open with steps to reproduce.