Hacks

How to Enable Koivi Wysiwyg Editor in XOOPS 2.2.2

Rha7dotCom  26-Sep-2005 01:59 10938 Reads   22 Comment(s) 

==== HACK ====================================
In /modules/system/blocks/system_blocks.php
around line 56, you will find the following line:

$form->addElement(new XoopsFormDhtmlTextArea(_MB_SYSTEM_CONTENT, 'options[0]', htmlspecialchars($ts->stripSlashesGPC($options[0]), ENT_QUOTES), 15, 60));


Change it to:

$theEditor = new XoopsFormWysiwygTextArea(array());
$theEditor->setName('options[0]');
$form->addElement($theEditor);


================================================

That's pretty much it.

Good Luck!

Gabriel Medina
Administrator
Rha7.Com Web Development and Design
Rating 0/5
Rating: 0/5 (0 votes)
Voting is disabled!


Login

Who's Online

284 user(s) are online (3 user(s) are browsing Publisher)


Members: 0


Guests: 284


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits

Categories