Kelby Posted May 27, 2020 Share Posted May 27, 2020 Hello, How to hide the Whois Information button in client area? Thanks 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 27, 2020 Share Posted May 27, 2020 4 hours ago, Kelby said: How to hide the Whois Information button in client area? where is the button ? 0 Quote Link to comment Share on other sites More sharing options...
Kelby Posted May 27, 2020 Author Share Posted May 27, 2020 Hello, Attached the image 0 Quote Link to comment Share on other sites More sharing options...
zitu4life Posted May 27, 2020 Share Posted May 27, 2020 Â 7 hours ago, Kelby said: How to hide the Whois Information button in client area? I suspect it need template edit, due custom.css will possible hide not just WHOIS info. but Brian should know what better way to achieve that. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 28, 2020 Share Posted May 28, 2020 18 hours ago, zitu4life said: I suspect it need template edit, due custom.css will possible hide not just WHOIS info. but Brian should know what better way to achieve that. I would probably agree... if this is the cPanel template, then you might get away with using CSS... #cPanelPackagePanel input[type=button] {display: none;} ... as there is only one button input on that page and it's the whois button you want to remove... if there were more of them, then i'd be really tempted just to edit the relevant template. 0 Quote Link to comment Share on other sites More sharing options...
Kelby Posted May 28, 2020 Author Share Posted May 28, 2020 How to remove the button from the template? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 28, 2020 Share Posted May 28, 2020 3 minutes ago, Kelby said: How to remove the button from the template? there be the question - the trick is knowing which template is generating the output. 😕 so if this is a cPanel product, then it's going to be /modules/servers/cpanel/templates/overview.tpl and specifically... <input type="button" onclick="popupWindow('whois.php?domain={$domain}','whois',650,420);return false;" value="{$LANG.whoisinfo}" class="btn btn-info btn-sm" /> it's worth noting... https://docs.whmcs.com/Working_with_Module_Templates Quote To create an override template, simply make a copy of the original template file within the following folder structure inside your custom template: /templates/yourtemplatename/modules/moduletype/modulename/. For example, in the case of the provisioning module "cpanel", /modules/servers/cpanel/overview.tpl could be customised by creating the following template file: /templates/yourtemplatename/modules/servers/cpanel/overview.tpl so you can duplicate this overview template and move it to the active template folder (and then edit it to make your changes) - which means that during an update, WHMCS shouldn't overwrite it - if you modify the original version in the cPanel folder, it likely will. 2 Quote Link to comment Share on other sites More sharing options...
Kilpatrick Posted May 29, 2020 Share Posted May 29, 2020 If you’ve ever registered a website, you’ve probably felt a pang of anxiety about having to enter your address, phone number, and email in the domain’s public WHOIS record. 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.