Author |
Topic |
|
tcadieux
Junior Member
153 Posts |
Posted - 24 August 2002 : 22:25:19
|
I just wanted to add 1 new link to my Forum, so i edited my lang.asp file and created a new entry which looks like this
strLangGreet00010 = "Cartes de Souhaits" '"Greeting Cards"
However, when i goto my Forum, and view the Source, it looks like this...
<a href="greeting_cards.asp"><acronym title=""></acronym></a>
however, if i pick any other strLang variable and add it to my inc_top.asp instead, it works!!!
this is the code in my inc_top.asp.....what am i doing wrong??
Response.Write " <a href=""" & "greeting_cards.asp" &"""><acronym title=""" & fLang(strLangGreet00010) & """>" & fLang(strLangGreet00010) & "</acronym></a>" & vbNewline & _ " |" & vbNewline
< |
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 24 August 2002 : 23:01:11
|
It is possible that you may have your lang file being cached somewhere and it may take some time to have it updated by the new version. Maybe temporarily rename the file and try to view any forum page, to see if there is caching at your server.
If it's not that, make sure you made no mistakes when you defined the variable. The code in inc_top.asp should be Ok, since you can use any other variable, so I'm thinking that it must a problem with the constant definition.
< |
Snitz 3.4 Readme | Like the support? Support Snitz too |
Edited by - ruirib on 24 August 2002 23:01:55 |
|
|
tcadieux
Junior Member
153 Posts |
Posted - 24 August 2002 : 23:21:33
|
thanx, i knew i couldn't be that stoopid!! < |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
Deleted
deleted
4116 Posts |
Posted - 25 August 2002 : 07:23:30
|
Try these:
* Define the variable in config.asp such as: DIM strLangGreet00010 but put that near the point v4 related stuff starts, not to the end.
* Make sure you have that variable in all LANG files you use (if you have multiple).
< |
Stop the WAR! |
|
|
|
Topic |
|