Call Fotorama gallery in multilanguage site?
Moderator: Tata
Call Fotorama gallery in multilanguage site?
Standard to call = {{{PLUGIN:fotorama('1');}}} where '1' is the gallery name.
Same code in the French version gives 'Datei konnte nicht gefunden werden'.
Thx
Same code in the French version gives 'Datei konnte nicht gefunden werden'.
Thx
Re: Call Fotorama gallery in multilanguage site?
Which version of Fotorama do you use?
Christoph M. Becker – Plugins for CMSimple_XH
Re: Call Fotorama gallery in multilanguage site?
In every language you have to rebuild the gallery, i.e. under Plugins > Fotorama > Galleries. Then an XML file is created in./content/fr/yourgalleriename.xml (Example for French).
But have a look at the extended plugin of Fotorama, which is more comfortable to use. Downloadcode can be found her.
But have a look at the extended plugin of Fotorama, which is more comfortable to use. Downloadcode can be found her.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“ Ludwig's XH-Templates for MultiPage & OnePage
Re: Call Fotorama gallery in multilanguage site?
I'm using version 1.7. The solution to rebuild the galleries per language is perfect, since photos in the gallery don't often change, so this is just a small effort. Thanks.
Re: Call Fotorama gallery in multilanguage site?
That's the extended version from Ingo. The Plugincall should be:
Code: Select all
{{{fotorama("yourgalleriename");}}}
Faster, you can simple copy folder ./content/fotorama to ./content/fr
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“ Ludwig's XH-Templates for MultiPage & OnePage
Re: Call Fotorama gallery in multilanguage site?
Thanks all, works great, nice plugin!
A remark, something I noticed. When testing in Internet Explorer 11, when you go to a page (or refresh page) where fotorama is situated, a full width image is displayed, outside website width (just in a 'flash', very quickly restores to the textarea width on the website).
Other browsers don't seem to have this 'problem'.
No disaster, but maybe just small adjustment needed to solve this minor issue.
A remark, something I noticed. When testing in Internet Explorer 11, when you go to a page (or refresh page) where fotorama is situated, a full width image is displayed, outside website width (just in a 'flash', very quickly restores to the textarea width on the website).
Other browsers don't seem to have this 'problem'.
No disaster, but maybe just small adjustment needed to solve this minor issue.
Re: Call Fotorama gallery in multilanguage site?
I can not reproduce that, in IE11 it looks normal
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“ Ludwig's XH-Templates for MultiPage & OnePage
Re: Call Fotorama gallery in multilanguage site?
There are likely issues with the Fotorama library which are not related to the CMSimple_XH plugin, and it seems that Fotorama is unmaintained for quite some time now.
Christoph M. Becker – Plugins for CMSimple_XH
Re: Call Fotorama gallery in multilanguage site?
Only a small issue, I will use the plugin anyway. It's only IE that gives this minor error.
Once the page is opened, the gallery acts 'normal'. It's almost invisible, just a flash not even a second..
Once the page is opened, the gallery acts 'normal'. It's almost invisible, just a flash not even a second..
Re: Call Fotorama gallery in multilanguage site?
Yes, and here might be the solution to Nicky's problem, see here too.
The first link is even linked to a video that shows exactly this problem.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“ Ludwig's XH-Templates for MultiPage & OnePage