Syntax Guide

Article number: 304300

Login customisation deprecated

Deprecated method

The following refers to a deprecated approach that's still supported for legacy sites (for now). Please use the method here in preference.

The xml block below should be placed in a global variable-block entitled "reserved__loginxml". This variable-block shouldn't be declared in any template… Any restricted page will look for it automatically, and if it's found then it will be used, if not then the standard login page will be used. The xml block can be customised on each line as required.

<extranetlogin> <titleclass>Tclass</titleclass> <title>Hidden Page</title> <!–-Title for login--> <htmlabove><![CDATA[<span>html above</span><br/><br/>]]></htmlabove> <!-–Any HTML above login-->

<logintext>Authorised Personnel only are allowed to enter this zone</logintext> <!-–Text on login page--> <pleaselogintext>Please enter your Top Secret credentials</pleaselogintext> <!-–Text on login page--> <usernamelabelclass>USClass</usernamelabelclass> <usernamelabel>secret username</usernamelabel> <!-–Username Request--> <passwordlabelclass>PSClass</passwordlabelclass> <passwordlabel>secret phrase</passwordlabel> <!-–Password Request--> <loginbuttontext>Let me in</loginbuttontext> <!–Log in button text --> <htmlbelow><![CDATA[<br/><br/><span>html below</span>]]></htmlbelow> <!-–Any HTML below login-->  </extranetlogin>

Note that any HTML formatting should be enclosed inside ![CDATA] … ]] tags.

Edit Profile

When site users are allowed to create a profile, you can customise the appearance of the Edit Profile screen using the tags listed below. These tags should be placed inside your <extranetlogin> … </extranetlogin> tags.

<titleclass>editProfileTitle</titleclass>

<editprofiletitle>Edit Profile - </editprofiletitle>

<editprofilehtmlabove> <!-you can put some formatting here, above the login fields.

Should be enclosed in ![CDATA[ …. ]] tags --></editprofilehtmlabove>

<editprofiletext>Use the fields below to update your email address or change your password</editprofiletext>

<passwordlabelclass>inputPass</passwordlabelclass>

<passwordlabel>Password (required)</passwordlabel>

<emaillabelclass>inputEmail</emaillabelclass>

<emaillabel>Email Address (required)</emaillabel>

<newpasswordlabel>New Password</newpasswordlabel>

<confirmnewpasswordlabel>Confirm New Password</confirmnewpasswordlabel>

<editprofilesubmitbuttontext>save changes</editprofilesubmitbuttontext>

<editprofilecancelbuttontext>cancel</editprofilecancelbuttontext>

<editprofilehtmlbelow><!-- you can put some formatting here,  below the login fields.

Formatting should be enclosed in ![CDATA[ …. ]] tags --></editprofilehtmlbelow>

 

Which would produce the output shown below;

Profile editing

Related questions