Skip to content

xalakox/yii-wysiwyg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

It implements CKEditor and KCFinder with easy to use parameters.

Download it to your extensions folder and you can use it as follows :

$this->widget('application.extensions.editor.CKkceditor',array(
    "model"=>$model,                # Data-Model
    "attribute"=>'descripcion',         # Attribute in the Data-Model
    "height"=>'400px',
    "width"=>'100%',
        "filespath"=>(!$model->isNewRecord)?Yii::app()->basePath."/../media/paquetes/".$model->idpaquete."/":"",
        "filesurl"=>(!$model->isNewRecord)?Yii::app()->baseUrl."/media/paquetes/".$model->idpaquete."/":"",
) );

If you want to contribute please just ask; I do this on my free time so all the help is appreciated.

About

Yii CKEditor and KCFinder extension implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published