crazymonkey Posted February 14, 2004 Posted February 14, 2004 How do I change the default address options (eg. add a county field)? Can I disable Zend? (I am getting an error message about it and I dont know what it is) Thanks CM :)
crazymonkey Posted February 14, 2004 Author Posted February 14, 2004 If the change of address detail isn't easy to do, where do I change the text next to the entry field (ie. change suburb to county etc)? Thanks CM
tep Posted February 14, 2004 Posted February 14, 2004 At the top of my head...you could try looking in /includes/languages/english.php otherwise check /includes/languages/english/login.php etc.
crazymonkey Posted February 14, 2004 Author Posted February 14, 2004 I had a look and cant see anything obvious in those :( I have been trying to sort this out for days.
Guest Posted February 14, 2004 Posted February 14, 2004 Backup...Backup...Backup In english.php look for define entry suburb and make necessary changes.
crazymonkey Posted February 14, 2004 Author Posted February 14, 2004 Thanks, that worked. Do you knw how to change around the order that the fields appear on the page? CM
Guest Posted February 14, 2004 Posted February 14, 2004 Backup...Backup...Backup In /includes/modules/account_details.php shift around blocks similar to the one below: <?php if (ACCOUNT_SUBURB == 'true') { ?> <tr> <td class="main"> <?php echo ENTRY_SUBURB; ?></td> <td class="main"> <?php if ($is_read_only == true) { echo $account['entry_suburb']; } elseif ($error == true) { if ($entry_suburb_error == true) { echo tep_draw_input_field('suburb') . ' ' . ENTRY_SUBURB_ERROR; } else { echo $suburb . tep_draw_hidden_field('suburb'); } } else { echo tep_draw_input_field('suburb', $account['entry_suburb']) . ' ' . ENTRY_SUBURB_TEXT; } ?></td> Hope this helps.
crazymonkey Posted February 15, 2004 Author Posted February 15, 2004 There is not a file called account_details.php in the /includes/modules directory. The only file that has similar script is address_book_details.php. I tried editing that but it didnt work.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.