承接 avitamin/yii-elfinder 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

avitamin/yii-elfinder

Composer 安装命令:

composer require avitamin/yii-elfinder

包简介

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

README 文档

README

  1. Checkout source code to your project, for example to ext.elFinder

  2. Create controller for connector action, and configure it params

     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

       $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.

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

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

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 2
  • 开发语言: JavaScript

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2020-01-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固