Warbirdz Posted September 27, 2006 Posted September 27, 2006 Hi there, I'm trying to change the location of the postcode when creating a new user account. Currently it is above the city and I want it below. I found create_account.php and changed the location in there but it did not make any difference to the page. Can anyone suggest where I need to do that? Thanks in advance ... Bron :-"
digbydo Posted September 27, 2006 Posted September 27, 2006 find the bit (around line 386) in catalog/create_account.php that starts: <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" cellspacing="2" cellpadding="2"> <tr> <td class="main"><?php echo ENTRY_STREET_ADDRESS; ?></td> <td class="main"><?php echo tep_draw_input_field('street_address') . '?' . (tep_not_null(ENTRY_STREET_ADDRESS_TEXT) ? '<span class="inputRequirement">' . ENTRY_STREET_ADDRESS_TEXT . '</span>': ''); ?></td> </tr> <?php if (ACCOUNT_SUBURB == 'true') { ?> <tr> <td class="main"><?php echo ENTRY_SUBURB; ?></td> <td class="main"><?php echo tep_draw_input_field('suburb') . '?' . (tep_not_null(ENTRY_SUBURB_TEXT) ? '<span class="inputRequirement">' . ENTRY_SUBURB_TEXT . '</span>': ''); ?></td> </tr> <?php } ?> <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 shuffle it accordingly one-click installation.. Dave's info
Warbirdz Posted September 27, 2006 Author Posted September 27, 2006 Doh .. I was sure I'd changed that bit .. :blush: Thanks very much .... :thumbsup: Bron
Warbirdz Posted September 28, 2006 Author Posted September 28, 2006 OK, question 2 (probably of many), can you please point out where in address_book_process.php I need to change it? I am having a little difficulty spotting that. Thanks Bron
seef Posted March 23, 2007 Posted March 23, 2007 Anyone find a fix to address_book_process. I have made changes to my create_account (which works perfectly) but I still am not happy with the order of the update address book entry page. Has anyone found a work-around for this problem? I would like it to display city THEN postcode. seef
Recommended Posts
Archived
This topic is now archived and is closed to further replies.