webempresa Posted February 18, 2016 Share Posted February 18, 2016 Hi, I've created a custom page following the instructions on this page: http://docs.whmcs.com/Creating_Pages I want to add Shortcuts menú sidebar (this menu loads on client area home). I check http://docs.whmcs.com/Editing_Client_Area_Menus#Context looking for this menu, but I can't find it. Regards. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 18, 2016 Share Posted February 18, 2016 take a look at the bottom of the Six/header.tpl template and you'll see that it uses an {include} link to includes/sidebar.tpl - adding a similar link to your custom page should allow the sidebar to appear. 0 Quote Link to comment Share on other sites More sharing options...
webempresa Posted February 19, 2016 Author Share Posted February 19, 2016 This does not work. If, for example, I put this code in the php file: Menu::secondarySidebar('support'); it loads Support sidebar menu. But I want to load Shortcuts sidebar. Thanks for your help. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 19, 2016 Share Posted February 19, 2016 isn't the Shortcuts sidebar officially called 'Client Shortcuts' - have you tried using that? 0 Quote Link to comment Share on other sites More sharing options...
webempresa Posted February 19, 2016 Author Share Posted February 19, 2016 Hi, If I use this code: Menu::secondarySidebar('Client Shortcuts'); a blank page is loaded. It doesn't work. I check http://docs.whmcs.com/Editing_Client_Area_Menus#Context looking for this menu, but I can't find it. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 19, 2016 Share Posted February 19, 2016 perhaps WHMCS hasn't defined 'Client Shortcuts' as a pre-set sidebar ? it may be worth opening a ticket with support to see what they say. the alternative would be to write an action hook to re-create the Client Shortcuts sidebar on your page - there's only a few straightforward links in that sidebar, so they'll be easy to add. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted February 19, 2016 Share Posted February 19, 2016 maybe they are available in specific pages only 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 20, 2016 Share Posted February 20, 2016 maybe they are available in specific pages only possibly - though a quick look at clientarea.php might tell us how that page calls that sidebar - pity it's encoded! 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.