2017 © Pedro Peláez
 

yii-extension yii-elfinder

Extension to use elFinder 1.x file manager in yii application

image

z_bodya/yii-elfinder

Extension to use elFinder 1.x file manager in yii application

  • Sunday, December 27, 2015
  • by zxbodya
  • Repository
  • 4 Watchers
  • 2 Stars
  • 808 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 2 Versions
  • 2 % Grown

The README.md

ElFinder 1.x Yii extension

  1. Checkout source code to your project, for example to ext.elFinder
  2. Create controller for connector action, and configure it params, (*1)

    class ElfinderController extends CController
    {
        public function actions()
        {
            return array(
                'connector' => array(
                    'class' => 'ext.elFinder.ElFinderConnectorAction',
                    'settings' => array(
                        'root' => Yii::getPathOfAlias('webroot') . '/uploads/',
                        'URL' => Yii::app()->baseUrl . '/uploads/',
                        'rootAlias' => 'Home',
                        'mimeDetect' => 'none'
                    )
                ),
            );
        }
    }
  3. ServerFileInput - use this widget to choose file on server using ElFinder pop-up, (*2)

      $this->widget('ext.elFinder.ServerFileInput', array(
              'model' => $model,
              'attribute' => 'serverFile',
              'connectorRoute' => 'admin/elfinder/connector',
              )
      );
  4. ImageFileInput - similar to ServerFileInput. Displays small image preview instead of textual path to file., (*3)

      $this->widget('ext.elFinder.ImageFileInput', array(
              'model' => $model,
              'attribute' => 'imageFile',
              'connectorRoute' => 'admin/elfinder/connector',
              )
      );
  5. ElFinderWidget use this widget to manage files, (*4)

      $this->widget('ext.elFinder.ElFinderWidget', array(
              'connectorRoute' => 'admin/elfinder/connector',
              )
      );
  6. To use TinyMceElFinder see: https://bitbucket.org/z_bodya/yii-tinymce, (*5)

The Versions

27/12 2015

dev-master

9999999-dev

Extension to use elFinder 1.x file manager in yii application

  Sources   Download

BSD-3-Clause

by Bogdan Savluk

widget tinymce file manager

15/04 2013

1.0.0

1.0.0.0

Extension to use elFinder 1.x file manager in yii application

  Sources   Download

BSD-3-Clause

by Bogdan Savluk

widget tinymce file manager