Page 1 of 1

Site Menu link to new config file problem.

Posted: 30 Sep 2006, 19:26
by Christopher
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

Posted: 01 Oct 2006, 15:59
by mjau-mjau
When using complex strings in a value, embrace it with "quotation marks". Something like this:
Code
link1clickdata = "?configfile=config2.ini"

Posted: 01 Oct 2006, 16:38
by Christopher
Excellent,

That worked, appreciate the help!

Christopher

problem with safari

Posted: 21 Dec 2006, 11:42
by kimco
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

Re: problem with safari

Posted: 21 Dec 2006, 11:58
by Nick
Then "index.php?configfile=..."

Posted: 29 Jan 2007, 08:31
by kimco
don't undertand your answer :?

Posted: 29 Jan 2007, 09:22
by Nick
link1clickdata = "index.php?configfile=config2.ini"