Start a conversation

Removing the login form from your support site

We're actively rewriting our user guide, so check back for improved coverage.

The login form comes enabled by default on the support center. Every user who interacts with you in Kayako is automatically registered and receives login credentials via email. Registered users can log in to their support account to keep a track of their tickets, and manage their account. This form also has a 'Subscribe' option which lets any visitor to subscribe your company's newsletter and get emails for mass updates published through your Kayako. 


If your organization does not require its end-users to log in or subscribe to news and you want to free up some space on your support site, you can remove the login form by modifying your support site template. Keep in mind that removing the login form means clients will not be able to log in and access their tickets, update their profile, or subscribe to news updates.

Removing the login form


These simple steps will guide you through removing the login form from your support site.

  1. Log in to the Kayako admin panel.
  2. Click on Templates on the left navigation bar.
  3. Click Groups and then select the template group for your support site from the list. 
  4. Click 'General' to expand the category.
  5. Click 'header' to open the header template.
  6. This template contains the code that's responsible for rendering the login form. You'll need to remove it. Select the code below, and delete it from the template:  
<div id="leftloginsubscribebox">
 <{if $_userIsLoggedIn == true}>
 <div class="tabrow" id="leftloginsubscribeboxtabs"><a id="leftloginsubscribeboxlogintab" href="#" class="atab"><span class="tableftgap"> </span><span class="tabbulk"><span class="tabtext" title="<{$_language[myaccount]}>"><{$_language[myaccount]}></span></span></a></div>
 <div id="leftloginbox" class="switchingpanel active">
 <div class="maitem maprofile" onclick="javascript: Redirect('<{$_baseName}><{$_templateGroupPrefix}>/Base/UserAccount/Profile');"><{$_language[maprofile]}></div>
 <{if ($_settings[user_orgprofileupdate] == 'allusers' && $_user[userorganizationid] != '0') || ($_user[userrole] == 2 && $_settings[user_orgprofileupdate] == 'managersonly' && $_user[userorganizationid] != '0')}>
 <div class="maitem maorganization" onclick="javascript: Redirect('<{$_baseName}><{$_templateGroupPrefix}>/Base/UserAccount/MyOrganization');"><{$_language[maorganization]}></div>
 <{/if}>
 <{foreach key=_itemID item=_navbarMenuItem from=$_navbarMenuItemContainer}>
 <div class="maitem<{if $_navbarMenuItem[class] != ''}> <{$_navbarMenuItem[class]}><{/if}>" onclick="javascript: Redirect('<{$_navbarMenuItem[link]}>');"><{$_navbarMenuItem[title]}></div>
 <{/foreach}>
 <div class="maitem mapreferences" onclick="javascript: Redirect('<{$_baseName}><{$_templateGroupPrefix}>/Base/UserAccount/Preferences');"><{$_language[mapreferences]}></div>
 <div class="maitem machangepassword" onclick="javascript: Redirect('<{$_baseName}><{$_templateGroupPrefix}>/Base/UserAccount/ChangePassword');"><{$_language[machangepassword]}></div>
 <div class="maitem malogout" onclick="javascript: Redirect('<{$_baseName}><{$_templateGroupPrefix}>/Base/User/Logout');"><{$_language[malogout]}></div>
 </div>
<{else}>
<form method="post" action="<{$_baseName}><{$_templateGroupPrefix}>/Base/User/Login" name="LoginForm">
 <div class="tabrow" id="leftloginsubscribeboxtabs"><a id="leftloginsubscribeboxlogintab" href="javascript:void(0);" onclick="ActivateLoginTab();" class="atab"><span class="tableftgap"> </span><span class="tabbulk"><span class="tabtext" title="<{$_language[login]}>"><{$_language[login]}></span></span></a><{if $_canSubscribeNews == true}><a id="leftloginsubscribeboxsubscribetab" href="javascript: void(0);" onclick="javascript: ActivateSubscribeTab();" class="atab inactive"><span class="tableftgap"> </span><span class="tabbulk"><span class="tabtext" title="<{$_language[subscribe]}>"><{$_language[subscribe]}></span></span></a><{/if}></div>
 <div id="leftloginbox" class="switchingpanel active">
 <input type="hidden" name="_redirectAction" value="<{$_redirectAction}>" />
 <input type="hidden" name="_csrfhash" value="<{$_csrfhash}>" />
 <div class="inputframe zebraeven"><input class="loginstyled<{if $_userLoginEmail != ''}><{else}>label<{/if}>" value="<{if $_userLoginEmail != ''}><{$_userLoginEmail}><{else}><{$_language[loginenteremail]}><{/if}>" onfocus="javascript: ResetLabel(this, '<{$_language[loginenteremail]}>', 'loginstyled');" name="scemail" type="text"></div>
 <div class="inputframe zebraodd"><input class="loginstyled" value="<{$_userLoginPassword}>" name="scpassword" type="password" autocomplete="off"></div>
 <div class="inputframe zebraeven"><input id="leftloginboxrememberme" name="rememberme" value="1" type="checkbox"<{if $_userRememberMe == true}> checked<{/if}>><label for="leftloginboxrememberme"><span id="leftloginboxremembermetext"><{$_language[rememberme]}></span></label></div>
 <hr class="vdivider">
 <div id="logintext"><a href="<{$_baseName}><{$_templateGroupPrefix}>/Base/UserLostPassword/Index" title="<{$_language[lostpassword]}>"><{$_language[lostpassword]}></a></div>
 <div id="loginsubscribebuttons"><input class="rebutton" value="<{$_language[login]}>" type="submit" title="<{$_language[login]}>" /></div>
 </div>
 </form>
<{if $_canSubscribeNews == true}>
<form method="post" action="<{$_baseName}><{$_templateGroupPrefix}>/News/Subscriber/Subscribe" name="SubscribeForm">
 <input type="hidden" name="_csrfhash" value="<{$_csrfhash}>" />
 <div id="leftsubscribebox" class="switchingpanel">
 <div class="inputframe zebraeven"><input class="emailstyledlabel" value="<{$_language[loginenteremail]}>" onfocus="javascript: ResetLabel(this, '<{$_language[loginenteremail]}>', 'emailstyled');" name="subscribeemail" type="text"></div>
 <hr class="vdivider">
 <div id="logintext"> </div>
 <div id="loginsubscribebuttons"><input class="rebutton" value="<{$_language[buttonsubmit]}>" type="submit"></div>
 </div>
 </form>
 <{/if}>
 <{/if}>
  1. Once you have removed the above code, click the Save & Reload button on top to save your changes. 
  2. Next, we need to clear the cache. Click on Diagnostics on the left navigation bar, and then click Rebuild Cache underneath it.
  3. Head back to your support site, and reload by pressing Ctrl+F5. You should see the login form has disappeared.
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Gaurav Katal

  2. Posted
  3. Updated