halltristan Posted October 27, 2006 Posted October 27, 2006 Whenever I go to the create and account area, I've noticed that in between the address line and the state line is a post code. Shouldn't is be zip code (for those of us in the US)? Is there anyway to make it say "zip code" instead of post code and is there any way to move it under "state" - where it realy should be?
desidil4ever Posted October 27, 2006 Posted October 27, 2006 go to /includes/languages/english.php and search for define('ENTRY_POST_CODE', 'Post Code:');define('ENTRY_POST_CODE_ERROR', 'Your Post Code must contain a minimum of ' . ENTRY_POSTCODE_MIN_LENGTH . ' characters.'); change it to define('ENTRY_POST_CODE', 'Zip Code:');define('ENTRY_POST_CODE_ERROR', 'Your Zip Code must contain a minimum of ' . ENTRY_POSTCODE_MIN_LENGTH . ' characters.'); Simple Add-ons Please add simple plain tips here for others.
ComicWisdom Posted October 27, 2006 Posted October 27, 2006 Whenever I go to the create and account area, I've noticed that in between the address line and the state line is a post code. Shouldn't is be zip code (for those of us in the US)? Is there anyway to make it say "zip code" instead of post code and is there any way to move it under "state" - where it realy should be? HI Hallstran, Almost all of the standard English phrases in the program catalog/includes/languages/english.php. If they are not there, you will find them in catalog/includes/languages/english/nameoftheprogram.php This is in english.php. Just change this line to say zip code instead of post code. define('ENTRY_POST_CODE', 'Post Code:'); For the swith in line position, you go to catalog/create_account.php. Find these lines: <tr> <td class="main"><?php echo ENTRY_POST_CODE; ?></td> <td class="main"><?php echo tep_draw_input_field('postcode') . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_CITY; ?></td> <td class="main"><?php echo tep_draw_input_field('city') . ' ' . (tep_not_null(ENTRY_CITY_TEXT) ? '<span class="inputRequirement">' . ENTRY_CITY_TEXT . '</span>': ''); ?></td> </tr> And reverse the order of the content of the html cells, like this: <tr> <td class="main"><?php echo ENTRY_CITY; ?></td> <td class="main"><?php echo tep_draw_input_field('city') . ' ' . (tep_not_null(ENTRY_CITY_TEXT) ? '<span class="inputRequirement">' . ENTRY_CITY_TEXT . '</span>': ''); ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_POST_CODE; ?></td> <td class="main"><?php echo tep_draw_input_field('postcode') . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td> </tr> Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!! Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience. The quickest way to learn is to forget to BACKUP!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.