ibumu.com Posted October 9, 2015 Share Posted October 9, 2015 Hello I want chenge the link on the quick access links. I need modify "downloads" button to send it to my custom download portal. Have anybody some help to do it? Thanks 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 9, 2015 Share Posted October 9, 2015 a screenshot showing exactly which menu you want to change would be useful... 0 Quote Link to comment Share on other sites More sharing options...
ibumu.com Posted October 9, 2015 Author Share Posted October 9, 2015 Yes, thanks 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 9, 2015 Share Posted October 9, 2015 create a file in includes/hooks and call it downloadsidebar.php - add the following code to it (and change google.com to the address of your download portal)... <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaSecondarySidebar', 1, function(MenuItem $secondarySidebar) { if (!is_null($secondarySidebar->getChild('Support'))) { $secondarySidebar->getChild('Support') ->getChild('Downloads') ->setUri('http://www.google.com'); } }); 0 Quote Link to comment Share on other sites More sharing options...
ibumu.com Posted October 9, 2015 Author Share Posted October 9, 2015 Thanks you, work perfect! 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.