elrte-elfinder Widget that allows to add elRTE(WYSIWYG editor) + elFinder (file manager for web) to view

  1. Requirements
  2. Usage
  3. History and bugfix
  4. Resources

elRTE is a WYSIWYG HTML-editor written in JavaScript using jQuery UI. It features rich text editing, options for changing its appearance, style and many more.

elFinder is an open-source file manager for web, written in JavaScript using jQuery UI.


Client: Modern browser. elFinder was tested in Firefox 3.5+, Internet Explorer 7 & 8, Safari 4, Opera 10 and Chrome

Server: Image preview and thumbnails creation requires: PHP: mogrify utility or GD/Imagick module Widget use jQuery, jQuery UI Tested on Yii 1.1.7 and 1.1.8


  1. Unpack to folder with your extensions. For example: protected/extensions
  2. Create folder in root directory of your Yii project. Folder name must be content and give this folder write permissions. If you want other name of the folder you can change this in elrte/connectors/php/connector.php :
'root' => $_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.'/content',  // path to root directory
'URL' => 'content/', // root directory URL
  1. Past this code in to your view file.

Minimum configuration:

$this->widget('application.extensions.elrte.elRTE', array(

More configuration options:

$this->widget('application.extensions.elrte.elRTE', array(
    'doctype' => '<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">',
    'cssClass' => 'el-rte',
    'absoluteURLs' => 'false',
    'allowSource' => 'true',
    'lang' => 'ru',
    'styleWithCSS' => 'true',
    'height' => '500',
    'width' => '900',
    'fmAllow' => 'true',
    'toolbar' => 'myToolbar',

For options description see [here](http://elrte.org/redmine/projects/elrte/wiki/Docs_EN#Options )

History and bugfix

9 August 2011 - Added possibility to run widget for different text fields(selectors) on one page


Used elRTE 1.3 + elFinder 1.2

15 2
2 461 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: Anton Logvinenko
Created on: Jul 16, 2011
Last updated: 12 years ago


show all

Related Extensions