GuernseyComponents Posted January 24, 2014 Posted January 24, 2014 Hi, Me again! :) How can I edit the text on the registration form? I can remove fields, but can't seem to edit the text. For example, how can I change "Street Address" to "Address Line 1"? Thanks, Dominic
Mort-lemur Posted January 24, 2014 Posted January 24, 2014 The text on all the site is contained in the files in catalog/includes/languages/english (or whatever language you use) so that file would be catalog/includes/languages/english/create_account.php Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.
burt Posted January 24, 2014 Posted January 24, 2014 Nice one @@Mort-lemur and even better that you don't give the exact code to change but expect the user to have a look and do it themselves. I like that very much. Give a man a fish and all that.
Mort-lemur Posted January 24, 2014 Posted January 24, 2014 @@burt I learnt from a Grumpy Old Master ;) But do we really have to give free fish as well?? (w00t) Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.
♥joli1811 Posted January 24, 2014 Posted January 24, 2014 Heather please (!) Vanquisher of Demons Regards Joli To improve is to change; to be perfect is to change often.
Ken_Shea Posted January 24, 2014 Posted January 24, 2014 Well, I hate fishing so my fish all get paid for except for the little ones :D
GuernseyComponents Posted January 25, 2014 Author Posted January 25, 2014 The text on all the site is contained in the files in catalog/includes/languages/english (or whatever language you use) so that file would be catalog/includes/languages/english/create_account.php It doesn't seem to be that file. That file doesn't contain anything on the registration form: <?php/* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Create an Account'); define('HEADING_TITLE', 'My Account Information'); define('TEXT_ORIGIN_LOGIN', '<font color="#FF0000"><small><strong>NOTE:</strong></small></font> If you already have an account with us, please login at the <a href="%s"><u>login page</u></a>.'); define('EMAIL_SUBJECT', 'Welcome to ' . STORE_NAME); define('EMAIL_GREET_MR', 'Dear Mr. %s,' . "\n\n"); define('EMAIL_GREET_MS', 'Dear Ms. %s,' . "\n\n"); define('EMAIL_GREET_NONE', 'Dear %s' . "\n\n"); define('EMAIL_WELCOME', 'Thanks for registering at ' . STORE_NAME . '.' . "\n\n"); define('EMAIL_TEXT', 'You can now use these log-in details to place new orders and manage your account. From your account, you will be able to view your order history, email customer support, view your address book and manage your account details.' . "\n\n"); define('EMAIL_CONTACT', 'If you reqeuire any assistance, please send an email to [email protected] ' . '.' . "\n\n"); define('EMAIL_WARNING', '<strong>Note:</strong> This email address was given to us by one of our customers. If you did not signup to be a member, please send an email to ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n"); ?> Basically, I want to rename Street Address to Address Line 1 and make a few other changes on the create account form.
Mort-lemur Posted January 25, 2014 Posted January 25, 2014 @@GuernseyComponents My Bad: catalog/includes/languages/english.php Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.
GuernseyComponents Posted January 25, 2014 Author Posted January 25, 2014 Thanks! Another thing, I've managed to make a field not required on the registration form, but it seems to show it as required in the administration area - is there any way to fix that as in the admin/includes/languages/english/english.php file it's not in the same place it seems (there are no ENTRY_VALUE_TEXT fields)? And finally, is there any way to change the variable names in the config files? For example, I changed ENTRY_SUBURB to say "Address Line 2" instead of "Suburb" but I'm not sure how to change the variable name? Not a big issue but I want to keep things neat and tidy.
GuernseyComponents Posted January 27, 2014 Author Posted January 27, 2014 Thanks! Another thing, I've managed to make a field not required on the registration form, but it seems to show it as required in the administration area - is there any way to fix that as in the admin/includes/languages/english/english.php file it's not in the same place it seems (there are no ENTRY_VALUE_TEXT fields)? And finally, is there any way to change the variable names in the config files? For example, I changed ENTRY_SUBURB to say "Address Line 2" instead of "Suburb" but I'm not sure how to change the variable name? Not a big issue but I want to keep things neat and tidy. Any ideas on the above? Regards, Dominic
Recommended Posts
Archived
This topic is now archived and is closed to further replies.