BAJI26 Posted October 5, 2015 Share Posted October 5, 2015 How can I change the link in the picture? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 5, 2015 Share Posted October 5, 2015 on my way out, but take a look @ the v6 docs for editing the sidebars - there's one there for changing links... - looks like it's a secondary sidebar... i'll be back later tonight, if you don't manage to figure it out, let me know. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 5, 2015 Share Posted October 5, 2015 <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaSecondarySidebar', 1, function(MenuItem $secondarySidebar) { if (!is_null($secondarySidebar->getChild('Client Shortcuts'))) { $secondarySidebar->getChild('Client Shortcuts') ->getChild('Order New Services') ->setUri('http://www.google.com'); } }); 0 Quote Link to comment Share on other sites More sharing options...
BAJI26 Posted October 6, 2015 Author Share Posted October 6, 2015 THanks alot! 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.