Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
Is there a way to pause a vegas slideshow? I'm trying to trace something in the inspector but the lines concerning the slideshow keep moving/changing as the slides change. Difficult to isolate a particular line.
Offline
Are the Vegas controls enabled? They need to be enabled for the playback controls to show.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I enabled the controls. I even disabled the autoplay feature. And still no control over the slideshow.
I'm trying to vary the transition time in http://lucnadeau.ca/en/gallery-theater/ and http://lucnadeau.ca/fr/theater/
The unique CSS file is in the portal at lucnadeau.ca/backlight/custom/css/lucnade.css
Offline
Try clearing the template cache. That sometimes needs to be done when making changes to Theater templates.
And it always needs to be done if you’re changing the Vegas code to adjust the fade transition times.
The transition time is not controlled by css: http://community.theturninggate.net/vie … hp?id=8593
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I tried this method first. Added the line straight as is, at 5000 transition time. And cleared the cache.
transition: '<?php echo $model->value('presentation.vegas.transition') ?>',
transitionDuration: 5000,
I'll try it again.
Last edited by pideja (2018-05-11 23:33:29)
Offline
I now changed the transition Duration to auto, as per the Vegas documentation. Still no change.
UPDATE: now I lost the slides on the French side!
Last edited by pideja (2018-05-11 23:49:07)
Offline
when you edited the file, did you upload it again to your site? Because it's not showing up in the page source code.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Yes, and I even copied the exact corresponding file from the English side (that works) and saved. Still no slides.
Offline
I now changed the transition Duration to auto, as per the Vegas documentation. Still no change.
UPDATE: now I lost the slides on the French side!
I see that slideDuration: auto, made it into that slide show.
you could try putting auto in single quotes.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Yes, and I even copied the exact corresponding file from the English side (that works) and saved. Still no slides.
they dont' seem to be the same. This is the pertinent code from the English site:
var slideshow = '.gallery';
$(slideshow).vegas({
autoplay: true,
color: '#eeeeee',
cover: true,
delay: 2500,
overlay: false,
shuffle: false,
timer: false,
transition: 'fade2',
slides: [
and this is the code from the french side:
var slideshow = '.gallery';
$(slideshow).vegas({
autoplay: true,
color: '#eeeeee',
cover: true,
delay: 5000,
overlay: false,
shuffle: false,
timer: false,
transition: 'fade2',
transitionDuration: auto,
slides: [
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
After many cleared cache sequences got it up and running in both 10000 and auto transitionDurations.
Thanks Rod
Offline
I just tested it. Looks like auto needs to be in single quotes for it to work: 'auto'
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Pages: 1