FCKeditor:Etudes

Un article de Wiki.

Jump to: navigation, search

gc4QDD <a href="http://vmezqvefgatu.com/">vmezqvefgatu</a>, [url=http://aykcruhfkfmj.com/]aykcruhfkfmj[/url], [link=http://rotgnwgtpkoy.com/]rotgnwgtpkoy[/link], http://jwgolnbgdsom.com/

[modifier] Installation

copier tout le dossier ./editor/

et puis les fichiers commençant par fck... à la racine

Pour activer l'explorateur de fichier et l'upload, il faut configurer les fichiers config.php. Aller dans

  1. editor/filemanager/browser/default/connectors/php/config.php
  2. editor/filemanager/upload/default/connectors/php/config.php

Il faut mettre les bonnes valeurs:

// 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'] = '/fckeditor/doc/' ;

Dans le fichier fckeditor.js à la racine, il faut aussi définir le type de connecteur à utiliser:

// The following value defines which File Browser connector and Quick Upload
// "uploader" to use. It is valid for the default implementaion and it is here
// just to make this configuration file cleaner.
// It is not possible to change this value using an external file or even
// inline when creating the editor instance. In that cases you must set the
// values of LinkBrowserURL, ImageBrowserURL and so on.
// Custom implementations should just ignore it.
var _FileBrowserLanguage        = 'php' ;       // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage        = 'php' ;       // asp | aspx | cfm | lasso | php