Flashblocks Flash CMS
Welcome, Guest
Please Login or Register.    Lost Password?
Re:language switch on splash page (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: Re:language switch on splash page
#5197
guild ()
User Offline Click here to see the profile of this user

 
language switch on splash page 2 Months, 1 Week ago
Hi all,

I'm fighting with the language management system. It works great for sure but I was wondering if there was a way to allow language switch before entering the site ? From a splash page like that :

www.mywebsite.com/index.html
//where users select their language

www.mywebsite.com/mycontent.html
// contains my .swf with flashblocks in it, etc

Any idea ?

Thanks!

Guildo
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5198
admin ()
User Online Now Click here to see the profile of this user
Flashblocks Birthdate: 2005-02-14
 
Re:language switch on splash page 2 Months, 1 Week ago
You you can do that. Is your splash page HTML or Flash?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5199
guild ()
User Offline Click here to see the profile of this user

 
Re:language switch on splash page 2 Months, 1 Week ago
The splash page is just plain html with css. Ideally I'll have : one link to the language 1 and one link to the language 2.
thanks!

Guildo
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/08/06 03:40 By guild.
  The administrator has disabled public write access.
#5200
admin ()
User Online Now Click here to see the profile of this user
Flashblocks Birthdate: 2005-02-14
 
Re:language switch on splash page 2 Months, 1 Week ago
You will need a way to pass the choice to the mycontent page. I would use php to retrieve the choice at mycontent.php. And then pass the choice to the flash movie via swfobject's variables. So you html/php would look something like this on the receiving end.
Code: :

  var vars = {language:'>?php echo $_GET["p"]; ?>'}; var params = {}; var attributes = {id:'flashObject'name:'flashObject'};          swfobject.embedSWF("movie.swf""flashcontent""100%""100%""8.0.0"null,varsparamsattributes );

 
Report to moderator   Logged Logged  
 
Last Edit: 2008/08/07 01:49 By admin.
  The administrator has disabled public write access.
#5201
guild ()
User Offline Click here to see the profile of this user

 
Re:language switch on splash page 2 Months, 1 Week ago
thanks a lot for the direction, I'm back to the flash help for a better understanding of the whole process. I'll post the result of my research soon.

Guildo
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5204
admin ()
User Online Now Click here to see the profile of this user
Flashblocks Birthdate: 2005-02-14
 
Re:language switch on splash page 2 Months ago
The key is learning how to pass and receive variables with php via 'get' and learning how to pass variables into flash with swfobject. A google search on each subject will bring up many tutorials. It is easier then it may sound.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5208
guild ()
User Offline Click here to see the profile of this user

 
Re:language switch on splash page 2 Months ago
Damn, each time i'm surprised by the quality of the support. I'm still searching btw.
Many thanks :)
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5262
guild ()
User Offline Click here to see the profile of this user

 
Re:language switch on splash page 1 Month, 3 Weeks ago
hey,

I can't find any working solution after a few hours spent on that problem so I'm back to an old school solution.

I'm still curious to understand how it works and if anybody has an idea that could be great!

Many thanks!

Guild
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5264
admin ()
User Online Now Click here to see the profile of this user
Flashblocks Birthdate: 2005-02-14
 
Re:language switch on splash page 1 Month, 3 Weeks ago
Here is an example.
File Attachment:
File Name: get.zip
File Size: 620
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/08/18 22:51 By admin.
  The administrator has disabled public write access.
#5301
guild ()
User Offline Click here to see the profile of this user

 
Re:language switch on splash page 1 Month, 3 Weeks ago
hi,

Thanx for the example it's way better to have to check at only one file, instead of tutorials everywhere! I have a better understanding of the process now...and the problem is solved as my client is satisfied with another solution.

Thanks a lot

Guild
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop

Thank you