angey Posted May 27, 2003 Posted May 27, 2003 I have a had some help from somone who told me how to rename a box in create an account but when im in my admin section and i goto customers to look at there details the box dosent seem to be renamed in there and it gets a little confusing, can anyone tell me how to change the name of the feild so it shows up the same as in create an account!
Daemonj Posted May 27, 2003 Posted May 27, 2003 On the admin side, the details are in admin/customers.php file. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
angey Posted May 28, 2003 Author Posted May 28, 2003 Thank you but what bit do i change? Im not very good at php codes! Also on date of birth, it comes up in create an account where it has to be input mm/dd/yyyy and i would like it dd/mm/yyyy so what do i have to change for that to work? Also if i swap some boxes round in create an account so i have the city before the postcode etc how do i change the feilds round in the error bits as i have a javascript that pops up and tells you that you must have so many characters in the postcode feild but now ive changed them round it looks a bit daft because people would get confused thinking well ive put that many characters in the postcode feild but it really means the city feild, you know what i mean?
Daemonj Posted May 28, 2003 Posted May 28, 2003 Thank you but what bit do i change? Im not very good at php codes! If it is just the text of the field (like the name for it), then look in admin/includes/languages/[language].php and find the entry that you would like to change. Also on date of birth, it comes up in create an account where it has to be input mm/dd/yyyy and i would like it dd/mm/yyyy so what do i have to change for that to work? That would take a lot of changing. Is it really that important? Also if i swap some boxes round in create an account so i have the city before the postcode etc how do i change the feilds round in the error bits as i have a javascript that pops up and tells you that you must have so many characters in the postcode feild but now ive changed them round it looks a bit daft because people would get confused thinking well ive put that many characters in the postcode feild but it really means the city feild, you know what i mean? The order that the fields appear has nothing to do with the validation routine. Each field is named and that is how the information is referenced. So long as you do not change the name of the field then everything will be okay. Please note that the name of the field is not related to the field text. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
Guest Posted May 28, 2003 Posted May 28, 2003 Thank you but what bit do i change? Im not very good at php codes! Also on date of birth, it comes up in create an account where it has to be input mm/dd/yyyy and i would like it dd/mm/yyyy so what do i have to change for that to work? http://www.oscommerce.com/forums/viewtopic.php?t=33633 there you go :wink:
Daemonj Posted May 28, 2003 Posted May 28, 2003 Thank you but what bit do i change? Im not very good at php codes! Also on date of birth, it comes up in create an account where it has to be input mm/dd/yyyy and i would like it dd/mm/yyyy so what do i have to change for that to work? http://www.oscommerce.com/forums/viewtopic.php?t=33633 there you go :wink: Thank you very much for that information! "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
Recommended Posts
Archived
This topic is now archived and is closed to further replies.