Project / Support Center
Welcome, %1$s. Please login or register. February 28, 2024, 10:11: AM
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  FCK/CKEditor  |  : CKFinder setup 0 and 1 Guest are viewing this topic. « previous next »
: [1]
: CKFinder setup  ( 18551 )
admin
« : December 15, 2009, 01:09: PM »

you need to set this file

yoursite/fckeditor/ckfinder/config.php

around line 54 look for this :

ATTENTION: The trailing slash is required.
*/
$baseUrl = 'http://webdomain.com/admin/web/mediafiles/image/';
(http is purposely set to htp here to show color correctly)
/*
$baseDir : the path to the local directory (in the server) which points to the
above $baseUrl URL. This is the path used by CKFinder to handle the files in
the server. Full write permissions must be granted to this directory.

Examples:
   // You may point it to a directory directly:
   $baseDir = '/home/login/public_html/ckfinder/files/';
   $baseDir = 'C:/SiteDir/CKFinder/userfiles/';

   // Or you may let CKFinder discover the path, based on $baseUrl:
   $baseDir = resolveUrl($baseUrl);

ATTENTION: The trailing slash is required.
*/
$baseDir = '/home/web/public_html/admin/web/mediafiles/image/';

/*

The Red part is the hardcoding to the directory you want to upload images and files into.

The Blue part is the server link to the same directory - in other words how the server path is in this posting this is set for a linux apache server. If you don't know this ask you server people what Maroon section
« : April 15, 2010, 10:26: AM Web Global Net »  
: [1]  
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  FCK/CKEditor  |  : CKFinder setup « previous next »
:  


Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!
Sorry, the copyright must be in the template.
Please notify this forum's administrator that this site is missing the copyright message for SMF so they can rectify the situation. Display of copyright is a legal requirement. For more information on this please visit the Simple Machines website.