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.
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:
- Sign in to Kayako and go to the Help Center.
- Click the Customize button in the upper-right corner.
- On the Customize pane, click the Customize templates heading.
- Select Footer from the Template drop-down menu.
- 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>
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.