drupal interface to fckeditor will not expose the upload tab in the image upload dialog box

jjj0923 - October 24, 2006 - 23:15
Project:FCKeditor - WYSIWYG HTML editor
Version:HEAD
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

drupal interface to fckeditor will not expose the upload tab in the image upload dialogie box

if downloading fckeditor and using their sample php copde to test it...once the config files are setup to allow image uploading the fckeditor will allow images to be uploaded by exposing an 'upload' tab in the image upload dialogue box.

However when drupal 4.7 invokes the fckeditor the 'upload' tab is not displayed in the image upload dialgue box even thought "allow fckeditor file uploads" are enabled in the access panel of the admin menu in drupal 4.7

AttachmentSize
fckeditorproblem.jpg121.94 KB

#1

jjj0923 - October 24, 2006 - 23:19

an image showing the problem can be found here:

http://www.sailnet.com/images/fckeditorproblem.jpg

#2

MySchizoBuddy - October 25, 2006 - 04:18

i don't think that is a bug or anything. just a feature that might have been disabled.

#3

ontwerpwerk - October 25, 2006 - 06:33

That feature is indeed disabled in the current version for drupal. You can turn it on yourself of jou dive even more into the configuration.
File uploads are still possible with the browse server button.

#4

jjj0923 - October 26, 2006 - 13:51

how do I turn it on myself?
We do not like the current browse server button because we do not want people browsing our server and we prefer the simple upload method offered in this tab.

thanks in advance.

#5

ontwerpwerk - October 26, 2006 - 14:31

At the moment that would be hard, because a large part of the initialization is handled in the fckeditor.module file...

you would have to replace the following occurences at line 257

".$js_id.".Config['LinkUpload'] = false;
".$js_id.".Config['ImageUpload'] = false;
".$js_id.".Config['FlashUpload'] = false;\n";

with this code
".$js_id.".Config['LinkUpload'] = true;
".$js_id.".Config['LinkUploadURL'] = '".$module_full_path."/fckeditor/editor/filemanager/upload/php/upload.php?ServerPath=/".$files_path."' ;
".$js_id.".Config['ImageUpload'] = true;
".$js_id.".Config['ImageUploadURL'] = '".$module_full_path."/fckeditor/editor/filemanager/upload/php/upload.php?ServerPath=/".$files_path."&Type=Image' ;
".$js_id.".Config['FlashUpload'] = true;
".$js_id.".Config['FlashUploadURL'] = '".$module_full_path."/fckeditor/editor/filemanager/upload/php/upload.php?ServerPath=/".$files_path."&Type=Flash';\n";

and after that you would have to edit the \modules\fckeditor\fckeditor\editor\filemanager\upload\php\config.php in the same way as the file browser configuration

#6

ontwerpwerk - November 21, 2006 - 09:34
Status:active» by design

setting this to postponed, later I will make an option to turn it on.

#7

ontwerpwerk - November 21, 2006 - 09:35
Status:by design» postponed

#8

CopaceticOpus - December 7, 2006 - 18:04

Could you add a description about this to the README file? I just spent a couple hours trying to figure out why uploads weren't working, because I've always used the upload tab and I expected it to be there. Just a simple explanation like this would be enough:

The FCKeditor module does not display the "Upload" tab of the Image Properties window. All image uploading is done using the File Browser, which is accessed using the "Browse Server" button from the Image Properties window.

Thanks!
Bryan

#9

ontwerpwerk - December 7, 2006 - 19:26
Title:drupal interface to fckeditor will not expose the upload tab in the image upload dialogie box» drupal interface to fckeditor will not expose the upload tab in the image upload dialog box
Status:postponed» active

I'll think I will include both as an option in the next version, so you can choose it yourself

#10

ontwerpwerk - January 30, 2007 - 13:03
Status:active» fixed

fixed in current development release

#11

Anonymous - February 13, 2007 - 13:15
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.