| Re: How to remove xoops text editor from certain modules |
| by jeffgr on 2007/4/3 14:53:48 Does Anyone know how to remove the text editor from the PM box now? The solution listed above in this thread doesn't seem to work... the code that is listed in the pmlite.php page, at line 123 is: xoopsCodeTarea("message",37,8); however, this page also seems to reference at line 80 include_once XOOPS_ROOT_PATH."/include/xoopscodes.php"; and I think this is where the problem lies. Just changing the text to XoopsFormTextArea doesn't work... Any ideas? Thanks, Jeff |
| Re: How to remove xoops text editor from certain modules |
| by jeffgr on 2006/10/21 4:12:42 thanks, that seemed to work! |
| Re: How to remove xoops text editor from certain modules |
| by Mithrandir on 2006/10/18 10:05:54 Replace XoopsFormDhtmlTextArea with XoopsFormTextArea |
| How to remove xoops text editor from certain modules |
| by jeffgr on 2006/10/18 8:49:45 Hi there, anyone know how to remove the XOOPS text editor from certain module pages? For example, in xdirectory, I want to change the "Description" form field on the "edit listing" page so that it is just a plain text box, with none of the text formatting options available in the normal text editor. In the modlink.php file of this module (so,the page where you modify your link, I found this code: $modlinkform->addElement(new XoopsFormDhtmlTextArea(_MD_DESCRIPTIONC , 'moddesc' , $moddesc , 8, 50 ), false); I tried switching out the "XoopsFormDhtmlTextArea" with "XoopsFormText",and that seemed to create a text field, but I couldn't figure out how to change the size of the text area..does anyone know? Thanks, Jeff |