I downloaded ckediter and ckeditor exctension, configure it due instruction.
$this->widget('application.extensions.TheCKEditor.theCKEditorWidget',array(
'model'=>Yii::app()->baseUrl.'/protected/models/Post.php', //Ваша модель
'attribute'=>'content', //Атрибут name текстового поля
'height'=>'400px',
'width'=>'100%',
'toolbarSet'=>'Full', //Тулбар (смотреть: ckeditor.js)
'ckeditor'=>Yii::app()->basePath.'/../ckeditor/ckeditor.php',
//Путь к ckeditor.php
'ckBasePath'=>Yii::app()->baseUrl.'/ckeditor/',
//Путь к редактору от корня
) );
where ‘model’ is a path to the model Post. But I get the error:
Error 500
Parameters "model" and "attribute" or "name" have to be set!