This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
I am working on a project where it's essential for me to have my users access the backend in order to use the dashboard and some custom widgets. I also want to implement some existing plugins like FantasticFAQ and the RainLab Blog Plug-In and allow some of my Users acces to it. I've already figured out how to do this using groups and permissions.
Now when i install a couple of Plugins the Backend Main Manu soon getts cluttered with PlugIn Menues that often just contain the one Controller the Plugin provides. That's messy and not intuitive for the users.
So what i basically want to do is enforcing my own Menu Structure to parts of the Backend. I think this should be possible but i'm struggling with finding the right way to do it. Following Aproaches came to my mind, but they are all not ideal. So i hope somebody here can give me a hint on something that i've missed.:
- I could modify the Plugin initialisation Files of the Plugins in order to make them register themselves in a different place on the Backend menu.
This obviously breaks updateability of the Plugins. -
I could make my own plugin to include all the functionality(models/components/etc.) of the Plugins i want to use and place them weherever i please
This is a even worse idea for many reasons -
I could create a Plugin that somehow cleans up the existing Backend Menu and utilizes te registerNavigation Method to build my own.
This seems to be the most workable solution but i came accross some troubles there.: Since the Backand Navigation seems to be created dinamically and isn't saved anywhere i would have to find a way to make my plugin load last in order to discard all other Plugins and replace the Menu. I also haven't found out if the BackendNavigation Class provides the needed Methods to acchieve this.
What's more: Take for example the RainLab/Blog PlugIn. Looking from a Users/ Editors perspective editing Blog posts is a Content Management Task. Ergo the place for it to be is Within the 'CMS' Section of the Backand Main Menu. But i haven't found a way to make my Plugin register a Link there.
i appreciate your thoughts on this,
Last updated
1-1 of 1