Hi, thanks for your reply mjauvin!
Unfortunately I am still stuck with where to set the context. My plugin.php contains this:
public function boot()
{
Event::listen('backend.menu.extendItems', function($manager) {
$manager->removeMainMenuItem('Rainlab.User', 'user');
$manager->addSideMenuItems('Pdsci.Library', 'library', [
'user' => [
'label' => 'User',
'icon' => 'icon-upload',
'code' => 'user',
'owner' => 'RainLab.User',
'url' => Backend::url('rainlab/user/users')
]
]);
});
}
So I guess I have to add something to my(?) controller like
BackendMenu::setContext( ... );
But I could not figure out yet where to use and what params to use.
My plugin controller already has
BackendMenu::setContext('Pdsci.Library', 'library');
but with all changes I destroy either my own plugin submenu or something else so far. May be I am missing a concept thing?
Thanks in advance!