Daniel231 Posted November 15, 2021 Share Posted November 15, 2021 I would like to create this menu, is it possible? 0 Quote Link to comment Share on other sites More sharing options...
Daniel231 Posted November 15, 2021 Author Share Posted November 15, 2021 This work: use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar) { $menuItem = $primaryNavbar->addChild('Menu Name') ->setUri('https://www.example.com/') ->setOrder(70); $menuItem->addChild('Sub Menu Item 1')->setUri('foo'); $menuItem->addChild('Sub Menu Item 2')->setUri('bar'); return $primaryNavbar; }); Bu haw i put a menu on the "Sub Menu Item 1" ? 0 Quote Link to comment Share on other sites More sharing options...
wsa Posted November 16, 2021 Share Posted November 16, 2021 They is couple module that you can find in WHMCS Marketplace that do that 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.