Tom Wilson Posted August 26, 2019 Share Posted August 26, 2019 Hey We've just got Zendesk, and won't be using the built-in WHMCS KB and Support system. What's the easiest way to send anyone who goes to submit a ticket, goes to the KB or tries to view a support ticket gets redirected to another link. I also want to remove the 'Recent support tickets' from the client's home page. Any help is appreciated 🙂  Thanks Tom 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 26, 2019 Share Posted August 26, 2019 22 minutes ago, Tom Wilson said: I also want to remove the 'Recent support tickets' from the client's home page. <?php use WHMCS\View\Menu\Item; add_hook('ClientAreaHomepagePanels', 1, function (Item $homePagePanels) { if (!is_null($homePagePanels->getChild('Recent Support Tickets'))) { $homePagePanels->removeChild('Recent Support Tickets'); } }); 28 minutes ago, Tom Wilson said: What's the easiest way to send anyone who goes to submit a ticket, goes to the KB or tries to view a support ticket gets redirected to another link. depends on the theme! 🙂 if it were Six, i'd be tempted to say hooks - because existing sidebar/navbar links can be changed with hooks.. do a search for setUri and my username, and see where the results get you... there should be plenty of hooks out there that i've written for such a purpose... you could also use redirection hooks, e.g if someone goes direct to knowledgebase.php, they're redirected to your zendesk equivalent page... again, do a search for location: with my username and that should get you some examples... though let me know if you get nowhere with searching. htaccess might be another option, but then you're fighting against Friendly URLs and WHMCS internal redirection - so that may be more hassle than it's worth. 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.