Open rubenheymans opened 10 years ago
Just for reference: https://github.com/schmunk42/p3pages This is my Yii 1 extension to manage a sitemap and pages, but it can be simplified for Yii 2.
Feature-Wishlist:
I developed a couple of yii2 navigation extensions (uses bootstrap styles - but you can edit the CSS to your needs). What you are looking is similar to my SideNav widget. It uses more of pure CSS to render and toggle the menu hierarchy and very limited javascript. You can also check a complete demo for SideNav. The CSS by default supports upto 3 level menu (for performance reasons) - which should be enough for most use cases. But you can still support more levels - by just extending the CSS ... you do not need any scripting for that.
when you add a menu item, you sould be able to choose:
1.0 : menuitem1 1.1 : submenuitem1 1.2 : submenuitem2
menuitem1 links to submenuitem1, it doesn't have it's own page attached
extra:
Hi its on work with creocoder nested set.
https://bitbucket.org/DrMabuse/yii2-nestedmenu
next days i will published at github
Moment Preview http://screencast.com/t/jHFPyy0lx
when are you going to publish this on github?
An extension to create menu items with a multiple sortable jquery plugin like this https://github.com/shvetsgroup/jquery.multisortable