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
Hi all,
how can I activate dataSort: 'random' in the Galleria slideshow?
Do I have to do it in the galleria-1.5.7.min.js and if, how?
Best regards,
Oliver
Offline
See this:
https://ttg-tips-and-tricks.barbeephoto … ide-shows/
It’s not the same issue but it might point you in the right direction
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thank you Rod, that did the trick! :-)
Offline
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Oliver,
Do you mind sharing how you got this working? I'm trying to do the same thing.
Thanks,
Kyle
Kyle Lucy Photography
kylelucy.com
Offline
Are you editing the file mentioned in my tutorial with a plain text editor?
You can add dataSort:‘random’ in place of or in addition to the code mentioned in that post.
Be sure to clear Backlight’s Template cache after uploading the edited file.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Got it, thank Rod. I didn't know to clear the template cache; it's working now.
Kyle Lucy Photography
kylelucy.com
Offline
Is this an option that could be added to the Galleria frontend? If we modify the file, it will be overwritten every update. It looks like the transition speed was added in the last update.
Kyle Lucy Photography
kylelucy.com
Offline
Hello all,
same thing works in the new & fantastic Backlight3 :-)
Just add -> dataSort: 'random', <- like below:
Galleria.addTheme({
name: 'pangolin-inline',
version: 1.5,
author: 'The Turning Gate',
defaults: {
clicknext: true,
debug: false,
fullscreenCrop: false,
imageCrop: true,
maxScaleRatio: undefined,
preload: 2,
responsive: true,
thumbnails: false,
transition: 'fade',
dataSort: 'random',
},
Offline
Pages: 1