Submitted by corbin on
bonsoir,
D'où peuvent venir les écarts de fonctionnement suivants :
sur un drupal 6.20 pratiquement vierge,j'ai installé :
CKEditor 6.x-1.2
CKfinder_php_2.0.1 version demo
CKEditor SWF 6.x-2.1
bouton image : envoyer serveur / explorer serveur / aperçu / envoyer CKeditor : OK
bouton flash :
- swf : envoyer serveur / explorer serveur / aperçu / envoyer CKeditor : OK
- flv : envoyer serveur OK / explorer serveur OK (avec img alt dans la première colonne du tableau des fichiers du serveur ) / aperçu NON / envoyer CKeditor NON
- mp3 : envoyer au serveur NON : "extension de fichier invalide"
Remarques :
suite à un des posts trouvés, j'ai rajouté flv dans la liste de ckfinder.js;
la GD2 PHP semble installée : GD Version bundled (2.0.28 compatible)
ANNEXE
Installation
je pense avoir suivi :
Copy the ckeditor_swf folder to your sites/all/modules directory.
Navigate to admin/build/modules and enable the module.
When using the CKEditor module
Edit CKEditor module's ckeditor.config.js file (by default, it is in the sites/all/modules/ckeditor directory) and add the following 4 lines at the end of the file, just above the closing };
if (Drupal.settings.ckeditor_swf) {
config.extraPlugins += (config.extraPlugins) ? ',swf' : 'swf';
CKEDITOR.plugins.addExternal('swf', Drupal.settings.ckeditor_swf.module_path + '/plugins/swf/');
}
Clear your browser's cache.
Setting up CKEditor SWF Filter
Go to admin/settings/filters and choose the input format where you want to add the filter (click on the configure link next to this input format).
Check the CKEditor SWF Filter checkbox and save settings.
Click again on the same input format's configure button, then this time, click on the Rearrange tab.
Drag and drop CKEditor SWF Filter to the bottom of the list.
Save changes.