2
you will have to edit the file blockform.php in /modules/system/admin/blocksadmin/
find this code in line 49
Quote:
$textarea = new XoopsFormDhtmlTextArea(_AM_CONTENT, 'bcontent', $block['content'], 15, 70);
$textarea->setDescription(''._AM_USEFULTAGS.'
'.sprintf(_AM_BLOCKTAG1, '{X_SITEURL}', XOOPS_URL.'/').'');
$textarea->doHtml = true;
$form->addElement($textarea, true);
and replace it with
Quote:
include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php';
$editor_configs = array();
$editor_configs['name'] = 'bcontent';
$editor_configs['value'] = $block['content'];
$editor_configs['rows'] = $rows ? $rows : 35;
$editor_configs['cols'] = $cols ? $cols : 60;
$editor_configs['width'] = "100%";
$editor_configs['height'] = "400px";
$textarea = new XoopsFormEditor(_AM_CONTENT, "fckeditor", $editor_configs);
$textarea->setDescription(''._AM_USEFULTAGS.'
'.sprintf(_AM_BLOCKTAG1, '{X_SITEURL}', XOOPS_URL.'/').'');
$form->addElement($textarea, true);
this should do the trick ;)