Comments (9)
Hi,
Just because we use the laravel-sidebar package which is easy to manage via php and is in version control.
from laravel-menus.
I did the same with your package, via PHP, extensible as within Asgard, through events 😉
from laravel-menus.
I see, interesting. So it's manageable via the UI and code? What if I have a menu item via code, but client removes it via the UI?
from laravel-menus.
I'm not talking about the Menu manager of Asgard but the Admin Sidebar, which is managed from code of modules. Like this one:
https://github.com/AsgardCms/Platform/blob/2.0/Modules/Page/Events/Handlers/RegisterPageSidebar.php
from laravel-menus.
Mine is something like this: https://gist.github.com/denisdulici/9883b81b1440ae8cb4026ac498fd92d5
from laravel-menus.
The menu manager of asgard is this package, to which you PR'ed the adminlte presenter. So I assume it's for the backend. Same as your title here.
So based on your code, what happens when the clients removes that item?
I assume that item wouldn't be persisted in the database so the client can't even touch it? What's the upside of using it then vs laravel-sidebar?
from laravel-menus.
In Asgard, as far as I know, the admin sidebar is not saved in database and there is no UI for it so the client can't touch it, right?
As for the upside, why use 2 packages when you can get the same with 1 ?
from laravel-menus.
I see yea that makes sense.
from laravel-menus.
I'll close this as your PR was merged. 😄
from laravel-menus.
Related Issues (20)
- MenuItem does not append prefix url HOT 1
- Laravel 5.7 support? HOT 2
- Class 'Menu' not found HOT 3
- Change Interface HOT 2
- Support Laravel 5.8? HOT 4
- Installation failed, reverting ./composer.json to its original content. HOT 2
- Ideas of supporting 5.8? HOT 2
- Custom Icon Wrapper
- remove Items
- array_key_exists() expects parameter 2 to be array, null given
- My Code Doesn't Work ! HOT 2
- SidebarMenuPresenter for AdminLTE 3 (Bootstrap 4)
- Support Laravel 7 ? HOT 3
- Installation failed, does anyone has solution on this? HOT 1
- How can i hide menu item
- Laravel 9 installation issue HOT 3
- session problem in NWIDART package with laravel8
- Make top of submenu a link
- bug in dropdown()
- $menuitem->hideWhen : determining whether menu item is hidden should be based on customized global or menu specific logic
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-menus.