Changes

Jump to: navigation, search

Login Screen Content

1,257 bytes added, 19:18, 7 October 2013
no edit summary
You are returned to the [[Global Settings]] page.
[[SmartSimple]] recommends that [[User|users]] should log in login through their web site.
In order to add the [[Username|username]] and [[Password|password]] boxes to your web site, download the instructions from the [[SmartSimple]] Wiki – '''www.smartsimple.org'''
==JavaScript==
The following [[JavaScript]] can be added to the page:
===Generic Forgot Password===
'''HTML:'''
Forget your password? Please click <a href="javascript:passwdwin()">here</a>.
</pre>
The e-mail sent can be configured on the [[User Email Templates]] page.
 
 
===Branch specific Forgot Password===
This functionality is used when a user can exist in the system multiple times with the same email address, but against different branches. The configuration means that only the password for the user account under a specific branch will be updated.
 
'''HTML:'''
Forget your password? Please click <a class="Login" href="javascript:passwdwin(12345)">here</a>
(12345 as the companyid)
'''JavaScript:'''
<pre>
function passwdwin(branch) {
window.open('/s_requestpassword.jsp?branchid='+branch,'pwdwin','left=200,top=200,toolbar=0,width=300,height=214,directories=no,status=no,scrollbars=no,resizable=no,menubar=no,alwaysRaised=yes');
}
 
</pre>
 
A login page can be configured with multiple Forgot password links, each including a different branch ID as the parameter, or the user can create multiple login pages with a single link/branch included on each.
 
When the user clicks on the link, enters their password and submits it then the underlying code searches for the entered email address in the branch and its child organizations and will e-mail a new password for that branch specific user account.
 
The e-mail sent can then be configured with [[sslogc]] to tailor the content of the email to the specific branch.
==Error Message==
Smartstaff, administrator
4,478
edits

Navigation menu