Yii 1.1: kindeditor

The kindeditor extension for yii.
9 followers

This is a extension for use KindEditor as a text editor. The KindEditor detail is here http://www.kindsoft.net This version extension is not support full English, so please wait for the next version.

Requirements

Requirements of using this extension (e.g. Yii 1.1 or above)...

Version

v0.1

Usage

How to use

First

Create upload/attached in your root path.

Then add code

Before code

<?php echo $form->labelEx($model,'content'); ?>
<?php echo $form->textArea($model,'content',array('rows'=>6, 'cols'=>50)); ?>

After code

<?php $this->widget('ext.kindeditor.KindEditor',
                    array(
                        'model'=>$model,
                        'attribute'=>'content',
                        )
                    ); ?>
<?php echo $form->labelEx($model,'content'); ?>
<?php echo $form->textArea($model,'content',array('rows'=>6, 'cols'=>50)); ?>

Resources

Created By Joe Chu

Todos:

  • Custom langauge.
  • Support multiple editors use in one form.

Total 7 comments

#10869 report it
Dips at 2012/11/29 01:22am
nice one!

nice ext!!! thanks

#10552 report it
PHP_KUN at 2012/11/04 07:06am
aidai524
<?php $this->widget('ext.kindeditor.KindEditor',
                    array(
                        'model'=>$model,
                        'attribute'=>'content',
                        )
                    ); ?>
<?php echo $form->labelEx($model,'content'); ?>
<?php echo $form->textArea($model,'content',array('rows'=>6, 'cols'=>50)); ?>

I used the code above,but I got a error that content attribute not found……

#10407 report it
aidai524 at 2012/10/26 02:50am
PHP_KUN

PHP_KUN can you tell me more details? I didn't use the code you list, but my extension can work fine.

#9910 report it
PHP_KUN at 2012/09/21 04:23am
Question

If the view page don't have the code like this:

$this->widget('zii.widgets.CListView', array( 'dataProvider'=>$dataProvider, 'itemView'=>'', ));

The kindeditor extension cann't be load successfully~ I don't konw why!

#9387 report it
jasonban at 2012/08/08 03:46am
Thanks for extension

This extension is really good to use as a editor and I am using it on my project But I having language problem. I want to use this extension in English Version. Thanks in advance for your help. and keep updated.

Regards Sundar

#9349 report it
jinmmd at 2012/08/06 01:08am
good job!

kindeditor is a good editor, and thanks for the extension. please remember to keep on updating!

#8634 report it
锐 子 at 2012/06/15 12:18am
good job

thanks

Leave a comment

Please to leave your comment.

Create extension