Hacks: How to Enable Koivi Wysiwyg Editor in XOOPS 2.2.2Posted by: Rha7dotComon 2005/9/26 6:54:20 11801 reads Hi! This is a so much asked question. How to enable the Koivi Editor in Xoops 2.2.2, Well here is how to enable the Koivi Editor in custom block editing, you can get the idea from here to implement it in other places, good luck!
==== HACK ====================================
around line 56, you will find the following line:
$form->addElement(new XoopsFormDhtmlTextArea(_MB_SYSTEM_CONTENT, 'options', htmlspecialchars($ts->stripSlashesGPC($options), ENT_QUOTES), 15, 60));
Change it to:
$theEditor = new XoopsFormWysiwygTextArea(array());
That's pretty much it.
Rha7.Com Web Development and Design