Snowman Posted August 11, 2016 Share Posted August 11, 2016 (edited) 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 August 11, 2016 by Snowman 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 11, 2016 Share Posted August 11, 2016 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. $_ADMINLANG['domains']['domainreg'] = "Domain Registration"; updated for v7.5... 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.