I Use FCKeditor in one's sides. I be able to to configure loading of graphic files. It depends me on starting of this option very.
Can someone from you on straight show properly as this it was been possible to make ? I ask structure of catalogues of side about straight portraying example. I ask you additionally about description of configuration in suitable files. FCKeditor calls out from level PHP.
Problem with loading of files in FCKeditor (configuration)
Moderator: General Moderators
I understand. From documentation I gained over informations, which permitted to start me editor as well as to configure him. Php calls out him without problem from level, set of buttons configures, I change styles. I look for straight example which will permit me to start loading of files. I be able to to make this on basis of record of project unfortunately. I am inexperienced user. I configured FCKeditor on basis of documentation. He did not act unfortunately correctly. It can I will describe one's configuration and this will permit onto indication of mistakes ? ( I know English language Faintly)astions wrote:Have you tried translating the documentation for the editor? Your question did not translate good.
Arrangement of files and directorys of my site is following:
http://www.mysite.com/index.php
http://www.mysite.com/FCKeditor/
http://www.mysite.com/files/
In file index.php I start editor:
I configured editor in files: /FCKeditor/editor/filemanager/browser/default/connectors/php/config.php and /FCKeditor/editor/filemanager/upload/php/config.php
In file /FCKeditor_/fckconfig.js I set:
I Set the permission of the upload directory:
http://www.mysite.com/index.php
http://www.mysite.com/FCKeditor/
http://www.mysite.com/files/
In file index.php I start editor:
Code: Select all
$oFCKeditor = new FCKeditor('news') ;
$oFCKeditor->BasePath = 'FCKeditor/';
//$oFCKeditor->ToolbarSet = 'Basic';
$oFCKeditor->Value = 'Write news';
$oFCKeditor->Width = 585;
$oFCKeditor->Height = 400;
$oFCKeditor->Create() ;Code: Select all
$Config['Enabled'] = true ;Code: Select all
$Config['UserFilesPath'] = '/files/' ;Code: Select all
var _FileBrowserLanguage = 'php' ;
var _QuickUploadLanguage = 'php' ;Code: Select all
chmod -R 0777 filesIt does not receive announcements about errors. Following announcement appears me:
http://www.drunkdog.org/~wania/problem1.jpg
When loading of file will accept to editor I do not have him of preview
http://www.drunkdog.org/~wania/problem2.jpg
When I start proprieties of this graphic, it receives informations:
http://www.drunkdog.org/~wania/problem3.jpg
http://www.drunkdog.org/~wania/problem1.jpg
When loading of file will accept to editor I do not have him of preview
http://www.drunkdog.org/~wania/problem2.jpg
When I start proprieties of this graphic, it receives informations:
http://www.drunkdog.org/~wania/problem3.jpg