no upload image option in xheditor

Hi all,

I am a newbie. I want to use xheditor in my project. Its working fine except i am not able to upload images as in the upload button doesnt show.

The following is my code:


  $this->widget('application.components.widgets.XHeditor',array(

            'model'=>$model,

            'modelAttribute'=>'order_details',

            'showModelAttributeValue'=>true, // defaults to true, displays the value of $modelInstance->attribute in the textarea

            'config'=>array(

             

                'tools'=>'full', // mini, simple, fill or from XHeditor::$_tools

                'width'=>'100%',

                'upLinkUrl'=>'{editorRoot}upload.php',

                'upLinkExt'=>"zip,rar,txt",

                'upImgUrl'=>'{editorRoot}upload.php',

                'upImgExt'=>"jpg,jpeg,gif,png"

            ),


        ));

Any help would be really appreiciated.

thanks in advance.

did you find a solution for this?

Nope no solution found. I had to remove the editor

I know I’m really late here, but I just googled this same problem and well I found nothing either.

What I did find was :

http://www.yiiframework.com/extension/dxheditor/

Use that extention and the uploadi image button will appear! woop woop