Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
yii2:widgets [2018/01/18 20:17] – [Charts / Графики] mirocowyii2:widgets [2020/05/16 20:27] (текущий) mirocow
Строка 38: Строка 38:
   * https://github.com/dvizh/yii2-field   * https://github.com/dvizh/yii2-field
   * https://wbraganca.com/yii2extensions/dynamicform-demo3   * https://wbraganca.com/yii2extensions/dynamicform-demo3
 +  * https://github.com/pceuropa/yii2-forms ([[https://pceuropa.net/forms|DEMO]])
 +
 +=== Multi inputs ===
 +
 +  * https://github.com/wbraganca/yii2-dynamicform :!:
 +  * https://github.com/unclead/yii2-multiple-input :!:
 +
 +
 === Upload / File input === === Upload / File input ===
  
Строка 56: Строка 64:
   * https://github.com/vova07/yii2-select2-widget   * https://github.com/vova07/yii2-select2-widget
   * https://github.com/2amigos/yii2-selectize-widget :!:   * https://github.com/2amigos/yii2-selectize-widget :!:
 +  * https://wbraganca.com/yii2extensions/yii2-selectivity
 +  * https://github.com/uldisn/yii2-selectize
 === other === === other ===
  
Строка 115: Строка 125:
   * https://github.com/gilek/yii2-gtreetable   * https://github.com/gilek/yii2-gtreetable
   
 +==== Image ====
  
 +=== Трансформации ===
 +
 +  * https://github.com/cozumel424/yii2-image-cropper
 +  * https://github.com/noam148/yii2-image-manager
 +
 +=== Отображение и кеширование ===
 +
 +  * https://github.com/Mirocow/yii2-imagecache
 ==== Tree / Draggable / Sortable ==== ==== Tree / Draggable / Sortable ====
 +
 +=== Tree ===
 +
 +  * https://github.com/creocoder/yii2-nested-sets
 +    * https://github.com/wokster/yii2-nested-sets-tree-behavior
 +    * <code php>
 +$categories = Category::find()->addOrderBy('lft')->all();
 +$level = 0;
 +
 +foreach ($categories as $n => $category)
 +{
 +    if ($category->level == $level) {
 +        echo Html::endTag('li') . "\n";
 +    } elseif ($category->level > $level) {
 +        echo Html::beginTag('ul') . "\n";
 +    } else {
 +        echo Html::endTag('li') . "\n";
 +
 +        for ($i = $level - $category->level; $i; $i--) {
 +            echo Html::endTag('ul') . "\n";
 +            echo Html::endTag('li') . "\n";
 +        }
 +    }
 +
 +    echo Html::beginTag('li');
 +    echo Html::encode($category->title);
 +    $level = $category->level;
 +}
 +
 +for ($i = $level; $i; $i--) {
 +    echo Html::endTag('li') . "\n";
 +    echo Html::endTag('ul') . "\n";
 +}
 +</code>
 +
 +  * https://github.com/voskobovich/yii2-tree-manager
 +    * https://github.com/paulzi/yii2-adjacency-list
 +    * https://github.com/paulzi/yii2-nested-sets
 +    * https://github.com/paulzi/yii2-nested-intervals
 +    * https://github.com/paulzi/yii2-materialized-path 
 +
 +=== Other ===
  
   * [[https://github.com/creocoder/yii2-nested-sets|Nested Sets Behavior for Yii 2]]   * [[https://github.com/creocoder/yii2-nested-sets|Nested Sets Behavior for Yii 2]]
Строка 137: Строка 198:
   * https://www.jstree.com/plugins/ [[https://www.jstree.com/demo/|DEMO]]   * https://www.jstree.com/plugins/ [[https://www.jstree.com/demo/|DEMO]]
   * https://wbraganca.com/yii2extensions/yii2-fancytree-widget/usage   * https://wbraganca.com/yii2extensions/yii2-fancytree-widget/usage
 +  * https://github.com/liyuze/yii2-ztree
 +  * 
 ==== Flags ==== ==== Flags ====
  
Строка 183: Строка 246:
 ==== Menu ==== ==== Menu ====
  
-  * http://geedmo.github.io/yamm/#+  * https://github.com/pceuropa/yii2-menu 
 +  * https://github.com/zacksleo/yii2-menu
  
 ==== SEO ==== ==== SEO ====