masterzero / yii2-activefield
There is no license information available for the latest version (v1.0.0) of this package.
Cumstom Yii class ActiveField to work with tinymce, elfinder, and auto translit.
Package info
github.com/MasterZero/yii2-activefield
Language:JavaScript
pkg:composer/masterzero/yii2-activefield
v1.0.0
2017-01-17 07:54 UTC
Requires
- kartik-v/yii2-icons: @dev
- zxbodya/yii2-elfinder: *@dev
- zxbodya/yii2-tinymce: *@dev
This package is not auto-updated.
Last update: 2026-03-09 21:57:16 UTC
README
Cumstom Yii class ActiveField to work with tinymce, elfinder, and auto translit.
Installation
Before install you need have composer.
Make sure you've correctly installed the elfinder by zxbodya.
Either run
$ composer require --prefer-dist masterzero/yii2-activefield
or add
"masterzero/yii2-activefield": "*"
to the require section of your composer.json file.
Usage
<?
use masterzero\activefield\ActiveForm;
$form = ActiveForm::begin([
/* ... */
'elFinderConnector' => '/el-finder/connector',
/* ... */
]);
?>
<?= $form->field($model, 'name')->copyName() ?>
<?= $form->field($model, 'url')->PasteToUrl() ?>
<?= $form->field($model, 'image')->elFinder() ?>
<?= $form->field($model, 'content')->tinyMCE() ?>
<? ActiveForm::end() ?>