Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 <%= getlang...> in content html
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

elvis
VP-CART Super User

202 Posts

Posted - August 23 2008 :  06:30:45  Show Profile  Reply with Quote
I added "langauthenticity" to languages in English and Norwegian
And added the following code in content html.

<p><a href="shopcontent.asp?type=authenticity" target="_self"><%= getlang("langauthenticity")%></a></p>

but the outcome is <%= getlang("langauthenticity")%> with link.

It does not change to English. Am I missing anything here?

Help please.

Thanks in advance.

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - August 25 2008 :  04:16:20  Show Profile  Reply with Quote
Make sure that you clicked reset language after you added your new language record, and if you're using the record as a link try:
<%=Server.HTMLEncode(getlang("langauthenticity"))%>

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

elvis
VP-CART Super User

202 Posts

Posted - August 25 2008 :  12:16:55  Show Profile  Reply with Quote
Thanks Carrol,

I have done all you suggested, but it doesn't change at all.
I still have raw code displayed.
I have reset language and reload the shop config as well.
It could be something to do with server??
I have to use ticket.
Mmmmmm

Go to Top of Page

madbug
VP-CART New User

130 Posts

Posted - August 30 2008 :  01:18:49  Show Profile  Reply with Quote
Unfortunately you cannot insert asp syntax in the tmp_content.htm page, your code should be

<p><a href="shopcontent.asp?type=authenticity" target="_self">[getlang langauthenticity]</a></p>
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00