PDA

View Full Version : Disable Name Change in account_edit.php



michael_s
02-11-2007, 09:10 PM
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

More... (http://www.oscommerce.com/community/contributions,4880)