grozzzny/easyii2

Easyii2CMS

Installs: 349

Dependents: 2

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 0

Open Issues: 0

Language:JavaScript

Type:yii2-extension

dev-master 2021-01-21 11:52 UTC

This package is auto-updated.

Last update: 2024-03-21 19:17:47 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
        ]
    ]
])