A lost password page type is used by users to recover a lost password or username. A Lost Password page type may either tell the user their username, allow them to reset their password, or both. Note that passwords cannot be recovered, as Pixelsilk does not store user passwords. The only option is to reset a password.
Although there are three potential uses for a Lost Password page type as stated above, only one may be active on a site at one time.
A standard Lost Password page may look like this:
There is a single main token for the Lost Password Page Type's Content Skin:
Additionall, the Lost Password page type defines two extra tokens:
Both [[EmailAddressInvalidText]] and [[EmailAddressFoundText]] can be configured in the Security Settings Section of Admin.
A Lost Password page type should include an <input type="submit" /> or similar method to submit the form.
To create a Lost Password page, first a page type must be created. Enter the
area of Admin and proceed to the Page Types tab. Click Add New Page Type, enter the name of the page type (such as "Lost Password"), and select the base type as Lost Password. Click
to create the new page type.
Next, click the pencil
of the new page type to edit it. Enter the skins tab, and enter the Content Skin. Note that although a [[Content]] token is present in the skin by default, a content token has no behavior in an Email Verification page type. If you would like an editable content are above or below the content skin, use an editable webbox.
In the content skin you may skin your page as desired. The above example is skinned as the following:
<h1>Lost Password</h1>
<p>If you have lost your password, then please
enter your email so that you may reset your password.</p>
<div>
<label for="EmailAddress">Email Address:</label>
<span>[[EmailAddress]]</span>
</div>
<input type="submit" value="Submit" />
<p style="color: red;">[[EmailAddressInvalidText]]</p>
<p style="color: green;">[[EmailAddressFoundText]]</p>
As with all pixelsilk forms, there is no <form> tag, but an <input type="submit" /> is present.
Finally, an actual page needs to be created, using the page type which was just created. This page can be named to your liking, and the URL will only be used be normal Pixelsilk links.
When a user successfully submits the form, they will be emailed the information which has been configured in the Lost Password page type.
If you have not done so already, see Configuring Default Email Settings to set up defaults required for the Lost Password email.
To start, enter the
area of Admin, and enter the Emails tab. Open the Set Password URL bar. To set a full email:




to save all changes. Note that the bar may not close, but the email has been saved correctly. The [[SetPasswordUrl]] link in the Lost Password email allows a user to reset their password. It links to a Set Password page. See the Set Password Page Type for more information on this link.
area of admin and click the pencil
by the use in question. By clicking
, the user will receive the Lost Password email.