This article explains how to remove the sign-in button from your help center while still allowing customers to contact you. The recipe offers step-by-step instructions for customizing your help center theme based on the templating versions you use and provides additional tips for ensuring a seamless user experience.

The workflow includes the steps below.

  • Step 1: Remove the sign in button
  • Step 2: Configure user access
  • Step 3: Remove branding from outgoing notifications

Step 1: Remove the sign in button

Customize the help center theme to remove the sign in button. This varies whether you use templating api v1, or either templating api v2 or v3.

To remove the sign in button

  1. Edit the code of your help center theme.
  2. Remove the Sign in link from all help center templates.
    • For Templating API v1 of the Copenhagen theme, delete the user_info helper from the header.hbs template. Delete the user_info helper in v1
    • For Templating API v2, v3, and v4 delete all references or code blocks that rely on the signed_in helper that include the {{link "sign_in"}} helper. 

      For example, the block below:

          <nav class="user-nav" id="user-nav">
            <ul class="user-nav-list">
              <li>{{link 'community'}}</li>
              <li>{{link 'new_request' class='submit-a-request'}}</li>
              {{#unless signed_in}}
                <li>
                  {{#link "sign_in" class="sign-in"}}
                    {{t 'sign_in'}}
                  {{/link}}
                </li>
              {{/unless}}
            </ul>
          </nav>

      Becomes:

          <nav class="user-nav" id="user-nav">
            <ul class="user-nav-list">
              <li>{{link 'community'}}</li>
              <li>{{link 'new_request' class='submit-a-request'}}</li>
            </ul>
          </nav>
      Warning: Zendesk periodically updates the Copenhagen theme and the locations of this helper are subject to change. Zendesk recommends reviewing the repository zendesk/copenhagen_theme.

Step 2: Configure user access

Instruct your agents to bookmark the yoursubdomain.zendesk.com/access/normal path to use to sign in and access Zendesk.

Enable SSO for end users and set the remote URL to a page within your domain. This way, if a customer finds the user registration page, for example, through a direct URL, they'll get redirected away from the login page.

Step 3: Remove branding from outgoing notifications

To prevent your customers to see any Zendesk branding in your ongoing notifications, modify the email template and specifically remove these two placeholders: footer and footer_link.

remove the footer and footer_link

Avoid the {{ticket.url}} placeholder in your messages to end users as it generates a link to view the ticket in the help center.

For information about how to remove the sign-up button and disable the ability for anyone to create tickets, see the article: How do I remove the ability for customers to sign up to our account?

Disclaimer: This article is provided for instructional purposes only. Zendesk does not support or guarantee the code. Zendesk also can't provide support for third-party technologies such as JavaScript, jQuery, or CSS. Post any issues you have in the comments section or try searching for a solution online.
Powered by Zendesk