Search…

X3 Photo Gallery Support Forums

Search…
 
MassimoConti
Posts: 5
Joined: 19 Jun 2011, 05:37

Re: Multi lingual

25 Jun 2011, 01:41

Button Bar v1.1beta

very useful idea.
Only a question
on my gallery http://www.studiopescatore.ge.it which is not a real photo gallery, I use the butto bar and a simple code in the main page to chane themes.
Is it possible for then langage bar to remember the current theme?

best regards
 
User avatar
Artur
Imagevue PowerPack
Posts: 510
Joined: 20 May 2011, 03:17

Re: Multi lingual

25 Jun 2011, 10:08

It's possible to make code which switch language without changing theme and current viewed page, but i'ts need custom work (code for a specific page) , because current code dividing basic url into elements between "/", and then cut off language element (if exist). So if language element is deleted, then also theme is deleted, because they are always together:
Code
http://www.studiopescatore.ge.it/?language=english&?c=gallery&theme=PersimmonStudio#/...
Element1:
Code
http:/
Element2:
Code
//
Element3:
Code
/www.studiopescatore.ge.it/
Element4 (which is cuted off, and replaced to : /?language=italian#/ when language is changed)
Code
/?language=english&?c=gallery&heme=PersimmonStudio#/
Of course, it's possible to make this automatic, for example - when language element is extracted from url (between "/"), then switch extraction for this element between "&" character, and replace only language section of this element... but then it need a lot of coding, and I am not so good AS2 coder... :wink:
And second reason why I am skeptical of this feature is that more code = heavier module, but this module should be as light as possible, so not slow down gallery...

BTW, In my opinion you should provide for your "watchers" one theme which will not distract attention, because now, they will play with your site, instead of see it's contents :wink:
 
MassimoConti
Posts: 5
Joined: 19 Jun 2011, 05:37

Re: Multi lingual

25 Jun 2011, 14:28

ALL CLEAR

MANY THANKS