Technote Details :: How to move the forgot password page in a panel
Issue
If using the MX Kollection login form you also have the option to generate a forgot password page. Even though the login form can be created directly into an Ajax panel, the forgot password page is generate as a stand alone page in the site root.
Reason
In order to allow users load the forgot password page in the main content panel when using a login form in an Ajax powered site you have to incorporate the generated page into a panel, and then modify the link to point to that particular panel state.
Before changing things on the page, you must perform several actions:
- Define a new Dreamweaver site from the Site menu > New AJAX Site. Pick the desired layout and content states.
- Create a database connection pointing to the table storing user information.
- Fill in the InterAKT Control Panel > Login Settings fields with the right database columns.
- In one of the panels apply the Login Form Wizard. Configure it to generate a Forgot Password page.
Solution
Once all of the above steps are completed you should have in the site root a new page titled forgot_password.xxx. Also, the link below the login form now takes the user outside the Ajax site and loads the password reminder page.
To place the forgot password page inside the Ajax site, follow these steps:
- Open the site master page in Dreamweaver.
- From the MX AJAX Toolbox tab of the Insert bar click the Add state icon.
- Configure the user interface as follows:
-
- For the Panel name pick the main content panel in the site. By default this is named Content.
- Enter a State name that you wish. Make sure you pick out something intuitive so it will be easier to sort out later on.
- For the content file remove the automatically generated entry and use the Browse button to select the forgot_password page in the site root.

- Click OK to create the new state.
- Next click the Edit panel states icon on the MX AJAX Toolbox tab of the Insert bar. From teh menu select the state displaying the login form.
- From the panel content select the Forgot your password? link. With the text selected click the AJAX Link icon.
- In the user interface select the target panel (the one where you have added the forgot password page as state), and the corresponding state. This will change the default link into a link pointing to a panel state.

- Click OK to change the link.
Before testing the change, save the login panel as well as all other panels you modified - including the master page. When clicking the Forgot password link, the form will be loaded as a main panel state.