Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
Christopher
Experienced
Topic Author
Posts: 213
Joined: 30 Sep 2006, 18:58

Site Menu link to new config file problem.

30 Sep 2006, 19:26

Evening all from Denmark!

I'd like to add a link to my current site menu that references a new config file. In actual practice, to make a language change so that the viewer can change between English and Swedish languages from the site menu.

Problem: When using the '=' parameter the code is cutoff and the sitemenu is broken.

For example: "link1clickdata = ?configfile=config2.ini" doesn't work irregardless of the actual location of the config2.ini, it's the '=' sign that breaks the code.

Other solutions are welcome, but am gunning for including the option in the sitemenu, no where else

Thanks!
Christopher
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14008
Joined: 30 Sep 2006, 03:37

01 Oct 2006, 15:59

When using complex strings in a value, embrace it with "quotation marks". Something like this:
Code
link1clickdata = "?configfile=config2.ini"
 
User avatar
Christopher
Experienced
Topic Author
Posts: 213
Joined: 30 Sep 2006, 18:58

01 Oct 2006, 16:38

Excellent,

That worked, appreciate the help!

Christopher
 
kimco
Experienced
Posts: 55
Joined: 03 Oct 2006, 18:12

problem with safari

21 Dec 2006, 11:42

hi

With safari big problem :
exemple of URL with your method :

http://www.google.fr/site/index.php?con ... onfig2.ini? :shock:

on the other browser > no problem
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: problem with safari

21 Dec 2006, 11:58

Then "index.php?configfile=..."
firedev.com
 
kimco
Experienced
Posts: 55
Joined: 03 Oct 2006, 18:12

29 Jan 2007, 08:31

don't undertand your answer :?
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

29 Jan 2007, 09:22

link1clickdata = "index.php?configfile=config2.ini"
firedev.com