Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
6 - 4 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     
_AM_CONTENT, 'name'=>'bcontent', 'value'=>$block['content'], 'cols'=>'15','rows'=>'20', 'xEditor'=>'1')); }else{ $textarea = new XoopsFormDhtmlTextArea(_AM_CONTENT, 'bcontent', $block['content'], 15, 70); }[/code] you will have a tinymce as editor in XOOPS blocks[/quote]" />

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

Who's Online

142 user(s) are online (117 user(s) are browsing Support Forums)


Members: 0


Guests: 142


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits