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
Hello,
I use CE4 Publisher with CE4 auto index and CE4 Pages to create my templates.
How can I change Next(right Arrow key) and Previous(Left Arrow key) in a slideshow ?
I live in France, and I would have Pécédente(flèche gauche) and Suivante(Flèche droite) instead of Next(right Arrow key) and Previous(Left Arrow key).
Is-it possible to make this change and how ?
Thanks
Jl Nony
Offline
I don't see anything in CE4 Gallery to customize the tool-tip for the slideshow so it's probably going to require some customization via phplugins. (If you've not enabled phplugins site-wide yet, it certainly can't hurt to do so now)
You'd have to replace the title attribute of each arrow. I think it can be done with jQuery. If I have time I'll see if I can come up with some code. Or maybe Matt will have a better idea.
Which presentation are you using for your galleries?
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.
My web site is here : www.jlnony.fr/photos/
In LargeImagePresentation : I have Magnific Popup
Do we speak about the same thing?
Offline
Do we speak about the same thing?
I'm guessing your talking about the tool-tips you see when hovering over the arrows.
I'm thinking it will take some jQuery to change the title attribute for the buttons (the arrows in Magnific are html buttons).
If I get some time I'll see if I can come up with something easy. Or maybe Matt will chime in with an easier solution.
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 think of having solved the problem.
After you ave said, "the arrows in Magnific are html buttons, in my gallery template, I looked for files .php and .js and I searched "Previous (Left arrow key)" and "Next (Right arrow key)" . I found them in this files :
- magnific.js - index.php - mobile.php - template_cart.php - template_index.php - template_mobile.php - template_single.php
In all this files, I changed "Previous (Left arrow key)" with "Précédente (flèche gauche)" and "Next (Right arrow key)" with "Suivante (flèche droite)", then Then, I saved them on the server.
At first sight it seems to work.
I hope to have forgotten nothing
Offline
That will work, but it will be overwritten next time you update your template. That's why I prefer coming up with solutions that don't depend on editing all those files after every time I export.
If I can come up with something I'll let you know. I may wait to see what Matt says as he usually has easier solutions.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Should be changed on lines 207-208 of magnific.cfg.js, located in /lib/js in the plugin.
I might make localization options in a future update.
Offline
Thank you Matthew.
But I don't find magnific.cfg.js in /lib/js. Where is this file ?
I use the last version of CE4 Web Publishing bundle.
Cordially
Offline
You should be looking in the CE4-Gallery.lrwebengine plug-in
It's located wherever you installed it for your OS:
http://ce4.theturninggate.net/docs/doku … nstall_ce4
I suggest making a copy of the edited file and keeping it in another folder. Next time there's a CE4 Gallery update you can then just replace the file in the new version of Gallery with the one you've changed.
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 for all !
Offline
Pages: 1