Sol menüyü tamamen kapatmak için ;
/templates/sizin_temanız/modules/servers/cpanel/overview.tpl dosyasını açıp içerisinde
{if $systemStatus == 'Active'} kodunu bulup
{if $systemStatus == 'Active' && 0} ile değiştirelim.
Sadece cpanel ile ilgili alanları kapatmak için include/hook içerisine cpanel_removal.php adlı bir dosya oluşturalım. sonra içerisine aşağıdaki kodları ekleyelim kaydedip çıkalım.
<?php
/**
* Remove cPanel & Webmail Login from WHMCS Client Area
*
* @package WHMCS
* @copyright Copyright (c) WHMCS Limited 2005-2013
* @license http://www.whmcs.com/license/ WHMCS Eula
* @version $Id$
* @link http://www.whmcs.com/
*/
if (!defined("WHMCS"))
die("This file cannot be accessed directly");
use WHMCS\View\Menu\Item as MenuItem;
// Add social media links to the end of all secondary sidebars.
add_hook('ClientAreaPrimarySidebar', 1, function (MenuItem $primarySidebar)
{
if (!is_null($primarySidebar->getChild('Service Details Actions'))) {
$primarySidebar->getChild('Service Details Actions')->removeChild('Login to cPanel');
$primarySidebar->getChild('Service Details Actions')->removeChild('Login to Webmail');
}
});
?>Hepsi bu kadar..