clorne wrote:
I do not know what versions you are using but if you are using FCK module version 1.0.3 and go to
\modules\FCKeditorX\FCKeditor\editor\filemanager\browser\default\connectors\php\config.php
at about line 27 you will find
$Config['UserFilesPath'] = $config['uploads_url'] ;
the FCK user file is taking the variable $config['uploads_url'] from CMSMS's config file.
As before you can change the main config file or the PHP connector config to read
$Config['UserFilesPath'] = '/uploads'; -- if uploads is your uploads directory.
Ahhhhhhhhh .... my CMSMS' config.php says
Code: Select all
$config['uploads_url'] = $config['root_url'] . '/uploads';
ok, I will try that ... THX!
@RazorMedia: I will give it a try. So far it looks good, even better configuirable than FCK ... only 2 problems:
1)
TinyMCE obviously does not get its upload directory from CMSMS' config.php ... and it uses a path relative to the CMSMS directory like
uploads/images
but I want it to use
/uploads/images
changing
/htdocs/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/simplebrowser/connectors/php/config.php
Code: Select all
$Config['UserFilesPath'] = str_replace($config["root_url"].'/', '', $config["uploads_url"]);
to
$Config['UserFilesPath'] = $config["uploads_url"];
resulted in the loss of thumbnail pics in TinyMCE's filebrowser .... ($config["uploads_url"] is set to /uploads , btw.)
2)
There is no preview pic in the image insertion dialogue. I changed umask to 002, even 000 ... no way. No problems in FCK, though ...
When I look at the dialogue's html code, there isnt even an img code in the corresponding DIV ... what gives?
Any ideas?
Cheers,
Alex