Difference between revisions of "Login Screen Content"

From SmartWiki
Jump to: navigation, search
(Redirected page to Login Page)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__TOC__
+
#REDIRECT [[Login Page]]
 
 
{{Template:Login Screen Content}}
 
 
 
By default the language used when creating the login page is English, but you can create [[Create and Direct Users to Language Specific Login Pages|language specific login pages]].
 
 
 
The Source code of the login page will also include code for a Pop up blocker warning message on login page, although buy default this will be disabled.
 
 
 
 
 
 
 
[[Image:PBWarning1.png|1100px|border]]
 
 
 
To enable the warning message then you simply have to remove the text '''disabled="disabled"''' from the Source code and then click Save.
 
 
 
[[Image:PBWarning2.png|1100px|border]]
 
 
 
Any users that are using a browser with pop-up blocker enabled will then see the alert message appear when accessing the login page.
 
 
 
[[Image:PBWarning3.png|border]]
 
 
 
==Title Type==
 
 
 
By default the alias name of your instance will appear in the top left of your login page. You can change the text that appears here by doing the following:
 
 
 
 
 
# Under the '''Configuration''' menu, click on '''[[:Category:Global Settings|Global Settings]]'''
 
# Click on the '''Branding & Terminology''' tab
 
# In the '''Title Text''' field, enter your desired text
 
# Make sure the '''text''' radio button is selected
 
# Click '''Save'''
 
 
 
 
 
[[Image:Title_text.png]]
 
 
 
 
 
==Title Image==
 
 
 
You can display an image (example: your company logo) in the top left corner instead of text by doing the following:
 
 
 
 
 
# Under the '''Configuration''' menu, click on '''[[:Category:Global Settings|Global Settings]]'''
 
# Click on the '''Branding & Terminology''' tab
 
# Under '''Small Logo''' click “browse” to find the logo you want to display then click “upload”. The small logo should be pre-sized to 133 pixels wide by 46 pixels high.
 
# Under '''Large Logo''' click “Browse” to find the logo you want to display then click “upload”. The large logo can be any size but we recommend 70 pixels high by any width.
 
# Make sure the '''Image''' radio button for “Title Type” is selected.
 
# Click '''Save'''
 
 
 
 
 
[[Image:Display_your_company_logo.png]]
 
 
 
==CAPTCHA Validation==
 
 
 
For improved security CAPTCHA validation can be added to your login page. All that's required to configure this is placing the @captcha@ variable within your login screen template, where you wish it to appear. After two failed login attempts, users will be presented with a CAPTCHA they must complete before they are able to attempt a third login.
 
 
 
The CAPTCHA can be made language specific if included in the [[Create and Direct Users to Language Specific Login Pages|language specific login pages]].
 
 
 
==JavaScript==
 
 
 
The following [[JavaScript]] can be added to the page:
 
 
 
===Forgot Password===
 
 
 
'''HTML:'''
 
 
 
Forget your password? Please click <a href="javascript:passwdwin()">here</a>.
 
 
 
'''JavaScript:'''
 
 
 
<pre>
 
 
 
function passwdwin(){
 
 
 
window.open('/s_requestpassword.jsp','pwdwin',
 
 
 
'left=200,top=200,toolbar=0,width=300,height=214,directories=no,status=no,
 
 
 
scrollbars=no,resizable=no,menubar=no,alwaysRaised=yes');
 
 
 
}</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>
 
 
 
Where ''12345 '' is 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 companyid as the parameter, or the user can create multiple login pages with a single link/companyid 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 company and all its sub-organizations. It will then e-mail a new password for that branch specific user account.
 
 
 
The e-mail sent can then be configured with [[sslogic]] to tailor the content of the email to the specific branch.
 
 
 
The error message displayed on this page when an invalid email is entered can be altered using the [[Language Library]].
 
 
 
==Error Message==
 
 
 
In order to display an error message when an incorrect login username or password is provided include the following variable in the Login Screen HTML:
 
 
 
:<font size="2">'''@errmsg@'''</font>
 
 
 
==Popup Blocker Check==
 
The login page can be configured to check if users have a pop-up blocker enabled, and suggest that they disable it for that SmartSimple system.
 
 
 
This warning message can be disabled by adding '''disabled="disabled"''' in the tag for the warning message:
 
 
 
<pre>
 
<p id="pbwarning" disabled="disabled">We have detected that you are using a pop-up blocker. To use some features,
 
you will need to allow pop-ups or disable your pop-up blocking software.</p>
 
</pre>
 
 
 
When disabling the warning message, the following should be removed from the login page HTML as well:
 
<pre>
 
<script type="text/javascript" src="/pudetec.js"></script>
 
</pre>
 
 
 
==See Also==
 
 
 
*[[Adding the SmartSimple Login to your Website]]
 
 
 
*[[Accessibility legislation]]
 
 
 
[[Category:Global Settings]][[Category:System Management]] [[Category:Login Pages]]
 

Latest revision as of 11:16, 26 June 2019

Redirect to: