Hello,

I installed the FCK module.. Works great. Except.. Someone told me that I would be able to click the image icon and I would have a Browse option to find the image on my local and it would upload.

But I dont get that. I get an oprion to put a file path in.

Am I missing something?

Thanks,
Jack

Comments

paulmckibben’s picture

I may be remembering this wrong, but I believe you need the IMCE module as well. There may be some additional FCKEditor settings that you need to enable for it to integrate with IMCE. But once you have it set up, you should be able to browse your own local PC.

WorldFallz’s picture

There's a minimal browser built-in to fckeditor, but IMCE is more full featured. In any case enabling this functionality requires some additional configuration which is described in the fckeditor README.txt in the "How to enable the file browser" section of all places. ;-)

JackThompson’s picture

Thanks guys. I am going to hop on this now. (Intalling IMCE)

JackThompson’s picture

OMG I am going crazy tryin to get this to show up!

JackThompson’s picture

ok Finally got it!!

newperson’s picture

Jack,

How did you do it? I also have FCKeditor and IMCE installed. In my file browers settings I have it set to use IMCE and quick upload to true, but when I click on the image icon the window pops up with a URL path, but no browse button still... Any help would be fantastic!

-Anti-’s picture

> quick upload to true

Don't enable quick upload until you've got it all set-up and working, and even then don't enable it unless you are aware of the possible issues and bugs - I seem to remember there are dozens of posts saying it doesn't work and breaks other things. This might well be your problem.

newperson’s picture

Anti, I put it back to false for 'quick uploads' however I'm still not seeing the browse button...

JackThompson’s picture

For me it was a permission issue. Make sure you are giving proper permission in IMCE and FCK also the users Roll.

newperson’s picture

Yeah my permissions should be fine as I'm logged in as the administrator. I uninstalled IMCE and reinstalled it and still the browse button is not showing.

-Anti-’s picture

Best to keep quick upload off whilst you're troubleshooting, even if it didn't solve the problem.

Have you tried two or three browsers... IMCE had some browser quirks six months
ago that might not have been fully (or even partially) resolved yet.

newperson’s picture

I will continue to keep quick upload off. Also I was using Firefox so I just checked IE and still no browse button showing. I'm at a loss...

WorldFallz’s picture

Were you able to get fckeditor's integrated browser working? I would verify that works first, then enable IMCE and get that working. Make sure to follow the instructions in the README.txt file.

newperson’s picture

Hi WorldFallz,

I read through the README file and it looks like since I'm having no luck with this is that I can try to 'force' it. This is what I found about it:

FCKeditor: Another module from another blessed author, which makes IMCE integration as simple as a single click. Fckeditor profile->File browser settings->IMCE integration [obviously this is not working]

So should I try this below?:

Note: One can also override the settings at advanced settings->custom javascript configuration.
Here are the lines that force imce integration (don't force unless you need to):
LinkBrowser= true;
ImageBrowser= true;
FlashBrowser= true;
LinkBrowserURL= '/?q=imce&app=FCKEditor|url@txtUrl';
ImageBrowserURL= '/?q=imce&app=FCKEditor|url@txtUrl|width@txtWidth|height@txtHeight';
FlashBrowserURL= '/?q=imce&app=FCKEditor|url@txtUrl';

and where exactly do I add this?

-Anti-’s picture

Do you know that there are many people with this problem (ie. no browse button)?
There are quite a few posts about it in the IMCE issue queue:
http://drupal.org/project/issues/imce

No-one really seems to be onto a cause or solution yet.

WorldFallz’s picture

As I said above, the first thing you need to do is get the integrated fckeditor browser working. Uninstall IMCE completely, use the http://drupal.org/project/fckeditor module, and follow the instructions toward the bottom of the readme.txt file (about modifying settings.php and config.php). Once you get the integrated browser working we can try adding IMCE.

newperson’s picture

I hope I'm on the right track. At the end of each (#1, #2, etc...I added my own comment for your review.) I went into the readme file and followed their instructions.

1. To enable file browsing you need to edit the connector configuration file
in your fckeditor module directory, the file should be in:

sites/all/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/config.php
(FCKeditor 2.5+)

or

sites/all/modules/fckeditor/fckeditor/editor/filemanager/browser/default/connectors/php/config.php
and
sites/all/modules/fckeditor/fckeditor/editor/filemanager/upload/php/config.php
(FCKeditor 2.3.x - 2.4.x)

In this file(s) you will need to enable the file browser by adding one
line that includes file with the special authentication function for
Drupal (filemanager.config.php). Add this code:

require_once "../../../../../filemanager.config.php";
(FCKeditor 2.5+)

or

require_once "D:\\xampp\\htdocs\\drupal\\sites\\all\\modules\\fckeditor\\filemanager.config.php"
(FCKeditor 2.3.x - 2.4.x)

straight below this line:

$Config['UserFilesAbsolutePath'] = '' ;

The config.php file also holds some other important settings, please
take a look at it and adjust it to your needs (optional).

HERE: I completed #1.

2. As of Drupal 5.2, additional step is required: locate file named
settings.php inside your drupal directory (usually sites/default/settings.php)
and set $cookie_domain variable to the appropiate domain
(remember to uncomment that line). If you not do this, FCKeditor will
claim that file browser is disabled

[HERE: I changed the 'appropriate domain name' to 'localhost'...is this sufficient for now?

3. Enabling file uploads is a security risk. That's why you have to grant a
separate permission to enable the file browser to certain groups.
In "Administer > User Management > Permissions" assign the
"allow fckeditor file uploads" permissions.

[HERE: I did not check this permission for anonymous user or authenticated user, as I only want the admin (me) to be able to upload files.

4. Lastly, adjust the File browser settings for each profile.

[HERE: What do I need to do for this for the admin (me)?

newperson’s picture

Any ideas?

newperson’s picture

I really don't know where to go from here. I still see now browser after following the steps in my above post. Is there a better editor out there that works well with drupal? This is really frustrating.