Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Customer registration form
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

willy99
VP-CART New User

Italy
108 Posts

Posted - December 09 2008 :  10:33:48  Show Profile  Reply with Quote
Dear,

I need to change same text in the customer registration form because is not well translate in my language (Italian).

I need also to create a new Keyword "langcustfirstname2".

I'd like to know which is the file (?.asp, ?.html) I need to edit in order to add the keyword.

I will appreciate your help, thanks.

thedtb
Starting Member

United Kingdom
21 Posts

Posted - December 10 2008 :  06:39:35  Show Profile  Reply with Quote
In the admin interface, go to "Everyday Tasks" > "Edit Tables" > select the "languages" table...

Search for the caption you wish to change and amend it accordingly.

To add a new record, hit "Add a record" at the top left and create your new record.

To display the new record on the relevant page, edit the relevant template and put [getlang langcustfirstname2] where you want the new caption you created to appear.

Regards

David
Go to Top of Page

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - December 10 2008 :  07:19:40  Show Profile  Reply with Quote
Hi,

the customer registration form does not use a template. It uses a code sub routine called Sub ShopCustomerForm which can be found if you open the file shopcustomerform.asp in a text or html editor.

Find the line:
CreateCustRow getlang("langCustFirstname"), "strfirstname", strfirstname,"Yes"

You can change the langCustFirstname to your new language record langCustFirstname2 if required.

Regards,

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

thedtb
Starting Member

United Kingdom
21 Posts

Posted - December 10 2008 :  07:22:30  Show Profile  Reply with Quote
quote:
Originally posted by carfin

the customer registration form does not use a template.



My mistake... sorry :-)
Go to Top of Page

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - December 10 2008 :  08:54:06  Show Profile  Reply with Quote
No problem



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

willy99
VP-CART New User

Italy
108 Posts

Posted - December 11 2008 :  05:24:01  Show Profile  Reply with Quote
Thanks to Carfin and thedtb
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