5.6 Edit Profile

As you may notice, the edit_profile.htmlt template seems to be very restrictive, due to the <REPRODUCE> HTML tags. If wanted, you can completely customize the look of the edit profile form. It's not absolutely required that you actually use the edit_profile.htmlt template. Instead, you can create your own web page, upload it to the Member's Only Area, and use that to allow member's to edit their profile. Below explains exactly how to create your own edit profile form. First, you must have a <FORM> tag, which will be:
<form action="members_only.cgi?~authtext~&action=edit_profile" method="POST">

Next, you need to add the text fields to your form, which contain the member's profile, allowing members to edit their information. Every text field should look something like:
<input type="text" name="field" value="~field~">

Where field is the name of any field in your member database, except 'username'. Please note, all fields you add to the form, must also be checked in the Setup->General Settings menu, allowing members to edit those fields. For example, if you wanted to allow members to edit the "email" field from your member database, you would add the following text field:
<input type="text" name="email" value="~email~">

Last, you need to add a submit button to the form, such as:
<input type="submit" value="Edit Profile">

Other than the above mentioned items, you can create the edit profile form in any way you wish. Once you've created the new HTML form, save it as a web page, and upload it to your Member's Only Area through the Setup->Manage Web Site menu of the Admin Control Panel. Then, just link to this web page, to allow members to edit their profile.