Contributions

Features (Category Index)
Search: 

Disable Name Change in account_edit.php

Disable Name Change in account_edit.php
11 Feb 2007

For a couple of reasons I didn't want to allow customers to be able to change their name in the account_edit page. If they wanted to do so they would need to contact me. So I made the input fields for first name and last name on that page read only, then a link directs them to go to the contact page if they needed their name changed.

Very simple mod, hopefully it will help someone else out there.

Changes to only 3 files:

catalog/account_edit.php
catalog/includes/functions/html_output.php
catalog/includes/languages/english.php

Attachment does not contain any files, instructions only.

aegrnberg

Expand All / Collapse All

Don't edit english.php 14 Feb 2007

Update: 14 Feb 2007
Just realized the language text affects create_account.php as well, so we won't touch english.php, will create new text for languages/english/account_edit.php. These instructions include fix by veera, thanks!

No need to go new function for readonly 12 Feb 2007
Disable Name Change in account_edit.php 11 Feb 2007

Note: Contributions are used at own risk.