giant9182 Posted Tuesday at 05:39 AM Share Posted Tuesday at 05:39 AM Can someone please point me in the direction of the file I need to edit to customise the Hosting Information Tab, specifically to remove the Login to DirectAdmin button? 0 Quote Link to comment Share on other sites More sharing options...
auxilex Posted Tuesday at 08:10 PM Share Posted Tuesday at 08:10 PM Remove this from the clientareaproductdetails.tpl of your active template: <div class="text-center module-client-area"> {$moduleclientarea} </div> 0 Quote Link to comment Share on other sites More sharing options...
DristiTechnologies Posted Wednesday at 06:29 AM Share Posted Wednesday at 06:29 AM To customize the Hosting Information tab in the WHMCS Client Area and remove the "Log in to DirectAdmin" button, you’ll need to edit the relevant template file located at: /templates/{your_active_template}/clientareaproductdetails.tpl Replace {your_active_template} with the folder name of the theme you're using (e.g., twenty-one). Steps to Remove the Button: Open the file clientareaproductdetails.tpl in your active theme directory. Look for the following block, or a similar variant that renders the DirectAdmin login button: {if $service.directadminloginurl} <a href="{$service.directadminloginurl}" target="_blank" class="btn btn-default"> {$LANG.directAdminLogin} </a> {/if} Remove or comment out the block to hide the button. Clear the WHMCS template cache after editing: Go to Utilities > System > System Cleanup > click Empty Template Cache Once you've done that, the button should no longer appear in the client area for hosting services on DirectAdmin. 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.