﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
259	Easy way to change upload/browse fold	ftjoker		"Hi, 

i use fckeditor for my website and many users can connect to add articles but i dont want them to use the same fold

I work in php, here are the change i did..

in file fckconfig.js

FCKConfig.fckFold = FCKURLParams[ 'fckFold' ];

Browsers link become : 

[blablabla]?Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension + '?fckFold=' + FCKConfig.fckFold;


In fckeditor_php4 & 5 : 

if ( $this->fckFold != '' ) $Link .= ""&amp;fckFold={$this->fckFold}"" ;

before // Render the linked hidden field.

In the filebrowser upload and download

config.php : 
$Config['UserFilesPath'] = '/Imgs/' . $_GET['fckFold'] ;


When i call the fckeditor : 

		include(""../FCKeditor/fckeditor.php"");
		$oFCKeditor = new FCKeditor('article') ;
		$oFCKeditor->BasePath	= '../FCKeditor/' ;
		$oFCKeditor->Value	= $buffer;
		$oFCKeditor->Height	= 500;
		$oFCKeditor->fckFold	= $fck_fold;
		$oFCKeditor->Create() ;

$fck_editor is a md5 value and in the Imgs fold, i got many fold created with 32 chars :)

I hope you'll use it

THX for your job

Sorry for my english i'm french ;)"	New Feature	closed	Normal		File Browser	FCKeditor 2.4	duplicate		
