Patch for Web File Manager.

CommentFileSizeAuthor
#1 ckeditor-webfm.patch1010 bytesmephir
ckeditor-webfm.patch1010 bytesmephir

Comments

mephir’s picture

StatusFileSize
new1010 bytes
mephir’s picture

Status: Fixed » Active
mephir’s picture

Issue on webfm page was created (http://drupal.org/node/653236). If webfm developers add support for CKEditor, it will be compatible.

higherform’s picture

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.

higherform’s picture

Status: Active » Reviewed & tested by the community
wwalc’s picture

@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.

higherform’s picture

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.

Stephen Scholtz’s picture

I applied the patch (manually) and it's working fine for me!

Drupal 6.15
CKEditor 1.0
WebFM 2.11

Haus33’s picture

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.

robmilne’s picture

Status: Reviewed & tested by the community » Fixed

patch committed to head as per node 653236

Status: Fixed » Closed (fixed)
Issue tags: -Filebrowser

Automatically closed -- issue fixed for 2 weeks with no activity.