Jump to Main Content
Editors (WYSIWYG)

Author Me Date 2008/6/22

The XOOPS editor framework was introduced in the 2.2.x fork. However, you can integrate the WYSIWYG editors into the 2.0.x platform for those modules that take advantage of them.



XOOPS Editor Framework - Latest: 1.20

This replaces all the stuff that I've written below where I used to maintain my own. I've tried a number of the editors, and IMHO of those available in XOOPS, FCKEditor is the best one overall, but others certainly have their favorites for their own reasons.

I recommend you also update to the latest version of FCKeditor if you plan to use that one.

Historical Notes

The rest of this article is old information (from when I used to build/maintain my own set prior to the frameworks release for 2.0.x). Each module may require a different usage or installation of the editors depending upon the version of XOOPS you're using.

A few notes:

  • This compilation contains "all" WYSIWYG edtiors except for inbetween and TinyContent which have separate instructions below and easy enough to install/update.
  • Under 2.2.x fork, editors are in the class/xoopseditor directory. Generally, you will load the latest versions in that directory.
  • Under 2.0.x, some editors are located in class/<editorname>
  • XForge Modules (like CBB) - Has it's own set and calls it Frameworks. It comes with the download, but likely can be updated with later releases, although it appears to be the latest I can find at the moment. You can also add the other editors from the 2.2.x fork in here, although some path edits may be needed.

Review on editors by XK (Kiovi) developer.

XOOPSeditor Framework

Inspired by this forum article, I've developed my own version for easy installation and upkeep: 2006-07-01. This is what is included:

/class/xoopseditor/<editorname>

  • dhtmltextarea (from XOOPS 2.2.4)
  • fckeditor (2.0 Final plus FCK 2.3, combined/edited per below)
  • htmlarea (from xoopseditor v1.2)
  • koivi (from XOOPS 2.2.4, but not used AFAIK)
  • spaw (from xoopseditor v1.2, but not used AFAIK)
  • textarea (from XOOPS 2.2.4)
/class/wysiwyg
  • Koivi (v1.0.52.1)
/class/spaw
  • Spaw (v1.0.7)
/class/Frameworks/xoops22/class/xoopseditor/<editorname>
  • dhtmltextarea (XForge, not included in this pkg)
  • fckeditor (2.0 final plus FCK 2.3, edits per below)
  • htmlarea (from xoopseditor v1.2)
  • koivi (XForge, not included in this pkg)
  • textarea (XForge, not included in this pkg)
  • spaw (from xoopseditor v1.2, edits per below)

This appears to have "all" the xoops editors in it, except for Tiny, so far. It may not, however, be the latest and greatest of all of them, but the best I could find at the time and make work.

Koivi

Latest version: 1.0.5.2.1 (for SmartSection) - 1.1.2.6 (from XOOPS 2.2.3a updated with 2.2.4)

Koivi needs to be in two places for some reason or another. Install this way:

  • 1.0.52.1 - /class/wysiwyg
  • 1.1.2.6 (or later) - /class/xoopseditor/koivi, and /Frameworks/xoops22/class/xoopseditor/koivi (XForge)

Notes:

  • SmartSection doesn't use the /class/xoopseditor version (although may with an edit), and thus must be installed in /class/wysiwyg, and the version from xoops 2.2.3a/2.2.4 doesn't work there (likely pathing issues again)
  • 1.0.52.1 instructions talk about replacing the system_imagemanager.html template with the one in the package. I haven't done this, but also haven't played with the image manager, yet. XOOPS 2.0.14 has a new templates replacement capability (so module updates don't overwrite your updated templates).
  • I found something about a "Gecko-Browser" fix, but haven't tried it yet. Seems to work okay without.

How to replace all Text Areas with Koivi in XOOPS - not sure we want to do this, but interesting idea.

FCKeditor

Latest release: XOOPS Dev Integration 2.0 Final - FCKeditor 2.3

Copied v2.3 (from FCK site, removing extra files) over the v2.0 for XOOPS and seems to work fine with a couple of small modifications.

FCKeditor is supposed to work with ASPELL. I haven't tried it yet, but it sounds promising overall.

Make this change:

  • fckeditor.php - edit per this post to change $HtmlValue = htmlspecialchars( $this->Value) to $HtmlValue = $this->Value (I found this on line 60 in v2.3) (does this have any security ramifications?)

Copy this changed set of files to:

  • /class/xoopseditor
  • /Frameworks/xoops22/class/xoopseditor

In the Frameworks installation, you'll have to edit the path to point to the Frameworks version:

  • editor_registry.php - edit the path in 4 places to point to the Frameworks version.

inbetween

Latest Version (no website): 1.16 (only can find 1.14)

This is an updated version of TinyEditor and uses TinyMCE. This will only be maintained until TinyEditor is released, according to author FrankBlack.

To install, load the files to /class/xoopseditor and /modules directories. Then install the module normally. Also, copy the /class/xoopseditor/inbetween files to /Frameworks/xoops22/class/xoopseditor/inbetween for XForge compatibility.

HTMLarea

The XOOPS Dev site project known as HTMLarea currently (2006-06-30) shows only fckeditor and TinyMCE (but no file for tiny). Found version in XoopsEditor v1.2 and placed in xoopseditor framework area and it worked, but only for CBB and not for SmartSection.

TinyEditor

Latest Version: 1.0 Alpha

TinyEditor is based upon TinyMCE. However, contrary to it's name, it's not tiny. In fact, it's the largest editor out there at the moment. I haven't tried it yet. It may be a god-send, but I don't know.

SPAW

Latest Version: Various

SPAW - SPAW for XOOPS

Has image upload capability, an update on that idea. Now works with IE 5.5+ and Gecko Browsers. What I understand is that the people doing HTMLarea are integrating SPAW with XOOPS yet are concentrating on HTMLarea. I've looked at the various versions I've found:

  • v1.07 - installed in /class/spaw (used in SmartSection, maybe others)
  • v1.0 - xoopseditor v1.2 (seems to be updated over 1.07, but not sure); installed in:
    • /class/xoopseditor/spaw (not used AFAIK)
    • /Frameworks/xoops22/class/xoopseditor/spaw; had to edit paths for: editor_registry.php, formspaw.php, config/spaw_control.config.php (updates XForge Framework and works in CBB)
  • v1.1 from SPAW (not yet XOOPS integrated - but may be able to overwrite v1.0 or 1.07)
  • v1.4 Module (readme says 1.20b), used with WF-Sections, but abandoning that, and not in forward direction.

Post Comment
Comment Rules*
Auto Approval for Registrants
Title*
Msg Icon*
             
Message*
URL Email Images Inside images Smiley Flash _XOOPS_FORM_ALTYOUTUBE Source code Quote

Bold Italic Underline Linethrough  Left Center Right  


Click the Preview to see the content in action.
Options*
Enable Smiley Icons 
Enable XOOPS Codes (BBCode) 
Auto wrap lines 
Confirmation Code*

Click to refresh the image if it is not clear enough.


Input letters in the image
The code is case-insensitive
 
Login
 

 

 

(c) 2006-2007 - Mark Boyden
Privacy - Legal Stuff - Contacts