fckeditor-integration FCKEditor-Integration (Discontinued)

  1. Documentation
  2. Change Log

With this extension you can use the FCKEditor (www.fckeditor.net) within your Yii-Application.

Resources

Documentation

Requirements
  • Yii 1.0 or above
  • FCKEditor
  • The FCKEditor have to be configured. The Javascript of the Editor must be included to the head-section of the Application.
Installation
  • Extract the release file under protected/extensions
  • Extract the fckeditor to a webRoot-Subfolder
Usage

See the following code example:

<?php $this->widget('application.extensions.fckeditor.FCKEditorWidget',array(
	"model"=>$pages,				# Data-Model
	"attribute"=>'content',			# Attribute in the Data-Model
	"height"=>'400px',
	"width"=>'100%',
	"toolbarSet"=>'Basic', 			# EXISTING(!) Toolbar (see: fckeditor.js)
	"fckeditor"=>Yii::app()->basePath."/../fckeditor/fckeditor.php",
									# Path to fckeditor.php
	"fckBasePath"=>Yii::app()->baseUrl."/fckeditor/",
									# Realtive Path to the Editor (from Web-Root)
	"config" => array("EditorAreaCSS"=>Yii::app()->baseUrl.'/css/index.css',),
									# Additional Parameter (Can't configure a Toolbar dynamicly)
) ); ?>

Change Log

September 15, 2010
  • Use without a model
May 18, 2009
  • ToolbarSet can be configured
January 3, 2009
  • Code cleaned
  • New Configuration-Parameter "BasePath"
January 2, 2009
  • Initial release.
  • Starting a googlecode-Project
15 1
7 followers
9 363 downloads
Yii Version: 1.1
License: Apache-2.0
Category: User Interface
Tags:
Developed by: Ascomae
Created on: Jan 2, 2009
Last updated: 11 years ago

Downloads

show all