schmunk42 / yii2-extension-requests

Ideas "marketplace" for Yii 2 extensions
18 stars 0 forks source link

Menu extension #10

Open rubenheymans opened 10 years ago

rubenheymans commented 10 years ago

An extension to create menu items with a multiple sortable jquery plugin like this https://github.com/shvetsgroup/jquery.multisortable

schmunk42 commented 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:

schmunk42 commented 10 years ago

Related AR behaviors:

kartik-v commented 10 years ago

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.

rubenheymans commented 10 years ago

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:

DrMabuse23 commented 10 years ago

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

rubenheymans commented 10 years ago

when are you going to publish this on github?