grozzzny/easyii2

Easyii2CMS

Installs: 298

Dependents: 2

Suggesters: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

Type:yii2-extension

dev-master 2019-11-04 23:43 UTC

README

Control panel and tools based on php framework Yii2. Easy cms for easy websites.

This repository is development package (yii2 extension).

You can find full information in links bellow

Contacts

Feel free to email me on grozzzny@gmail.com

"autoload": {
    "psr-4": {
        "yii\\easyii2\\": "vendor/grozzzny/easyii2"
    }
}
composer dumpautoload

###Redactor

$form->field($model, 'text')->widget(Redactor::className(),[
    'options' => [
        'minHeight' => 400,
        'imageUpload' => Url::to(['/admin/redactor/upload', 'dir' => 'news']),
        'fileUpload' => Url::to(['/admin/redactor/upload', 'dir' => 'news']),
        'plugins' => [
            "alignment",
            "clips",
            "counter",
            "definedlinks",
            "fontcolor",
            "fontfamily",
            "fontsize",
            "fullscreen",
            "filemanager",
            "imagemanager",
            "inlinestyle",
            "limiter",
            "properties",
            //"source",
            "table",
            //"textdirection",
            "textexpander",
            "video",
            "codemirror",
        ],
        'codemirror:' => [
            'lineNumbers' => true,
            'mode' => 'xml',
            'indentUnit' => 4
        ]
    ]
])