| Re: Use tinymce in xoops 2.4 blocks |
| by ghia on 2010/2/9 0:49:00 It works here on 2.4.3 but the option doesn't matter. For a custom block, you should see always the tinymce editor window. What do you see? |
| Re: Use tinymce in xoops 2.4 blocks |
| by option on 2010/2/9 0:01:30 not working xoops 2.4.4 (option "html" and other button) ----------------------- upss Opera Bug (9.50) sorry.... |
| Use tinymce in xoops 2.4 blocks |
| by Mazar on 2009/11/24 10:56:00 open modules/system/admin/blocksadmin/blockform.php le="color: #000000"><?php $textarea = new XoopsFormDhtmlTextArea(_AM_CONTENT, 'bcontent', $block['content'], 15, 70); find the above line and replace with below le="color: #000000"><?php if ( is_readable(XOOPS_ROOT_PATH . "/class/xoopseditor/tinymce/formtinymce.php")) { include_once(XOOPS_ROOT_PATH . "/class/xoopseditor/tinymce/formtinymce.php"); include_once(XOOPS_ROOT_PATH . "/class/xoopseditor/tinymce/language/english.php"); $textarea = new XoopsFormTinymce(array('caption'=>_AM_CONTENT, 'name'=>'bcontent', 'value'=>$block['content'], 'cols'=>'15','rows'=>'20', 'xEditor'=>'1')); }else{ $textarea = new XoopsFormDhtmlTextArea(_AM_CONTENT, 'bcontent', $block['content'], 15, 70); } you will have a tinymce as editor in XOOPS blocks |