Posted by mephir on December 7, 2009 at 11:05am
| Project: | CKEditor - WYSIWYG HTML editor |
| Version: | 6.x-1.0-beta1 |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | mephir |
| Status: | closed (fixed) |
| Issue tags: | Filebrowser |
Issue Summary
Patch for Web File Manager.
Comments
#1
#2
#3
Issue on webfm page was created (http://drupal.org/node/653236). If webfm developers add support for CKEditor, it will be compatible.
#4
Tested patch, it works correctly, and does not break FCKeditor module + WebFM popup either.
Only snafu I ran into was that I had to choose the "Web FM" file manager in CKeditor's profile administration GUI. Using the "advanced options" from FCKEditor:
-------
LinkBrowser = true;
ImageBrowser = true;
FlashBrowser = true;
LinkBrowserURL = Drupal.settings.basePath + '?q=webfm_popup&webfmid=txtUrl';
ImageBrowserURL = Drupal.settings.basePath + '?q=webfm_popup&webfmid=txtUrl';
FlashBrowserURL = Drupal.settings.basePath + '?q=webfm_popup&webfmid=txtUrl';
------
Will not give you a "browse server" button until to you choose web file manager. Once that is chosen, the advanced options given above are not necessary.
Live and learn...
Thanks for the patch, well done.
#5
#6
@higherform - thanks for reviewing!
The reason why advanced settings from FCKeditor are not working is relatively simple - configuration options (their names) in CKEditor have changed.
Right now the correct name is: filebrowserBrowseUrl etc. File browser / uploader configuration.
#7
Not a problem, its working with File Manager: WebFM set on the CKeditor admin GUI.
Just was one of those minor gotcha things that took me 2 seconds to writeup, and will probably save someone else the five minutes of head scratching I did over it.
#8
I applied the patch (manually) and it's working fine for me!
Drupal 6.15
CKEditor 1.0
WebFM 2.11
#9
Cannot get this work. I have applied the patch manually. There is no "WebFM" in the menu "File browser type (Link dialog)". I can see only "CKFinder". Any suggestions or help is very appreciated.
Thanks.
Drupal 6.15
CKEditor 1.0
WebFM 2.11
Update: Solved. Need to install webfm popup module.
#10
patch committed to head as per node 653236
#11
Automatically closed -- issue fixed for 2 weeks with no activity.