I have changed the 'autoplay' value in catalog\view\theme\default\template\extension\module\slideshow.twig in Version 3.0.2.0 but it does not appear to make any difference to the speed of the slider. Any ideas please?
Hi cyclops12
Thanks for your reply. I had done that but although the length of time a slide shows varies according to the value I input I cannot get it to make a difference to the speed of the transition between slides which I want to slow down. I am guessing there may be another setting for this but whatever I change it does not appear to have an effect.
Thanks for your reply. I had done that but although the length of time a slide shows varies according to the value I input I cannot get it to make a difference to the speed of the transition between slides which I want to slow down. I am guessing there may be another setting for this but whatever I change it does not appear to have an effect.
Aha i see.......
well after a bit of searching i found it.
In catalog/view/javascript/jquery/swiper/js/swiper.jquery.js around line 30 you should find
This is the transition speed (default 300ms)
hope this helps
well after a bit of searching i found it.
In catalog/view/javascript/jquery/swiper/js/swiper.jquery.js around line 30 you should find
Code: Select all
speed: 300,
hope this helps
Hi, my question is nearly identical and I was hoping the same slider.jquery.js would have an obvious spot for this but I'm currently blind to it if it's in there. Using the suggestion above it was easy to slow down the "transition". It appears to then hold on a slide for about 4 seconds before the next slide. That doesn't allow time for reading the slide so I want to now adjust the delay between transitions similarly.
I did adjust the transition from 300ms (zooming by in .3 seconds) to a slow and easy full 3000ms (3 seconds) now if I can get it to hold on each slide for 10 seconds instead of 4 my work is done. Well, not all of it. ... I'd imagine the same file holds the clue to that. If I find it I'll update my post but if I haven't and you know it, please tell.
I was able to find this in the file and on the site allegedly of the authors of swiper but it isn't helping.
In swiper.jquery.js:
I replaced the default "False" with numbers 10000 to try and freeze on each slide for 10 seconds but that didn't seem to make a difference.
I scanned through the rest of the file but didn't see clues. Must be getting that parameter from somewhere right? It appears to have something set to 4000, but what? and where?
I did adjust the transition from 300ms (zooming by in .3 seconds) to a slow and easy full 3000ms (3 seconds) now if I can get it to hold on each slide for 10 seconds instead of 4 my work is done. Well, not all of it. ... I'd imagine the same file holds the clue to that. If I find it I'll update my post but if I haven't and you know it, please tell.
I was able to find this in the file and on the site allegedly of the authors of swiper but it isn't helping.
In swiper.jquery.js:
Code: Select all
32. autoplay: false,
33. autoplayDisableOnInteraction: true,
34. autoplayStopOnLast: false,
I scanned through the rest of the file but didn't see clues. Must be getting that parameter from somewhere right? It appears to have something set to 4000, but what? and where?
StormDesigns, Inc. Website Design and Web Application Development - plus graphic design and print media.
www.StormDesigns.com
In V3 to change swiper speed
Transition time ( time it takes to slide to next slide)
in /catalog/view/javascript/jquery/swiper/js
change speed on line 30 (in ms)
Delay time ( time the slide is still)
in /catalog/view/theme/default/template/extension/module/slideshow.twig
change autoplay on line 22 (in ms)
Transition time ( time it takes to slide to next slide)
in /catalog/view/javascript/jquery/swiper/js
change speed on line 30 (in ms)
Delay time ( time the slide is still)
in /catalog/view/theme/default/template/extension/module/slideshow.twig
change autoplay on line 22 (in ms)
Working for 2.1.0.2 & similar version.
1. Find the below file
catalog/view/theme/default/template/module/slideshow.tpl
2. And Change the value of autoPlay: 6000,
1. Find the below file
catalog/view/theme/default/template/module/slideshow.tpl
2. And Change the value of autoPlay: 6000,
Hi,
does anybody know how to change the time a slide stays on, in the home slideshow for an Opencart installation version 3.0.2.0? I have tried to change the line 22 of the file slideshow.twig in the folder catalog\view\theme\default\template\extension\module, but it doesn't do the trick. In fact, any changes done to this file is not taken into account. You can change the number of slides per view, the autoplay value... I don't know from where these values are taken in the application, but not from this file.
Any help is welcome.
does anybody know how to change the time a slide stays on, in the home slideshow for an Opencart installation version 3.0.2.0? I have tried to change the line 22 of the file slideshow.twig in the folder catalog\view\theme\default\template\extension\module, but it doesn't do the trick. In fact, any changes done to this file is not taken into account. You can change the number of slides per view, the autoplay value... I don't know from where these values are taken in the application, but not from this file.
Any help is welcome.
Line 22 is exactly the line to change.open_user wrote: ↑Tue Jun 12, 2018 6:06 pmHi,
does anybody know how to change the time a slide stays on, in the home slideshow for an Opencart installation version 3.0.2.0? I have tried to change the line 22 of the file slideshow.twig in the folder catalog\view\theme\default\template\extension\module, but it doesn't do the trick. In fact, any changes done to this file is not taken into account. You can change the number of slides per view, the autoplay value... I don't know from where these values are taken in the application, but not from this file.
Any help is welcome.
Make sure you clear all caches afterwards to see changes
Hi,cyclops12 wrote: ↑Wed Jun 13, 2018 1:03 amLine 22 is exactly the line to change.open_user wrote: ↑Tue Jun 12, 2018 6:06 pmHi,
does anybody know how to change the time a slide stays on, in the home slideshow for an Opencart installation version 3.0.2.0? I have tried to change the line 22 of the file slideshow.twig in the folder catalog\view\theme\default\template\extension\module, but it doesn't do the trick. In fact, any changes done to this file is not taken into account. You can change the number of slides per view, the autoplay value... I don't know from where these values are taken in the application, but not from this file.
Any help is welcome.
Make sure you clear all caches afterwards to see changes
No, it didn't work, even when I cleared the cache. I finally got a solution, it is not the best solution, but force brute works:
The time the slide stays on can be modified in catalog/view/javascript/jquery/swiper/js/swiper.jquery.js:
In line 614, replace the value of var autoplayDelay with 10000 (ms).
var autoplayDelay= 10000; //s.params.autoplay;
This helped me! Thank you!!Hi,
No, it didn't work, even when I cleared the cache. I finally got a solution, it is not the best solution, but force brute works:
The time the slide stays on can be modified in catalog/view/javascript/jquery/swiper/js/swiper.jquery.js:
In line 614, replace the value of var autoplayDelay with 10000 (ms).
var autoplayDelay= 10000; //s.params.autoplay;
(I also use Open Cart 3.0.2.0)
I think you need to change the autoplay settings in Design>Theme Editor>Extension/module/slideshow rather than going into your server files and folders.
I set mine to autoplay 3000 and gives plenty of time for reading before zooming on to the next slide. Wish I could have a nicer transition choice between slides.
I set mine to autoplay 3000 and gives plenty of time for reading before zooming on to the next slide. Wish I could have a nicer transition choice between slides.
Line 22 works in v3.0.3.2, thank you!rebeccag wrote: ↑Thu Feb 01, 2018 1:58 pmIn V3 to change swiper speed
Transition time ( time it takes to slide to next slide)
in /catalog/view/javascript/jquery/swiper/js
change speed on line 30 (in ms)
Delay time ( time the slide is still)
in /catalog/view/theme/default/template/extension/module/slideshow.twig
change autoplay on line 22 (in ms)
Who is online
Users browsing this forum: adycobra2003, OSWorX and 412 guests