Click Open Rich Editor - displays FCKEditor in a popup
Click Insert/Edit Image displays Image Properties in a popup
Click Browse Server and Resources Browser displays in a popup
Resource type is image
Files upload to /files/image/
How would I browse /files/ instead of /files/image/? I'd like access to images stored with the create image content type and other tools.
Path to uploaded files:
Current path: /files/
Absolute path to uploaded files:
Current path: /home/lsnet/public_html/ls.net/files/
lsnet@helen:~/public_html/ls.net/sites/all/modules/fckeditor/fckeditor/editor/filemanager/connectors/php$ diff config.php.20080312 config.php
24a25
>
30c31
< $Config['Enabled'] = false ;
---
> $Config['Enabled'] = true ;
34c35
< $Config['UserFilesPath'] = '/userfiles/' ;
---
> $Config['UserFilesPath'] = '/files/' ;
40c41,42
< $Config['UserFilesAbsolutePath'] = '' ;
---
> $Config['UserFilesAbsolutePath'] = '/home/lsnet/public_html/ls.net/files/' ;
> require_once "../../../../../filemanager.config.php";
lsnet@helen:~/public_html/ls.net/sites/all/modules/fckeditor/fckeditor/editor/filemanager/connectors/php$
Comments
Comment #1
tarvid commentedComment #2
wwalc commentedTake a look at modules\fckeditor\fckeditor\editor\filemanager\connectors\php\config.php.
Below the
require_once "../../../../../filemanager.config.php";somewhere at the bottom, path to 4 resource types (file, image, flash, media) is defined.
For example path to Images:
To be able to browse the whole "files" directory when you click on the "Image" button (instead of "images" subdirectory), change it to:
(just remove any references to "image/" subdirectory).
Comment #3
Jorrit commented