WYSIWYG textarea for CMS ckEditor + kcFinder in one extension for

I didn`t knew where to put this, I need more karma to post to Yii’s extension’s library; anyway I fixed an old ckEditor extension and I added a File Browser to Upload and insert images on any given path.

I its a little rought on the edges but this is my first extension, I am still getting the hang of it; hope some one else can find some use.

you used it like this :





$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 don’t pass the filespath and url no upload option shows.

You can download it from code.google.com/p/yii-wysiwyg/; seems to big for forum and extension page (www.yiiframework.com/extension/ckkceditor/).

Best