The Create Account Smartlet enables you to integrate a user registration system in your site with ease. All you need to do is to place the Smartlet on an item and set the right parameters. In it's current form, the Smartlet only works with the default Smartsite security provider.
The process for creating an account is as follows:
- User fills out the presented form
Password strength is checked (can be turned off). Both the password and e-mail address need to be typed twice. All requirements are checked (throug ajax callback or by posting) before actually creating an account. - The user is send an e-mail with an activation link (depends on createdisabled parameter)
- Account is activated when user clicks the link in the e-mail (depends on createdisabled parameter)
The (HTML) e-mail send uses a template. The template is fully customizable. The sender of the mail can be set by one of the parameters of this Smartlet. The configured mail server for the site is used to send the mail.
For de-/encrypting the password a virtual assembly is used. This assembly is included in the XML-import but needs to be moved to the right location to be picked up by Smartsite when starting the site. It is assumed all prerequisites for using virtual assemblies are met (see the Smartsite iXperion documentation for more information)
The Smartlet is designed to work in a rich environment as well as a scriptless one (progressive enhancement)
Parameters
The table below gives an overview of the available editable parameters for the Poll Smartlet.
| Name | Type | Default | Description |
|---|---|---|---|
| caption | string | Create account | Shown as caption for the Smartlet box |
| legend | string | Please fill out this form | Shown as legend for the form fieldset |
| groupcode | string | GUESTS | Code of the group where the account is created in |
| checkpasswordstrength | boolean | true | Give visual indication of password strength (not available in scriptless environment) |
| createasvisitor | boolean | true | Create as visitor (true) or user (false) |
| createdisabled | boolean | true | Account needs to be activated by user |
| sender | string | E-mail address of the sender |
