ptl Posted August 10, 2018 Share Posted August 10, 2018 Hello I'm trying to create some custom clientarea page like described here: https://developers.whmcs.com/advanced/creating-pages/Does anyone know how to use "serviceView" context for menus at custom page? I tried to provide service id as _GET parameter : http://whmcs_url/mypage.php?id=3 not working tried init menus using second parameter: Menu::primarySidebar('serviceView', '3'); //id from tblhosting Menu::secondarySidebar('serviceView', '3'); also I tried to create $service = new \WHMCS\Service\Service($id); and init using this object Menu::primarySidebar('serviceView', $service); Menu::secondarySidebar('serviceView', $service); in all cases WHMCS does not render service-related menus at my page. 1 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.