Hi
I have installed FCKEditor_2.5.1 (it works but a bit confusing).
I am now trying to get the file uploader to appear when clicking on the Insert/Edit Image icon.
The README.TXT file says to:
"
To enable the file browser you need to edit the connector configuration file in
your fckeditor module directory, the file should be in:
/modules/fckeditor/fckeditor/editor/filemanager/browser/default/connectors/php/config.php
and
/modules/fckeditor/fckeditor/editor/filemanager/upload/php/config.php
In this file you will need to enable the file browser:
$Config['Enabled'] = true ;
To use the drupal files directory you also need to comment out or remove the
following line in the connector configuration:
$Config['UserFilesPath'] = '/UserFiles/' ;
You may also edit this line to reflect a custom upload path.
"
My installation does not have these paths. The closest it has to these paths is:
/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/config.php
ie there is no /upload/ directory?
Can anyone assist with this or point me to a more beginner-friendly step-by-step guide to installing FCK?
Thanks
Comments
the config.php sits here:
modules/fckeditor/fckeditor/editor/filemanager/connectors/php
it depends which fckeditor-version you have
you should take the newest one, it works better
the newest one has only one place to configure that, in
modules/fckeditor/fckeditor/editor/filemanager/connectors/php/config.php
here some settings in that file:
I did this and it works quite good.
Remember to check the fckeditorconfig.js to activate the flash, image etc. for FCKeditor:
watch here:
flvplayer, Flash ...
The problem with FCKeditor is, that all people, who include it somewhere, integrate it in modules, don't care for these settings
you can read my manual, which I wrote for CMSimple, but which is absolutely usable for DRUPAL as well here:
there I describe the settings in the second part..
http://www.webdeerns.de/downloads/fckeditor-integration%20in%20CMSimple.pdf
good luck,
Connie
Thanks Connie, with a bit of
Thanks Connie, with a bit of cut n paste from your post and some extra config INSIDE Drupal I got it working.
Great work.
Swifty, I am glad it worked
Swifty,
I am glad it worked for you!
Could you publish your Drupal - modifications here so other could benefit from that as well?
You know, as documentation is so poor with Drupal, we must give our best ;=)
Have a good day,
Connie
Retraction of previous comments :-)
Hi Connie
I jumped the gun a bit when declaring it worked and should not have posted yet.
After following your instructions the file manager upload tab appeared but would not function so I still have a reinstall of the module and some rechecking from scratch to piece together the solution.
Once completed I will post back my STEP-BY-STEP install of FCKEditor. This editor is exactly what I am looking for as it allows MS Word-like editing with the ability to insert images into pages and stories - it's just a bugger to install.
What I am looking to do is replace steps like "get the latest version" with "download *this* file from *this* location" as there is confusion from the beginning as to which Drupal-compatible app to download.
Cheers
I am waiting for your tutorial;=)
I think many people need this installation-help
so I am waiting also for that;=)
Any chance you could give us
Any chance you could give us a more details account on how you succeeded
I am struggling with this too
FCKEditor works, I followed instructions in the readme.txt and what Connie has said but still don't get the "upload" tab in the "edit/insert image" window.
EDIT: I just realized you guys referring to the 5.x Drupal right ? I am trying on the 6.x and it does not work. Has anyone tried it ?
------
GiorgosK
Geoland Web development/web design
------
GiorgosK
Web Development
Tutorials for Drupal 6 install-FCKeditor and IMCK Modules w/upld
The first link goes to the IMCK module.
the second link shows it's installation and use through a YouTube video.
the third link is for the installation of FCKeditor for those of you who may still be having trouble with that.
Watch the tutorials they should really help you if your having trouble.
Link to IMCE Module
Link to IMCE Video Tutorial on YouTube part one
Link to FCKeditor Video Tutorial on YouTube part one
This is my first post, hope it helps.
-Mike
Nice Solution
Thanks for this solution. Its works for me very well. :)
Also I got the idea about how to create a new toobars with various html elements in it...
I made it work this way...
First, I had to put the line:
require_once "../../../../../filemanager.config.php";
at the beggining of sites/all/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/config.php, not where the readme.txt told me to put it, otherwise I kept on getting "disabled" errors.
Then I had to change the $Config['UserFilesAbsolutePath'] = '' ; to point to my files directory, and change the user files settings accordingly. That solved the "redirect" error that appeared.
Now it works, don't know if this configuration is the proper one, though.
Thanks, this worked for me
Thanks, this worked for me too.
I had somewhat different symptoms, everything appeared to work fine, and the javascript box was informing me that the upload was successful, but the file was missing and there was error with
move_uploaded_file()in the log.Great work everyone,
Great work everyone, thanks.
I am using wysiwyg so the fckeditor is not in the usual modules area but in the sites/all/libraries
For me i had to do two things on my Drupal 6.19 install
The dev site (cas) is in a folder inside an existing site which added confusion
eg: /var/www/html/cas/ <-- this is where drupal is installed
The client wanted all uploads into the fck_uploads folder to keep the file system tidy-ish
edit: sites/all/libraries/fckeditor/editor/filemanager/connectors/php/config.php
edit: sites/all/modules/contrib/wysiwyg/editors/fckeditor.inc
the above is found in the function wysiwyg_fckeditor_settings()
bah, i guess this means i have hacked the wysiwyg module and the fckeditor library too, so i will have to move wysiwyg into the sites/all/modules/hacked folder!
This is my first ever hack, i couldn't find any hooks to implement and already lost a day, perhaps i will find a more drupal way of doing it sometime soon.
Anyways, now the above is in place i can configure wysiwyg (admin/settings/wysiwyg) and in Buttons & Plugins set the image button enabled
NB: in my case the users are now jailed into the above folder for both uploading and browsing, you may not want that especially for file browsing, you may want the user to look for files in all folders