jtgroup Posted November 6, 2020 Share Posted November 6, 2020 Hello everyone, I've finally moved the support system out of WHMCS and into Zoho Desk. I've made a number of configuration changes, mostly using hooks, to remove the in-built support system from the clients' portal but I still need to hide the 'Your Recent Tickets' module. Does anyone know how I can do this please? Many thanks James 0 Quote Link to comment Share on other sites More sharing options...
yggdrasil Posted November 13, 2020 Share Posted November 13, 2020 Why not just edit the template files and remove all links and references to the WHMCS support system? 0 Quote Link to comment Share on other sites More sharing options...
jtgroup Posted November 13, 2020 Author Share Posted November 13, 2020 4 hours ago, yggdrasil said: Why not just edit the template files and remove all links and references to the WHMCS support system? How though? I have removed everything apart from the 'Your Recent Tickets' module. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted November 13, 2020 Share Posted November 13, 2020 oh i thought I had answered this thread. On 06/11/2020 at 07:36, jtgroup said: I've finally moved the support system out of WHMCS and into Zoho Desk. I've made a number of configuration changes, mostly using hooks, to remove the in-built support system from the clients' portal but I still need to hide the 'Your Recent Tickets' module. Does anyone know how I can do this please? if you're talking about the sidebar, then you can use a hook... <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaSecondarySidebar', 1, function(MenuItem $secondarySidebar){ if (!is_null($secondarySidebar->getChild('Recent Tickets'))) { $secondarySidebar->removeChild('Recent Tickets'); } }); 0 Quote Link to comment Share on other sites More sharing options...
jtgroup Posted November 16, 2020 Author Share Posted November 16, 2020 On 13/11/2020 at 4:06 PM, brian! said: oh i thought I had answered this thread. if you're talking about the sidebar, then you can use a hook... <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaSecondarySidebar', 1, function(MenuItem $secondarySidebar){ if (!is_null($secondarySidebar->getChild('Recent Tickets'))) { $secondarySidebar->removeChild('Recent Tickets'); } }); That worked perfectly, thank you! 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.