fckeditor configuration

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
tbennett
Advanced user
Posts: 36
Joined: Wed May 20, 2009 10:50 pm

fckeditor configuration

Post by tbennett »

In my previous installation of TestLink (1.8.2), I had 2 directories for uploads:
-file
-image
I was able to upload both images and files. I was able to browse both of these directories on the server.

Now, with TestLink 1.9, I want to have the same functionality.

I've followed the instructions in the doc 'Configuration_of_FCKEditor_and_CKFinder.pdf', and I can upload images, but not files.
The newly-uploaded images don't go into the 'image' subdirectory.

When I browse for images on the server, the subdirectory 'image' is displayed.
I cannot browse for files on the server.

Can anybody help?
tbennett
Advanced user
Posts: 36
Joined: Wed May 20, 2009 10:50 pm

Re: fckeditor configuration

Post by tbennett »

Finally figured this out yesterday. Here's the solution which worked for me. This gives me file and uploading and browsing functionality. The files are uploaded into a subdirectory 'file'; the images are uploaded into a subdirectory 'image'. Whether browsing for files or images, the correct directory is shown.

- create dirs testlink/upload_area/fckeditor_upload_area/file and testlink/upload_area/fckeditor_upload_area/file/image
- give these directories 777 permission

- change third_party/fckeditor/editor/filemanager/connectors/php/config.php as follows:
$Config['Enabled']=true;
$Config['UserFilesPath'] = '/upload_area/fckeditor_upload_area/' ;
//$Config['UserFilesAbsolutePath'] = '';
$Config['QuickUploadPath']['Image'] = $Config['UserFilesPath'] . 'image/' ;
$Config['QuickUploadPath']['File'] = $Config['UserFilesPath'] . 'file/' ;

- change testlink/cfg/tl_fckeditor_config.js as follows:
FCKConfig.LinkBrowser = true;
FCKConfig.LinkUpload = true;
Post Reply