hello all
i have added elrtef editor in my website but not able to add image while i try to add image in editor content
its showing " " except image tag of included image.
here is my code of view page
<?php //you can use any desired dir to install this extension
$this->widget('application.extensions.elrtef.elRTE', array(
'model' => $model,
'attribute' => 'Content',
'lang' => 'en',
// 'name' => 'filename',
'htmlOptions' => array('height' => '600','lang' => 'en'),
'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'),
'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'=>'en',
'dialog'=>array('width'=>'900','modal'=>true,'title'=>'File Manager'),
'closeOnEditorCallback'=>true,
'editorCallback'=>'js:callback'
),
)
);
?>
wish you very happy christmas and new year.