Welcome, Guest!
This is the homepage of elRTE extension for Yii.
Resources
Requirements
- Yii 1.0 or above
Installation
- Extract the release files under
protected/extensions
Usage
See the following code example:
<?php $this->widget('application.extensions.elrte.elRTE', array(
// required object CModel
'model'=>$contact,
// reqired attribute of model
'attribute'=>'body',
// see available languages on elRTE documentation site
'lang'=>'en',
// editor height in pixels
'height'=>200,
// see available toolbars on elRTE documentation site
'toolbar'=>'maxi',
// use <span> with style or HTML tags
'styleWithCss'=>true,
// allow user to edit source
'allowSource'=>true,
)); ?>
Example
Try example with code above here