Default login Page customization file:
/intranet/login.html
Claromentis login form can also be embedded on external site, allowing users to login straight from public facing website.
Example code:
<form action="http://yourdomainhere.com/main/login.php" method="post" name="form"> <input type="hidden" name="page" value="##page##" /> <label for="frmuser">Username</label> <input type="text" name="frmuser" /> <label for="frmpass">Password</label> <input type="password" name="frmpass"/> <input name="submit" type="submit" id="submit" value="Log-In" > </form>
Stylesheet and text formatting can be added on top of basic code above.
Default login page can be customised from basic HTML codes below:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- FOR INTERNATIONAL CHARACTERS CHARSET=UTF-8 --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Claromentis Login</title> </head> <!-- AUTO FOCUS ON THE USERNAME --> <body onLoad="document.form.frmuser.focus();"> <form action="main/login.php" method="post" name="form"> <input type="hidden" name="page" value="##page##"> <fieldset> <legend>Log-in </legend> <div>Username and password are case sensitive</div> <!-- error message --> <label for="frmuser">Username</label><br> <input type="text" name="frmuser" size="20" ><br/> <label for="frmpass">Password</label><br> <input type="password" name="frmpass" size="20" ><br> <input type="checkbox" name="remember_login" > <label for="remember_login">Remember Me</label><br> <input name="submit" type="submit" id="submit" value="Log-In" > <!-- PASSWORD RECOVERY LINK --> <div><a href="main/password_recovery.php">forgot your password?</a></div> <!-- SINGLE SIGN-ON (WINDOWS ONLY) --> <div><a href="/intranet/login/index.php?page=##page##">Log on using your Microsoft Windows user account</a></div> </div> </fieldset> </form> </body> </html>
Forcing VI selection through the login page
<input type="hidden" name="vi" value="default">
Replace ‘default’ with the VI name for example for ‘interface_custom’ it will be ‘custom’
Discussion