Add Ckeditor To Yii Framework

Dear all,

sorry I am very new in Yii,I try to add ckeditor to view, but I have the problem which I can not solve.

the problem is [size="2"]"PHP notice Undefined variable: model"[/size]

this is my view:

<form action="" method="post">




			&lt;?php &#036;this-&gt;widget('', array(





			)); ?&gt;





this is my controller:

class NewsController extends Controller{

public function actionCreate()


&#036;model=new News();






would you fixed this problemce and how controller get value which we input in ckedit

thankyou very much

What is the view name? create.php or maybe _form.php? :)

my view name is create.php, I have to fixed the model to models and it has a new error:


Alias "" is invalid. Make sure it points to an existing PHP file and the file is readable. [/size][/b]

I have download the ckeditor_4.2.3_standard and the root in project is project/ckeditor

try add code /protected/config/main.php

Yii::setPathOfAlias('widgets', dirname(__FILE__) . '/../extensions/my');

and make sure your extensions location is