2017 © Pedro Peláez
 

yii2-extension yii2-mcms-nested

Nested Sortable based in nestedSortable jQuery Plugin

image

marciocamello/yii2-mcms-nested

Nested Sortable based in nestedSortable jQuery Plugin

  • Saturday, May 3, 2014
  • by MarcioCamello
  • Repository
  • 3 Watchers
  • 3 Stars
  • 431 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 1 Versions
  • 3 % Grown

The README.md

MCMS Nested Sortable

Nested Sortable based in nestedSortable jQuery Plugin, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist marciocamello/yii2-mcms-nested "*"

or add, (*4)

"marciocamello/yii2-mcms-nested": "*"

to the require section of your composer.json file., (*5)

List Sortable


echo \mcms\nested\NestedSortable::widget([ 'model' => Menu::className(), 'url' => 'nested/save-sortable', 'expand' => true, 'pluginOptions' => [ 'maxDepth' => 2 ] ]);

Action


public function actions() { return [ 'save-sortable' => [ 'class' => 'mcms\nested\NestedSortableAction', //'scenario'=>'editable', //optional 'modelclass' => Categories::className(), ], ]; }

The Versions

03/05 2014

dev-master

9999999-dev

Nested Sortable based in nestedSortable jQuery Plugin

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar MarcioCamello

extension yii2 nested mcms