1
FeraTechInc
Change DHTML editor for blocks?

How do you change the DHTML editor for block content?

I have the module "tinyeditor" installed with several plugins. How can I use this editor for my XOOPS blocks?

2
McDonald
Re: Change DHTML editor for blocks?
  • 2007/10/6 23:27

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


From the Tinyeditor manual:

Making tinyeditor the default editor for XOOPS: If you‘re running XOOPS 2.0.15 or higher you can edit the file /class/xoopsform/formdhtmltexteditor.php and change the line

var $htmlEditor = array();


to

var $htmlEditor = array(‚XoopsFormTinyeditorTextArea', ‚/class/xoopseditor/tinyeditor/formtinyeditortextarea.php');

3
blueteen
Re: Change DHTML editor for blocks?
  • 2007/10/18 14:54

  • blueteen

  • Quite a regular

  • Posts: 379

  • Since: 2004/7/16


hello !
i try it on a 2.0.17.1 version

need to add also this line :
include_once XOOPS_ROOT_PATH."/class/xoopseditor/tinyeditor/formtinyeditortextarea.php";

just above line 46 :
include_once XOOPS_ROOT_PATH."/class/xoopsform/formtextarea.php";

4
FeraTechInc
Re: Change DHTML editor for blocks?

How can you change this to Koivi editor or any other editor?

It seems strange that even though these editors are fairly stable, most Xoopers recommend using HTML and now modules use WYSIWYG editors. Why doesn't the System Core follow suit?

Login

Who's Online

148 user(s) are online (107 user(s) are browsing Support Forums)


Members: 0


Guests: 148


more...

Donat-O-Meter

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

Latest GitHub Commits