Oxford eBooks Posted August 4, 2016 Share Posted August 4, 2016 I've created a ClientAreaPrimarySidebar for a new set of pages in my installation which contains a handful of related pages for visitors that want to create a new website using our design service or self-service by just buying hosting from us. I can't seem to figure out how to set the ACTIVE page so that it's hilighted in the menu when the page is being viewed. I'm sure it's going to be a one-liner involving the page ID or something but I just cant find it in the docs. I'd guess it'll sit either in the .TPL or parent .PHP file. here's a menu line setup example from my menu. // Add design service link. $webDesignPanel->addChild('design-service-link', array( 'uri' => 'new-website.php', 'label' => 'Our design service', 'order' => 1, 'icon' => 'fa-cubes', )); Thanks. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 4, 2016 Share Posted August 4, 2016 take a look at the setClass option in the hook below... http://forum.whmcs.com/showthread.php?107958-Edit-whmcs-6-custom-sidebar-and-link&p=442638#post442638 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.