Page 1 of 1

Integration with html and use of a different config.ini file

Posted: 06 Oct 2006, 09:16
by MikeR
Hi,

I made an html page (with help of your html templates) wich call imagevue.swf and config.ini.

http://michelrajkovic.ovh.org/

I have a sitemenu wich call other configuration (englishversion=configenglish.ini)

In sitemenu.ini
link5clickdata = "?configfile=configenglish.ini"

This works well before I made my html page, but now nothing appens
(same thing for button "Couleurs Corse" and "Chili Atacama")

What's wrong ?
The link in sitemu.ini ? Or the html page source (I'm beginner in HTML) ?

Thanks

Posted: 06 Oct 2006, 10:36
by mjau-mjau
Hi MikeR,

The reason it doesnt work, is because HTML cant pass the parameter ?configfile=configenglish.ini to the SWF. Thats one of the reasons we use PHP for our default Imagevue containers (Ex. www.photo.gallery/imagevue/index.php?showmenu=false), so that we can pass parameters directly in the URL.

There are several ways to workaround this. If I was you, I would simply duplicate your index.html, and call it english.html. In the new file, you need to forward the necessary parameter directly in the source code. Locate the following lines, and change them:
Code
flashvars="configfile=config.ini"
into
Code
flashvars="configfile=config.ini&configfile=configenglish.ini"
Keep in mind, the code above "flashvars" occurs twice in your document, change it in both places. In your sitemenu.ini you need to change your link for the english gallery into:
Code
link5clickdata = "english.html" 

Posted: 06 Oct 2006, 11:04
by MikeR
Great - Thanks a lot :D