Hi,
I have installed a clean CKFinder and want to integrate it with CKEditor. When I test the ckfinder/_samples/standalone.html sample, CKFinder works as it is supposed to work (showing the correct folders). But when using ckfinder/_samples/ckeditor.html I only see the basket. Any toughts on how to resolve this?
Regards,
Jeroen
I have installed a clean CKFinder and want to integrate it with CKEditor. When I test the ckfinder/_samples/standalone.html sample, CKFinder works as it is supposed to work (showing the correct folders). But when using ckfinder/_samples/ckeditor.html I only see the basket. Any toughts on how to resolve this?
Regards,
Jeroen
Re: Folders not showing
If anyone can point me to a solution I'd most appreciate it!
Re: Folders not showing
Ckeditor specifies a "resource type" -- for example, when you click on the image icon, and then "Browse Server", Ckeditor sets type=Images -- and then the one directory with name "Images" (in the $config['ResourceType'] section of ckfinder/config.php) is the only one that will show in the file browser. (I changed the name to "images" and hence got nothing showing.)
My quick fix was to go in to ckfinder/ckfinder.html and comment out the if ( tmp = get( 'data' ) )...line. Now the file browser shows all of the directory entries in the 'ResourceType' array. Perhaps a user would be able to upload a file where an image should go, but at least I'm closer to what I want (which is to allow users to look through a number of different directories), and the wrong-file-type problem could be fixed with some additional javascript in ckfinder.html, for example.
Re: Folders not showing