| 
 | Re: Modules ne fonctionnant pas avec Xoops 2.3 |  | Titre du sujet : Re: Modules ne fonctionnant pas avec Xoops 2.3
 par FabienSt sur 17/03/2009 12:51:54
 
 Bonjour,
 
 Suite à un bug du module newbbex 1.7 au niveau de l'éditeur
 J'ai appliqué le correctif suivant dans le fichier /newbbex/include/forumform.inc.php :
 
 Code d'origine :
 
 
 
if(newbbex_isX23()) {
$editor_configs=array();
 $editor_configs['name'] = 'message';
 $editor_configs['value'] = $message;
 $editor_configs['rows'] = 35;
 $editor_configs['cols'] = 60;
 $editor_configs['width'] = '100%';
 $editor_configs['height'] = '400px';
 $editor = new XoopsFormEditor('', 'htmlarea', $editor_configs);
 
 
 
 Remplacé par :
 
 
 
 
if(newbbex_isX23()) {
$editor_configs=array();
 $editor_configs['editor'] =  "dhtmltextarea";
 $editor_configs['name'] = 'message';
 $editor_configs['value'] = $message;
 $editor_configs['rows'] = 35;
 $editor_configs['cols'] = 60;
 $editor_configs['width'] = '100%';
 $editor_configs['height'] = '400px';
 $editor = new XoopsFormEditor('', 'message', $editor_configs);
 
 Ciao,
 
 Fabien
 
 | 
 |