We are using the latest version of all software.
We have ckeditor working properly.
Drpual is working correctly.
I installed ckfinder and then I purchased ckfinder and put in the code and website id in the file
config.php
added return isset($_SESSION['IsAuthorized']) && $_SESSION['IsAuthorized']; to the check authentication
Both ckeditor and ckfinder are in their own directories under sites/all/libraries
Checked the directory permission on userfiles to 777 under the ckfinder directory
When I go to add a new post and click on the image icon ckfinder opens but there is no browse buton. I have searched these boards for a few simple answers but cannot find any.
I have tried many ideas but I cannot seem to get it to work.
Please help a newbie and please be specific. Please do not just point me back to the very inadequate installation manual that says it will just work?
We have ckeditor working properly.
Drpual is working correctly.
I installed ckfinder and then I purchased ckfinder and put in the code and website id in the file
config.php
added return isset($_SESSION['IsAuthorized']) && $_SESSION['IsAuthorized']; to the check authentication
Both ckeditor and ckfinder are in their own directories under sites/all/libraries
Checked the directory permission on userfiles to 777 under the ckfinder directory
When I go to add a new post and click on the image icon ckfinder opens but there is no browse buton. I have searched these boards for a few simple answers but cannot find any.
I have tried many ideas but I cannot seem to get it to work.
Please help a newbie and please be specific. Please do not just point me back to the very inadequate installation manual that says it will just work?
Re: ckfinder + ckeditor + Drupal integration
Re: ckfinder + ckeditor + Drupal integration
i wanna know answer too
I will be watching too (I just started trying this out)
I found this link http://docs.cksource.com/CKEditor_3.x/Developers_Guide/File_Browser_%28Uploader%29
and implemented using example 5, but no luck.
please help, any step by step or HOWTOs to link to?
Re: ckfinder + ckeditor + Drupal integration
Re: ckfinder + ckeditor + Drupal integration
well, thats certainly no way of getting help! I will give hints, and I call them hints because I really have no clue myself, I am just poking around...
ok, here's the deal, it seems that drupal 6.x with a patched version of wysiwyg-6.x-2.0 (another hint, read http://drupal.org/node/462146?mode=2&sort=2 for updated patches so far) will get you running ckeditor, but what I've found is that it will NOT read config.js in the ckeditor directory no matter what you put in it... probably just a simple flag to edit in yr ckeditor.inc file...
but let's get down to business - here's what I got working so far;;
- untar the ckfinder archive into drupal's sites/all/libraries folder, which then creates sites/all/libraries/ckfinder
- I then created a symlink pointing to that directory from my ckeditor folder ... so within sites/all/libraries/ckeditor directory I created a symlink to sites/all/libraries/ckfinder literally called ckfinder
- in the file ckeditor.inc that comes with a patched version of wysiwyg-6.x-2.0 I changed the function wysiwyg_ckeditor_settings section to look like so ;;
Re: ckfinder + ckeditor + Drupal integration
ok... I spoke alittle too soon. I got it working now, I fux'd up my settings in sites/all/libraries/ckfinder/config.php - hence the error "The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file."
I fixed it, using the following settings in config.php ;;
Re: ckfinder + ckeditor + Drupal integration
Here is what I use for authentication and dynamically finding the base directory.
In order for the authentication to work you must set the domain cookie in your /sites/default/settings.php file for each profile. You will have to update the cookie url each time to move the source code to a new domain or sub-domain.
Re: ckfinder + ckeditor + Drupal integration
Now the challenge is getting the ckfinder variable registered correctly.
I am using:
wysiwyg API (http://drupal.org/project/wysiwyg)
CKEditor 3.0.1
CKFinder 1.4.1.1
Now the last part:
1) load the ckfinder.js file when drupal loads.
You could detect to only load the ckfinder.js if the user is in the admin (provided you don't expect general users to edit with the editor outside of the /admin path. I created a custom module that runs the hook_init() function to add the javascript file to the head of every page template.
CKFinder no image
Everthing is working on CKFinder but when I go to add a new post and click on the image icon ckfinder opens but when I go to save the post it saves but the image isn't there on the front page. I only see this "[img]".