I am having a problem, I would appreciate some help please
I have untared ckeditor and ckfinder under my domain at
mydomain.com/ckfinder
mydomain.com/ckeditor
when I go to the examples of ckfinder under http://mydomain.com/ckfinder/_samples/php/ckeditor.php
I can see that the ckeditor window starts correctly
The problem starts when I click on the image icon and click on "Browse Server" I see my website (mydomain.com) on both frame windows instead of the files tree.
Does anyone have a clue why?
Thanks for the help!
Li
Mon, 03/22/2010 - 17:33
#1
Re: Problem integrating CKfinder&CKeditor
- delete cache from browser to get rid of old .js files
- check if your ckeditor config.php file has the right values in ResourceType array.
I changed the ResourceType URL and Directory values for images to a unexisting folder, and my image link stop working.
hope it helps.
Re: Problem integrating CKfinder&CKeditor
Thanks for the fast reply!
First I assume you mean the config.php inside ckfinder
I tried playing with the values but nothing changed
here are the existing values: (all of these folder doesn't exist, although I tries existing folders as well)
$config['DefaultResourceTypes'] = ' ';
$config['ResourceType'][] = Array(
'name' => 'Files', // Single quotes not allowed
'url' => $baseUrl . 'files1',
'directory' => $baseDir . 'files1',
'maxSize' => 0,
'allowedExtensions' => '7z,aiff,asf,avi,bmp,csv,doc,fla,flv,gif,gz,gzip,jpeg,jpg,mid,mov,mp3,mp4,mpc,mpeg,mpg,ods,odt,pdf,png,ppt,pxd,qt,ram,rar,rm,rmi,rmvb,rtf,sdc,sitd,swf,sxc,sxw,tar,tgz,tif,tiff,txt,vsd,wav,wma,wmv,xls,zip',
'deniedExtensions' => '');
$config['ResourceType'][] = Array(
'name' => 'Images',
'url' => $baseUrl . 'images1',
'directory' => $baseDir . 'images1',
'maxSize' => 0,
'allowedExtensions' => 'bmp,gif,jpeg,jpg,png',
'deniedExtensions' => '');
$config['ResourceType'][] = Array(
'name' => 'Flash',
'url' => $baseUrl . 'flash1',
'directory' => $baseDir . 'flash1',
'maxSize' => 0,
'allowedExtensions' => 'swf,flv',
'deniedExtensions' => '');
Any idea?
Thanks
Li