Upload button not available with FCKEditor and Wysiwyg API

wonder95 - September 7, 2009 - 08:23
Project:IMCE Wysiwyg bridge
Version:6.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I have been trying to use IMCE with FCKEDitor, and for some reason do not have the ability to actually upload files to the server. I have tried with both just the FCKEditor module 6.x-1.4-rc2 and WYSIWYG module 6.x-2.0, and the Upload capability does not exist. With FCKEditor module, the Browse Server button is available, but when I click on it, there are no Browse and Upload buttons to allow me to upload a file from my machine. With WYSIWYG API 6.x-2.0 (and IMCE WYSYWIG6.x-1.0), I don't even get the Browse Server button, much less the Browse and Upload buttons to select a file on my machine.

#1

Onopoc - September 17, 2009 - 20:30
Title:Upload button not available with FCKEditor» Upload button not available with FCKEditor and Wysiwyg API

Have you tried installing the 'IMCE Wysiwyg bridge' module? http://drupal.org/project/imce_wysiwyg

You need 3 modules to make this work.
1. Wysiwyg API
2. IMCE Wysiwyg bridge.*
3. IMCE

*This module will enable the IMCE plugin in the plugins/buttons configuration of the wysiwyg profiles of your choice. Find below screenshot to clarify.

AttachmentSize
button.png 19.4 KB

#2

Onopoc - September 17, 2009 - 20:35

If above #1 isn't working make sure the following two buttons are checked. Find below screenshots to clarify.
1. Image
2. IMCE

AttachmentSize
button-step-1.png 22.82 KB
button-step-2-result.png 20.03 KB

#3

wonder95 - September 17, 2009 - 22:29

Hmmm, for some reason, I don't have the IMCE checkbox (see attached screen shot), and I do have all three modules you mentioned installed.

AttachmentSize
WYSIWYG with FCKEditor.jpg 93.12 KB

#4

Onopoc - September 17, 2009 - 23:24

I would check the permission settings first. Make sure the permissions are setup properly at admin/user/permissions

If not working I would check that I have all the last modules version. Here is my setup.
-Drupal 6.13
-IMCE Wysiwyg API bridge 6.x-1.0
-Wysiwyg 6.x-2.0
-IMCE 6.x-1.2

Another important thing is to make sure that the FCKeditor module is NOT activated. Otherwise it might conflict with the Wysiwyg module. FCKeditor library must be install at the appropriate location following the instructions in the Wysiwyg README.txt file or Wysiwyg setting page.

If not working I would try reading all 3 modules README.txt files to double check that the configurations are completed.

If none of the above is working I would panic (joke ;)

#5

wonder95 - October 3, 2009 - 06:27

OK, I figured out my error, and I have the IMCE checkbox checked in the Buttons and Plugins settings. I can browse the server. However, there still is no option to upload new files. This is true both on my local MacBook Pro and on my web server. I have the same versions of the modules as you've listed. I am signed in as an administrator role that has every permission possible. The FCKEditor module is not enabled.

Screen shot of my Browse Server window is attached.

AttachmentSize
IMCE File Browser.jpg 47.72 KB

#6

wonder95 - October 18, 2009 - 06:35

Any more suggestions? I'm really stuck as to why this isn't working.

#7

jkusachi - October 21, 2009 - 17:06

First off, make sure you have the modules enabled.

-Drupal 6.13
-IMCE Wysiwyg API bridge 6.x-1.0
-Wysiwyg 6.x-2.0
-IMCE 6.x-1.2

I use TinyMCE personally. Make sure thats in the /sites/all/libraries folder.

Now, I am gonna go under the assumption you have roles with permissions. I noticed that "IMCE" configuration only comes up under "Site Configuration" if your user account has the permission of "administer site configuration".

So, go to permissions, and make sure "administer site configuration" is checked.

Now, under "Site Configuration", you should see IMCE under there.
- Here you will see 2 parts. Configuration Profiles and Role-Profile Assignments.
- Under my assumption, I bet you have a user role that you are using that is set to "none". By default, the config profile is User-1, so next to your user role, under assigned profile, switch it from "none" to "User-1" (or whatever configuration profile you have.)

NOW you should be able to go to "Site Configuration -> WYSIWYG". under "Operations", click "Edit". Under Buttons and plugins, make sure "IMCE" is checked (its at the bottom, next to Safari Compatibility if i recall. You need Image checked off too. )

Now when you go to say, an about us page or whatever (anything with the WYSIWYG editor) you should see the green tree image in the editor (same line as bold, italic, etc...). When you click this, to the right of Image URL, you will see the new added button, thus showing your IMCE is working A OK.

that should do it, let me know if it doesnt.

#8

ufku - November 3, 2009 - 22:53
Project:IMCE» IMCE Wysiwyg bridge
Version:6.x-1.2» 6.x-1.x-dev
Category:bug report» support request
 
 

Drupal is a registered trademark of Dries Buytaert.