BrowseLab Products Demos Support Company Download Pricing
Contents
:
Search:

Home > HelpConsole 2012 > How to Add Self Registration to a Project

How to Add Self Registration to a Project

You can add a 'Register' page to your existing help project to allow users to self register. You can also include a 'User Profile' page which allows users to change their full name, password and company name. Follow the steps below:

1. Login to your project as 'admin'
2. Click the 'Add Page' icon
3. Enter the name: "Register" and click 'Add Page'.
4. Switch to html view, and paste the following:

Please fill out the form below to create a user account.<br /><br/>
<table class="DatasetDetail_Edit" id="tbldataset_detail" style="border: white 0px solid;" datasource="customers">
    <tbody>
        <tr>
            <td class="DatasetDetail_Fields_Edit" id="tddataset_detail_fields"
            <div style="float: right;"><br />
            </div>
            <br />
            <span class="fieldlabel">Email:</span><input name="username" class="fieldbox" id="username" type="text" /><br />
            <span class="fieldlabel">Password:</span><input name="Password" class="fieldbox" id="Password" type="password" /><br />
            <span class="fieldlabel">Full Name:</span><input name="Full Name" class="fieldbox" id="Full Name" type="text" /><br />
            <span class="fieldlabel">Company Name:</span><input name="Company Name" class="fieldbox" id="Company Name" type="text" /><br />
            <br />
            <div style="text-align: center; width: 100%;"><input id="btnsave" style="width: 110px; height: 25px;" type="button" value="Submit" /></div>
            <br />
            <br />
            <input name="Security Group" id="Security Group" type="hidden" value="public" /><br />
            </td>
        </tr>
    </tbody>
</table>



8. Click 'Save'
9. Click the 'Add Page' icon
10. Enter the name: "User Profile" and click 'Add Page'
11. Switch to HTML view and paste the following:

<span class="conditional_start">IF USER public</span>Click the login link above to sign in.<span class="conditional_end">End</span><br />
<table class="DatasetFind_Edit" id="tbldataset_find" style="background-color: white; width: 100%;border: 0px;" sqlquery="select *, 'Edit Profile' as edit from [customers] where username = '[username]'" showall="true">
    <tbody>
        <tr>
            <td class="DatasetFind_Fields_Edit" id="tddataset_find_fields"><span style="color: #454545; font-size: 32px;"></span></td>
        </tr>
        <tr id="trdataset_find_detail">
            <td class="DatasetFind_Detail"><span style="font-size: 18px;">User profile:</span><br />
            <span style="color: #548dd4;"><br />
            Email:</span> [username]<br />
            <br />
            <span style="color: #548dd4;">FullName:</span> [Full Name]<br />
            <br />
            <span style="color: #548dd4;">Company:</span> [Company Name]<br />
            <br />
            <br />
            [open:edit]<br />
            <br />
            <br />
            </td>
        </tr>
    </tbody>
</table>
<table class="DatasetDetail_Edit" id="tbldataset_detail" style="background-color: white; width: 100%;border: 0px;" datasource="customers">
    <tbody>
        <tr>
            <td class="DatasetDetail_Fields_Edit" id="tddataset_detail_fields">
            <div style="float: right;"><input id="btnsave" style="width: 110px; height: 25px;" type="button" value="Save" /><br />
            <input id="btncancel" style="width: 110px; height: 25px;" type="button" value="Cancel" /></div>
            <span style="color: #454545; font-size: 32px;"><span class="heading"> Edit Customer Profile</span><br />
            <br />
            </span><span class="fieldlabel">Email</span><input name="username" class="fieldbox" id="username" type="text" /><br />
            <span class="fieldlabel">Password</span><input name="Password" class="fieldbox" id="Password" type="password" /><br />
            <span class="fieldlabel">Full Name</span><input name="Full Name" class="fieldbox" id="Full Name" type="text" /><br />
            <span class="fieldlabel">Company Name</span><input name="Company Name" class="fieldbox" id="Company Name" type="text" /><br />
            <input name="Security Group" id="Security Group" type="hidden" /><br />
            </td>
        </tr>
    </tbody>
</table>


15. Click 'Save'
16. Click "Tools > Properties"
17. Set 'Users Dataset' to 'Customers'
18. Click 'Save' to save properties.

To test the self registration, logout, Select the 'Register' page, enter your email and password and then login with that email and password.

Applies To

HelpConsole 2012
HelpConsole 6

Properties
Article ID:
add_self_registration_to_a_project
Views: 1550
Created By: admin
Modified By: Aaron
Created Date: 5/1/2013 3:15 PM
Last Modified: 11/20/2014 4:08 PM
Actions
Print This Article
Bookmark
Email This Article
Previous Article
Next Article

Was this page helpful?YesNo