2,299
edits
Changes
no edit summary
{{Deprecated}}
==Overview==
These instructions explain how to embed the [[SmartSimple]] login process within your website.
* Every organization using [[SmartSimple]] can log into the system using the standard login (i.e. '''alias.smartsimple.com''') entry point.
* [[Alias]] is the short form reference that you create in the company settings page.
These instructions assume that you are familiar with HTML and have access
read/write to the web page on which you wish to enable this feature.
[[Image:Login1.png]][[Image:Login2.png]][[Image:Login3.png]][[Image:Login4.png]]
1. Use your '''Web Page Editor''' to open the website page to which you wish to add the [[SmartSimple]] login.
2. Paste or type the following code into the required location on the page.
<form action="http://xxxx.smartsimple.com/exlogin.jsp" method="post" name="login"><input name="alias" type="hidden" value="xxxx" />{| border="0" width="100%" cellspacing="0" cellpadding="0"|-||Username:||<input name="user" size="10" type="text" />|-||Password:||<input name="password" size="10" type="text" />|-|| ||<input name="Submit" type="submit" value="Login" />|}</form> 3. Replace '''xxxx''' with the company [[Alias]]
4. If you wish to use SSL replace http''':'''//alias.smartsimple.xxx with http'''s'''://alias.smartsimple.xxx
==Returning to the Custom Login Page when Logging Out==
When a user logs out of SmartSimple they are returned to the generic "Alias" login page – not a login page that you have established using the technique shown in this document.
Use the following technique to take a user back to your web site login page when they log out.
You should not make this change until you are sure your login page is functioning correctly, otherwise you will not be able to log into [[SmartSimple]]. If this happens please contact [[How the help deskSmartSimple Support Desk Works|SmartSimple Support]].
7. Click the '''Configuration''', '''Global Settings''' link.
Note: you can redirect users to any page that you wish, not just the custom login page.
== Returning invalid login error message==
If you wish to return an invalid username or password error message to your login page you can place the
following script in the head portion of your login page.
You can change the “Invalid Username or Password.” message located in the showmsg function to
whatever message you wish to display.
<pre>
<script language="javascript">// <![CDATA[
function _getrequestvar(name)
{ var url= location.href;
return "";
}
// ]]></script> </pre>
Additionally you will need to place this second script within the area you wish the error message to be
printed.
<pre>
<script language="javascript">// <![CDATA[
document.write(showmsg());
// ]]></script></pre>
Alternatively, if you are using a server page as your login page you can choose to use the parameter
==See Also==
* [[Providing a Customized Login Hyperlink that Redirects the User to a Specific Record]]