Jump to content

Setting active page on custom ClientAreaPrimarySidebar?


Recommended Posts

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated