Removing the login form from your support site

The login form is enabled by default on Support Center sites.

Every user who interacts with you in GFI HelpDesk is automatically registered, and they receive 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 that allows any visitor to subscribe to your company's newsletter and get emails for mass updates published through your GFI HelpDesk.

If your organization does not require its end-users to log in or subscribe to news and you want to free up space on your Support Center site, you can remove the Login Form by modifying your site's template.

Note:

Removing the Login Form means clients cannot log in and access their tickets, update their profile or subscribe to news updates.

Below are the steps for removing the login form from support site:

  1. Log in to the GFI HelpDesk Admin Panel.
  2. Click on Templates on the navigation bar.
  3. Click Groups and then select the template group for your site from the list.
  4. Click on General to expand the category.
  5. Click on header to open the header template, which contains the code responsible for rendering the Login Form.
  6. Select the code below, and delete it from the header template:
  7. <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}>

  8. Click Save & Reload on top to save your changes.
  9. Clear the cache by clicking Diagnostics on the left navigation bar, and then click Rebuild Cache underneath it. Refer to Accessing GFIHelpdesk Diagnostic Tools for more information.

Go back to your Support Center site and reload the page by pressing Ctrl + F5. The Login Form is no longer shown.