ckkceditor WYSIWYG textarea using CMS ckEditor + kcFinder in one extension

  1. Requirements
  2. Usage
  3. Resources

Fixed an old ckEditor extension and I added a File Browser to Upload and insert images on any given path. Great for CMS.

Requirements

Yii 1.1 or above)...

Usage

$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."/":"",
	) 
);

Resources

20 0
37 followers
0 downloads
Yii Version: 1.1
License: LGPL-3.0
Category: User Interface
Tags:
Developed by: xalakox
Created on: Jan 30, 2011
Last updated: 13 years ago