Bobby7110 Posted October 2, 2015 Share Posted October 2, 2015 Hello! I have a little problem: I am currently using the version 6.1.0 and I'd like to remove the task "Domains Expiring Soon" from the main overview at the client area. Could you help me and tell me how to do this? Thanks in advance, Bobby 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 2, 2015 Share Posted October 2, 2015 create a file in includes/hooks, call it 'removepanel.php' (or anything you like .php) and paste the following code into it... <?php use WHMCS\View\Menu\Item; add_hook('ClientAreaHomepagePanels', 1, function (Item $homePagePanels) { $homePagePanels->removeChild('Domains Expiring Soon'); }); refresh the page and the panel should be gone. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted October 2, 2015 Share Posted October 2, 2015 create new php file inside /includes/hooks/ directory and put the following inside: <?php use WHMCS\View\Menu\Item; add_hook('ClientAreaHomepagePanels', 1, function (Item $homePagePanels) { $homePagePanels->removeChild('Domains Expiring Soon'); }); 0 Quote Link to comment Share on other sites More sharing options...
Bobby7110 Posted October 13, 2015 Author Share Posted October 13, 2015 Excuse me for my late answer, but I just wanted to thank you for your help, everything worked out perfectly! Thanks again! Bobby 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted October 13, 2015 Share Posted October 13, 2015 Excuse me for my late answer, but I just wanted to thank you for your help, everything worked out perfectly!Thanks again! Bobby great, you're welcome! 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.