This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hello everyone,
I started using October a few weeks ago and I must say that I love it :)
I would like to add a new side menu item in Rainlab.Pages plugin. The problem is that when the menuover or click events are triggered, the side panel menu is showed. Instead, I would like the user to navigate to the url.
Is there a way to do it?
When snippets are clicked
When my new menu item is clicked
Here is my code
Thank you very much.
In your Items plugin controller, you need to set the context to the RainLab Pages stuff if you haven't already.
So it would be something like this:
public function __construct()
{
parent::__construct();
BackendMenu::setContext('RainLab.Pages', 'pages', 'items');
}
Last updated
1-2 of 2