Removing Setting, Tools Sidebar menus #301
Unanswered
hussain-mcs
asked this question in
Q&A
Replies: 1 comment
-
if you look at themes/Admin/Components/sidebar.php file, which is responsible for outputing sidebar, you will see it is only the collection items that are displayed conditionally if $item->userCanSee() is true. Top level menus are created in vendor/lonnieezell/bonfire/src/Bonfire.php by the setupMenus() method, and you will see it does not attribute visibility to the three default menus (one that is not collapsible and includes Users and all custom modules). So, there is no way currently to make the menus not visible. You would need to patch the theme as well as classes in vendor/lonnieezell/bonfire/src/Menus/ to implement that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
following the guidelines , I'm able create new module named blog, with having blog.access as permission.
In Order to see the dashboard admin access was also provided.
But in sidebar, there seems Setting and Tools menu options being displayed, even though not clickable.
I tried removing this option, but this seems challenging as it looks default menus for dashboard.
Can anyone please assist for the same.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions