Alexiis Posted November 29, 2015 Share Posted November 29, 2015 Bonjour, I would like to remove this box On cart.php How to do ? Screen attached Regards 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted November 29, 2015 Share Posted November 29, 2015 http://forum.whmcs.com/showthread.php?107470-How-to-remove-the-side-menu-here&p=441211#post441211 <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaSecondarySidebar', 1, function(MenuItem $secondarySidebar) { if (!is_null($secondarySidebar->getChild('Categories'))) { $secondarySidebar->removeChild('Categories'); } if (!is_null($secondarySidebar->getChild('Actions'))) { $secondarySidebar->removeChild('Actions'); } }); 0 Quote Link to comment Share on other sites More sharing options...
Alexiis Posted November 29, 2015 Author Share Posted November 29, 2015 I put this code or? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted November 29, 2015 Share Posted November 29, 2015 create a new file in the includes/hooks directory, called it "cartsidebar.php" and paste the above code into it and save. 0 Quote Link to comment Share on other sites More sharing options...
Alexiis Posted November 29, 2015 Author Share Posted November 29, 2015 Oh thank you it works 0 Quote Link to comment Share on other sites More sharing options...
Alexiis Posted November 29, 2015 Author Share Posted November 29, 2015 Hello And how the menu can be changed? Screen Attachment regards 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted November 29, 2015 Share Posted November 29, 2015 how would you like to change it? check the documentation here to add/edit/or remove menu items 0 Quote Link to comment Share on other sites More sharing options...
Alexiis Posted November 29, 2015 Author Share Posted November 29, 2015 Thanks 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.