Articles in this section
Category / Section

How to Hide a Profile Tab in the Customer Portal

Published:

You can hide a tab under my profile page in the customer portal using a custom JS option.
To do so, go to Admin > Customer Portal > Customization and paste the following custom JS code.

Custom JS code

let intervel = setInterval(function() {
   var tab = document.querySelector("#user-details-tab");
   if (tab && tab.ej2_instances && tab.ej2_instances[0]) {
     tab.ej2_instances[0].hideTab(1);
     clearInterval(intervel);
   }
 }, 100);

Pasting the custom JS code

To learn where to paste the above custom JS codes, refer to this article.

Before customization

Before.png

After customization

After.png

Related article

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied