Start a conversation

Removing the Edit Profile Menu From the Help Center

Overview

A user can edit their information such as name, timezone, and language preferences, as well as change their password from the Edit profile menu in the Help Center. If you want to disable this feature, there's a handy script we prepared which you can add to the footer template.

 

edit_profile.jpg

 

 

Solution

To customize the appearance of your Kayako Help Center, you will need an administrator account with the Manage channels permission.

NOTE: The solution below is using JavaScript code. Hence, it will not help if a user will disable JavaScript in the browser settings and will open the edit page using a direct URL.

Please, perform the steps below:

  1. Sign in to Kayako and go to the Help Center.
  2. Click the Customize button in the upper-right corner.
  3. On the Customize pane, click the Customize templates heading.
    help_center_customize_button.jpg
  4. Select Footer from the Template drop-down menu.
  5. Add the following script at the bottom of the existing code and click Save.
    <script type="text/javascript">
    var url = 'https://' + window.location.host.split(".")[0] + '.kayako.com/404';
    var slug = ["profile/edit"];
    for (var i = 0; i <= slug.length; i++) {
    if (document.location.href.indexOf(slug[i]) > -1) {
    window.location.replace(url);
    }
    }

    document.getElementById("nav").lastElementChild.lastElementChild.style.display = "none";
    </script>
    remove_edit_prof_script.jpg 

Testing

After refreshing your browser by clicking the refresh button next to the address bar or using F5 on your keyboard, the Edit profile menu will be removed.

mceclip0.png

 

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. ATLAS

  2. Posted

Comments