2017 © Pedro Peláez
 

yii2-extension yii2-dwz

dwz后台模板+kindeditor部件

image

zyblog/yii2-dwz

dwz后台模板+kindeditor部件

  • Wednesday, November 16, 2016
  • by zhangyue
  • Repository
  • 1 Watchers
  • 2 Stars
  • 25 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Yii2 DWZ富文本后台框架

=======================================, (*1)

安装说明

composer安装:, (*2)

php composer.phar require zyblog/yii2-dwz "*"

手动安装:, (*3)

githup下载后,在vendor目录下创建zyblog目录,代码放进去,去yiisoft\extensions.php下方增加:, (*4)

'zyblog/dwz' =>  array (
      'name' => 'zyblog/dwz',
      'version' => '1.0',
      'alias' =>
          array (
              '@zyblog/dwz' => $vendorDir . '/zyblog/yii2-dwz',
          ),
  ),

使用

配置文件中:, (*5)

'components' => [
    'view' => [
         'theme' => [
             'pathMap' => [
                '@app/views' => '@vendor/zyblog/yii2-dwz/example-views'
             ],
         ],
    ],
],

或者直接把example-views里的内容拷贝到项目中替换原文件, (*6)

代码里注释很清楚啦,有什么改的自己改改用就OK啦, (*7)

集成:

dwz框架, (*8)

http://jui.org/, (*9)

kindeditor, (*10)

http://kindeditor.net/, (*11)

参考Yii 1.1: dwzinterface, (*12)

http://www.yiiframework.com/extension/dwzinterface/, (*13)

将xheditor换成了kindeditor,做成了widget, (*14)

仅添加了部分widget,最主要的是pager分页和navtab菜单,方便大家使用,其他的效果自己看dwz的demo添加widget或者手写都行,除了这两个常用而且比较麻烦外,其他的我基本上都自己写,好控制一些~, (*15)

kindeditor上传文件

默认用的原生的上传文件,代码复制到项目后会在web目录下的assets中,比如:web/assets/b9297cd7/kindeditor/php/upload_json.php,上传的目录也会相对这个位置,因此,ke的widget中默认uploadPath加了四了../定位到web目录, (*16)

上传功能建议自己写,直接修改widget的views中相关的上传配置,请参考kindeditor的相关文档, (*17)

完整项目带测试页面的请移步 Yii2-zyblog-example

进行中...., (*18)

The Versions

16/11 2016

dev-master

9999999-dev https://github.com/zhangyue0503/yii2dwz

dwz后台模板+kindeditor部件

  Sources   Download

MIT

The Requires

 

kindeditor yii2dwz dwz.js dwz kindeditor

16/11 2016

v1.06

1.06.0.0 https://github.com/zhangyue0503/yii2dwz

dwz后台模板+kindeditor部件

  Sources   Download

MIT

The Requires

 

kindeditor yii2dwz dwz.js dwz kindeditor

14/11 2016

v1.05

1.05.0.0 https://github.com/zhangyue0503/yii2dwz

dwz后台模板+kindeditor部件

  Sources   Download

MIT

The Requires

 

kindeditor yii2dwz dwz.js dwz kindeditor

11/11 2016

v1.04

1.04.0.0 https://github.com/zhangyue0503/yii2dwz

dwz后台模板+kindeditor部件

  Sources   Download

MIT

The Requires

 

kindeditor yii2dwz dwz.js dwz kindeditor

11/11 2016

v1.02

1.02.0.0 https://github.com/zhangyue0503/yii2dwz

dwz后台模板+kindeditor部件

  Sources   Download

MIT

The Requires

 

kindeditor yii2dwz dwz.js dwz kindeditor

09/11 2016

v1.01

1.01.0.0 https://github.com/zhangyue0503/yii2dwz

dwz后台模板+kindeditor部件

  Sources   Download

MIT

The Requires

 

kindeditor yii2dwz dwz.js dwz kindeditor

20/09 2016

v1.0

1.0.0.0 https://github.com/zhangyue0503/yii2dwz

dwz后台模板+kindeditor部件

  Sources   Download

MIT

The Requires

 

kindeditor yii2dwz dwz.js dwz kindeditor