Closed (fixed)
Project:
FCKeditor - WYSIWYG HTML editor
Version:
6.x-2.0
Component:
File browser support
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2010 at 07:24 UTC
Updated:
22 Feb 2010 at 15:30 UTC
Comments
Comment #1
jorrit commentedWhere did you set the images directory? You should look in the settings for your FCKeditor profile in the Drupal administration panel.
Comment #2
arnieswap commentedI set it in Config.php
$Config['UserFilesPath'] = '/sites/default/files/userfiles/' ;
However, if I copy paste the old config files it shows all the directories in the inbuilt file browser.
But then it shows error in the Update section that I need to add "require_once '../../../../../filemanager.config.php". The moment I add this line, the File Browser browses the image directory and not the one specified by the script.
Thanks in advance..
Swapnil
Comment #3
jorrit commentedIt should work under the following conditions:
- No changes have been made to filemanager.config.php except the addition of the mentioned line
- At Administer -> Site configuration -> File system, set:
- File system path: sites/default/files
- Download method: public
- At your FCKeditor profile, set the following in the section File browser settings
- Path to uploaded files: %b%f/userfiles/
- Absolute path to uploaded filesL %d%b%f/userfiles/
Please let me know which settings differed from the settings you had.
Comment #4
arnieswap commentedHi Jorrit,
Thanks for guidelines.
The settings were :
- Path to uploaded files: %b%f/
- Absolute path to uploaded files: %d%b%f/
I changed to below as suggested by you, and now it can browse to the folders.
- Path to uploaded files: %b%f/userfiles/
- Absolute path to uploaded files: %d%b%f/userfiles/
Thanks a lot.
Swapnil
Comment #5
arnieswap commented