Jump to content

removing Tab from Admin Client Summary Menu?


Snowman

Recommended Posts

Hi im wondering if there is a way to remove or hide the Domains Tab from the Admin Client Profile menu...

 

is this done via a hook in the same manner as it is in the client side?

 

Unsure of the correct menu name to identify it as if it is...

 

can anyone assist?

 

TIA

 

oh and im also looking to remove or hide the domain registration functions from the Admin Add New Order function as well

 

The install im working on isnt being used for Hosting or domain names...

Edited by Snowman
Link to comment
Share on other sites

Snowman said:
Hi im wondering if there is a way to remove or hide the Domains Tab from the Admin Client Profile menu...

is this done via a hook in the same manner as it is in the client side?

Unsure of the correct menu name to identify it as if it is...

can anyone assist?

i'm not even sure it can be removed via a hook :?:

although, you could certainly remove it using css in /admin/templates/*your admin template* (e.g blend)/style.css and just adding the following to the end of the file...

 

#clientTab-5 { display: none;}
 

 

Snowman said:
oh and im also looking to remove or hide the domain registration functions from the Admin Add New Order function as well

The install im working on isnt being used for Hosting or domain names...

again, i'm not sure that would be easy to remove with a hook, but css will get you part of the way there...

 

#domains { display: none;}
.adddomain { display: none;}
 

 

and then you're left with the "Domain Registration" string, which you can remove using Language Overrides...

 

http://docs.whmcs.com/Language_Overrides

 

using this method, you can alter text strings used by WHMCS - the above documentation only deals with client language files, but the same method can be applied to admin language files too. :idea:

 

$_ADMINLANG['domains']['domainreg'] = "Domain Registration";
 
updated for v7.5...
 
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated