Dear Friends,
I have installed http://www.yiiframework.com/extension/elrtef/ extension and given following configuration. I got the elrte editor. But Image URL box, Flash URL Box and Smiley Box is wrongly aligned and elrtef file Manger is not working. Please check attached file for a better understanding.
$this->widget(‘application.extensions.elrtef.elRTE’, array(
'model'=>$model,
'attribute'=>'contents',
'value'=>$model->contents,
‘options’ => array(
'doctype'=>'js:\'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\'',
'cssClass' => 'el-rte',
'cssfiles' => array('css/elrte-inner.css', 'css/elrte.min.css',
'css/smoothness/jquery-ui-1.8.13.custom.css', 'css/elrte.min.css'),
'absoluteURLs'=>true,
'allowSource' => true,
'lang' => 'en',
'styleWithCss'=>'',
'height' => 400,
'fmAllow'=>true, //if you want to use Media-manager
'fmOpen'=>'js:function(callback) {$("<div id=\"elfinder\" />").elfinder(%elfopts%);}',//here used placeholder for settings
'toolbar' => 'maxi',
),
'elfoptions' => array( //elfinder options
'url'=>'auto', //if set auto - script tries to connect with native connector
'passkey'=>'mypass', //here passkey from first connector`s line
'lang'=>'ru',
'dialog'=>array('width'=>'900','modal'=>true,'title'=>'Media Manager'),
'closeOnEditorCallback'=>true,
'editorCallback'=>'js:callback'
),
));
Please help. Thanks in Advance.