Yii 1.1: another-elrte

another elRTE
4 followers

This extension is an elRTE v1.1 widget

Resources

Documentation

Requirements

  • Yii 1.1.1 or above

Installation

  • Extract the release file under protected/extensions

Usage

See the following code example:

$this->widget('application.extensions.elrte.elRTE', array(
    'model' => $model,
    'attribute' => 'body',
    'name' => 'body',
    'htmlOptions' => array('width' => '320'),
    'options' => array(
      'doctype'=>'',
      'cssClass' => 'el-rte',
      'cssfiles' => array('css/elrte-inner.css'),
      'absoluteURLs'=>'',
      'allowSource' => true,
      'lang' => 'en',
      'styleWithCss'=>'',
      'height' => 160,
      'fmAllow'=>'',
      'fmOpen'=>'',
      'toolbar' => 'eldorado',
      'resizable' => false,
      )
    )
  );

Change Log

September 29, 2010

  • Initial release.

Total 2 comments

#2563 report it
TocsA at 2011/01/17 02:19pm
answer :)

You are right. It doesn't work if you used whitout resizable. I modified the extension. If you don't want use the resizable property you can set up in the options.

Sorry, my English is very poor, but I hope it is understandable.

Thank you the ask! TocsA

#2532 report it
rianday at 2011/01/14 10:35am
ask

it's work, but i can't insert the image.. how i can, insert image within elrte?

Leave a comment

Please to leave your comment.

Create extension
Downloads
  • Yii Version: 1.1
  • License: New BSD License
  • Developed by: TocsA
  • Category: User Interface
  • Votes: +1
  • Downloaded: 496 times
  • Created on: Sep 29, 2010
  • Last updated: Jan 17, 2011