41
I just upgraded my news version to 1.2.1 and followed the installation instructions on the docs provided by koivi editor when I uploaded all the changes I get this error.
This is the the installation instructions which i followed.
Can anyone help me solve this problem. I have searched the forum and site for this particular error but I can't seem to find it. Thanks for taking the time to read this.
Fatal error: Class xoopsformwysiwygtextarea: Cannot inherit from undefined class xoopsformelement in /home/premierl/public_html/home/class/wysiwyg/formwysiwygtextarea.php on line 52
This is the the installation instructions which i followed.
News 1.2.1 Module Integration Example
1º Open file news/include/storyform.inc.php
2º After line 32 (include_once XOOPS_ROOT_PATH."/class/xoopsformloader.php";) add:
include_once XOOPS_ROOT_PATH . "/class/wysiwyg/formwysiwygtextarea.php";
3º Remove or comment line 61 ($sform->addElement(new XoopsFormDhtmlTextArea(_NW_THESCOOP, 'hometext', $hometext, 15, 60, 'hometext_hidden'), true);) and add:
$sform->addElement(new XoopsFormWysiwygTextArea( _NW_THESCOOP, 'hometext', $hometext, '100%', '400px',''), true);
4º Remove or comment line 66 ($sform->addElement(new XoopsFormDhtmlTextArea(_AM_EXTEXT, 'bodytext', $bodytext, 15, 60, 'bodytext_hidden'), false);) and add:
$sform->addElement(new XoopsFormWysiwygTextArea( _AM_EXTEXT, 'bodytext', $bodytext, '100%', '400px',''), true);
Can anyone help me solve this problem. I have searched the forum and site for this particular error but I can't seem to find it. Thanks for taking the time to read this.