Editor

Hi all

How can i implement editor(Tiny_mce or FCKeditor ).pls tell me the step

Hi,

Just check http://www.yiiframework.com/extension/tinymce :)

thanks 4 help

it is not clear to me…can u provide me some sample code ??

For example, you have Post model with ‘content’ field, which you want to edit in TinyMCE. So:

  1. You should install tinymce extension

  2. On form template put code:


<?php $this->widget('application.extensions.tinymce.ETinyMce', array('name'=>'Post[content]')); ?>

Something like this :)