2
Edit modules/news/include/functions.php and replace:
Quote:
*/
function news_isX23()
{
$x23 = false;
$xv = str_replace('XOOPS ','',XOOPS_VERSION);
if(substr($xv,2,1) == '3') {
$x23 = true;
}
return $x23;
}
with:
Quote:
*/
function news_isX23()
{
$x23 = false;
$xv = str_replace('XOOPS ','',XOOPS_VERSION);
if(substr($xv,2,1) >= '3') {
$x23 = true;
}
return $x23;
}
Also you need to modify tinyeditor url in same file to be:
le="color: #000000"><?php case 'tinyeditor': case 'tinymce': if ( is_readable(XOOPS_ROOT_PATH.'/class/xoopseditor/tinymce/formtinymce.php')) { require_once XOOPS_ROOT_PATH.'/class/xoopseditor/tinymce/formtinymce.php'; $editor = new XoopsFormTinymce(array('caption'=> $caption, 'name'=>$name, 'value'=>$value, 'width'=>'100%', 'height'=>'400px')); } break;