Integrate ckeditor with Yii framework

| Last Updated: | In: Yii framework


This extension is used to widget uses CHtml:activeTextArea to create a textarea, and also creates a CKEditor instance and then replaces the textarea with a CKEditor.

yii-ckeditor

Download CKEditor from CKEditor extension

Requirements

This extension was created using Yii 1.1.9, but I would expect it to run on most 1.1 frameworks.

Installation

Use of this extension is simple. Simply unzip the extension and place the folder inside the extensions folder :

This will create a file structure as follows :

Usage in _form.php page

Replace active TextArea with bellow code :

if you want to use custom configuration of CKEditor, then use the bellow code :

Tags: ,


About: Prem Tiwari

Prem Tiwari is the founder of freewebmentor.com and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby.


You may also like:

Get Free Access of 450+ Scripts

Don't worry you'll not be spammed!

Featured eBook

WordPress Security Guide

Free Guide: Learn how to implement security guideline in your WordPress site...

DOWNLOAD

Free WordPress Setup Service

Free WordPress Setup

Want to Setup WordPress Blog Setup? I will help you in the setup of your WordPress blog.

Click Here

Discount Coupons

Pincode Finder

pincode-finder tool

Online Pincode Finder

Best tool to locate post Office address and pincodes of all india...

SEARCH NOW