Welcome to Geeklog, Anonymous Tuesday, September 17 2024 @ 08:41 am EDT
Geeklog Forums
FCKEditor
Status: offline
trampoline
Forum User
Full Member
Registered: 02/24/06
Posts: 392
I am a bit perplexed,
I downloaded the latest FCK Editor and now I can't upload files...
The Editor seems to want to put them in it's own file tree but the system used to put them in documents/Images/library/....
I can't see how to tell FCKEditor to do this, i've downloaded the latest geeklog to see if I deleted a file by mistake, it must be really simple but does anyone know ???
I downloaded the latest FCK Editor and now I can't upload files...
The Editor seems to want to put them in it's own file tree but the system used to put them in documents/Images/library/....
I can't see how to tell FCKEditor to do this, i've downloaded the latest geeklog to see if I deleted a file by mistake, it must be really simple but does anyone know ???
13
12
Quote
Status: offline
samstone
Forum User
Full Member
Registered: 09/29/02
Posts: 820
Let me see if I can remember. Change the following file to include the following codes:
\fckeditor\editor\filemanager\browser\default\connectors\php\config.php
* Frederico Caldeira Knabben (www.fckeditor.net)
*/
include ('../../../../../../../lib-common.php');
global $Config ;
// SECURITY: You must explicitelly enable this "connector". (Set it to "true").
$Config['Enabled'] = true ;
// Path to user files relative to the document root.
// $Config['UserFilesPath'] = '/userfiles/' ;
$Config['UserFilesPath'] = $_CONF['site_url'] . $_CONF_FCK['imagelibrary'] ;
Do the same thing for upload in:
\fckeditor\editor\filemanager\upload\php\config.php
Change the /fckeditor/fckconfig.js on the following lines to use php:
var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | php
Hope this helps.
Sam
\fckeditor\editor\filemanager\browser\default\connectors\php\config.php
Text Formatted Code
* File Authors:* Frederico Caldeira Knabben (www.fckeditor.net)
*/
include ('../../../../../../../lib-common.php');
global $Config ;
// SECURITY: You must explicitelly enable this "connector". (Set it to "true").
$Config['Enabled'] = true ;
// Path to user files relative to the document root.
// $Config['UserFilesPath'] = '/userfiles/' ;
$Config['UserFilesPath'] = $_CONF['site_url'] . $_CONF_FCK['imagelibrary'] ;
Do the same thing for upload in:
\fckeditor\editor\filemanager\upload\php\config.php
Change the /fckeditor/fckconfig.js on the following lines to use php:
Text Formatted Code
var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | pyvar _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | php
Hope this helps.
Sam
9
11
Quote
Status: offline
trampoline
Forum User
Full Member
Registered: 02/24/06
Posts: 392
Hmm done all that, but had to make a few adjustments for our system (Paths etc)
Still no joy.... ???
global $Config ;
// SECURITY: You must explicitelly enable this "connector". (Set it to "true").
$Config['Enabled'] = true ;
// Path to user files relative to the document root.
$Config['UserFilesPath'] = $_CONF['site_url'] . $_CONF_FCK['imagelibrary'] ;
// Fill the following value it you prefer to specify the absolute path for the
// user files directory. Usefull if you are using a virtual directory, symbolic
// link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
// Attention: The above 'UserFilesPath' must point to the same directory.
$Config['UserFilesAbsolutePath'] = $_CONF['path_html'] . $_CONF_FCK['imagelibrary'];
Still no joy.... ???
Text Formatted Code
include ('../../../../../lib-common.php');global $Config ;
// SECURITY: You must explicitelly enable this "connector". (Set it to "true").
$Config['Enabled'] = true ;
// Path to user files relative to the document root.
$Config['UserFilesPath'] = $_CONF['site_url'] . $_CONF_FCK['imagelibrary'] ;
// Fill the following value it you prefer to specify the absolute path for the
// user files directory. Usefull if you are using a virtual directory, symbolic
// link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
// Attention: The above 'UserFilesPath' must point to the same directory.
$Config['UserFilesAbsolutePath'] = $_CONF['path_html'] . $_CONF_FCK['imagelibrary'];
11
13
Quote
geoak
Anonymous
Why do we have to smash our head in oerder to configure this great editor?
I am trying to change the path of the filemanager and I have to read the whole code of the editor !!!!
Anyone who knows how to set this "rocket to the moon"?
12
12
Quote
Status: offline
Ook
Forum User
Chatty
Registered: 07/26/06
Posts: 39
Try this:
http://www.geeklog.net/forum/viewtopic.php?forum=6&showtopic=76681
"A conclusion is the place where you got tired of thinking."--Steven Wright
http://www.geeklog.net/forum/viewtopic.php?forum=6&showtopic=76681
"A conclusion is the place where you got tired of thinking."--Steven Wright
13
13
Quote
All times are EDT. The time is now 08:41 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content