[geeklog-devel] FCKeditor integration
Euan McKay
info at heatherengineering.com
Mon Aug 31 01:43:10 EDT 2009
Blaine,
In fckeditor/editor/filemanager/connectors/php/config.php
There are four lines, one for each file type
$Config['FileTypesAbsolutePath']['File']=
($Config['UserFilesAbsolutePath'] == '') ? '' :
$Config['UserFilesAbsolutePath'].'file/' ;
$Config['FileTypesAbsolutePath']['Image']=
($Config['UserFilesAbsolutePath'] == '') ? '' :
$Config['UserFilesAbsolutePath'].'image/' ;
$Config['FileTypesAbsolutePath']['Flash']=
($Config['UserFilesAbsolutePath'] == '') ? '' :
$Config['UserFilesAbsolutePath'].'flash/' ;
$Config['FileTypesAbsolutePath']['Media']=
($Config['UserFilesAbsolutePath'] == '') ? '' :
$Config['UserFilesAbsolutePath'].'media/' ;
The folder name in each case is in lower case, while the folders in
the public_html/images/library/ folder start with upper case letters.
This causes problems on case-sensitive file systems - the folders end
up being duplicated with lowercase names, and linked images do not
show up in stories.
The above lines need to be edited to the following:
$Config['FileTypesAbsolutePath']['File']=
($Config['UserFilesAbsolutePath'] == '') ? '' :
$Config['UserFilesAbsolutePath'].'File/' ;
$Config['FileTypesAbsolutePath']['Image']=
($Config['UserFilesAbsolutePath'] == '') ? '' :
$Config['UserFilesAbsolutePath'].'Image/' ;
$Config['FileTypesAbsolutePath']['Flash']=
($Config['UserFilesAbsolutePath'] == '') ? '' :
$Config['UserFilesAbsolutePath'].'Flash/' ;
$Config['FileTypesAbsolutePath']['Media']=
($Config['UserFilesAbsolutePath'] == '') ? '' :
$Config['UserFilesAbsolutePath'].'Media/' ;
But then users will also need to be warned that if they cannot find
images suddenly, they will need to move anything in
"public_html/images/library/image/" to
"public_html/images/library/Image/" and so on for the other folders,
then delete the lowercase folders ("image", "file", "flash", "media")
and update img src URLs in stories and staticpages etc.
Or is it just me?
Cheers,
Euan.
More information about the geeklog-devel
mailing list