Различия

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

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

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
yii2:widgets [2018/01/18 12:20] – [tags] 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 ===
  
Строка 68: Строка 78:
   
 === tags === === tags ===
- +  
-  * https://github.com/2amigos/yii2-taggable-behavior [[http://yiico.ru/blog/490-dobavlenie-tegov-k-zapisyam-yii2-taggable|EXAMPLE]]+  * https://github.com/2amigos/yii2-selectize-widget ( use with [[yii2:view:behaviors#yii2_behavior|yii2-taggable-behavior]] )
   * https://github.com/creocoder/yii2-taggable :!:   * https://github.com/creocoder/yii2-taggable :!:
   * https://github.com/justinvoelker/yii2-tagging :!:   * https://github.com/justinvoelker/yii2-tagging :!:
Строка 85: Строка 95:
  
 == Bootstrap Tags Input == == Bootstrap Tags Input ==
- + 
 +  * https://github.com/wbraganca/yii2-tagsinput [[https://github.com/wbraganca/yii2-tagsinput|DEMO]]
 ==== Карты / Maps / GEO ==== ==== Карты / Maps / GEO ====
  
Строка 114: Строка 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]]
Строка 136: Строка 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 ====
  
Строка 146: Строка 210:
 ==== Charts / Графики ==== ==== Charts / Графики ====
  
 +  * https://github.com/miloschuman/yii2-highcharts [[yii2:examples:charts]] :!:
   * https://github.com/2amigos/yii2-highcharts-widget   * https://github.com/2amigos/yii2-highcharts-widget
   * https://github.com/2amigos/yii2-chartjs-widget   * https://github.com/2amigos/yii2-chartjs-widget
-  * http://www.yiiframework.com/extension/yii2-amcharts/   +  * http://www.yiiframework.com/extension/yii2-amcharts/  
 +  * https://github.com/maddoger/yii2-highcharts   
 +  * 
   
 ==== Pickes ==== ==== Pickes ====
Строка 179: Строка 246:
 ==== Menu ==== ==== Menu ====
  
-  * http://geedmo.github.io/yamm/#+  * https://github.com/pceuropa/yii2-menu 
 +  * https://github.com/zacksleo/yii2-menu
  
 ==== SEO ==== ==== SEO ====