macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

Re: (beginner) Coldfusion: variable to change language

Subject: Re: (beginner) Coldfusion: variable to change language
From: "Jerrzzzz" <webforumsuser@xxxxxxxxxxxxxx>
Date: Thu, 31 Jul 2008 13:52:16 +0000 (UTC)
Newsgroups: macromedia.coldfusion.cfml_general_discussion

Woah, fast answers.

 Thing is, I think that this page may not be constructed in the best way (I'm 
certainly not gonna try and redo it, as I only have a few more weeks on this 
job and know next to zero about CF)

 <cfset language = "new language">  

 This was how I wrote it in application.cfm. I then tried to change that 
parameter with a link <a href="application.cfm?language=eng">English</a> This, 
however, doesnt work. I guess that is totally wrong. The thing is that the html 
for the header and footer is included in application.cfm, while the material 
between is loaded from a database.

 When you say "set default value" etc it would help if you write the code doing 
that, as I don't really know how.





<Prev in Thread] Current Thread [Next in Thread>