1
ianez
changing xoops basic editor
  • 2008/9/3 8:43

  • ianez

  • Not too shy to talk

  • Posts: 188

  • Since: 2006/1/26


hi there,
on XOOPS 2.18.0.1 I'm trying to change the basic dhtml editor for the system with the extended one provided in the xoopseditor class pack.
I've changed, as suggested in the forum, the line 74 of class/xoopsform/formdhtmltextarea.php from
var $htmlEditor = array();

to
var $htmlEditor = array('FormDhtmlExt''/class/xoopseditor/dhtmlext/dhtmlext.php');

but I receive an internal server 500
while calling for Koivi
var $htmlEditor = array('XoopsFormWysiwygTextArea''/class/xoopseditor/koivi/formwysiwygtextarea.php');

works greatly

any suggestion?
thanx
Ian

2
ianez
Re: changing xoops basic editor
  • 2008/9/5 13:30

  • ianez

  • Not too shy to talk

  • Posts: 188

  • Since: 2006/1/26


up^ still no solution for this

Ian

3
ghia
Re: changing xoops basic editor
  • 2008/9/5 13:54

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
I've changed, as suggested in the forum, the line 74 of class/xoopsform/formdhtmltextarea.php from

var $htmlEditor = array();

to

var $htmlEditor = array('FormDhtmlExt', '/class/xoopseditor/dhtmlext/dhtmlext.php');

but I receive an internal server 500
I believe that problem was addressed in the change from 2.3.0rc1 to 2.3.0rc2.
You may try to copy the editor from the latest release.

4
ianez
Re: changing xoops basic editor
  • 2008/9/8 10:39

  • ianez

  • Not too shy to talk

  • Posts: 188

  • Since: 2006/1/26


the dhtml extended editor is integrated in the 2.3 branch and can't find a way to copy it from the last pack (many files in different folders etc ..)
honestly I 'can't understand why in 2.18.0.1 I can call for any editor as default using the method post before, but the onyly editor I can't call is the one that should simply extend the normal XOOPS editor..
I've the impression something in the code is wrong..

Ian

5
ianez
Re: changing xoops basic editor
  • 2008/9/9 9:10

  • ianez

  • Not too shy to talk

  • Posts: 188

  • Since: 2006/1/26


also the code
var $htmlEditor = array('XoopsFormDhtmlTextAreaExtended','/class/xoopseditor/dhtmlext/dhtmlext.php');

return internal server error

Ian

6
ghia
Re: changing xoops basic editor
  • 2008/9/9 9:23

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Maybe you should try Koivi, FCK or Tinymce?

7
ianez
Re: changing xoops basic editor
  • 2008/9/9 9:34

  • ianez

  • Not too shy to talk

  • Posts: 188

  • Since: 2006/1/26


yes ghia I know but I need a simple editor with the interface of the old one (for site users) and the image manager fully working (no one has it expect koivi even if not perfectly)...
using the extendend editor should be the most easy hack.. but it don't look so

Ian

8
nmshah
Re: changing xoops basic editor
  • 2008/9/10 7:46

  • nmshah

  • Just can't stay away

  • Posts: 556

  • Since: 2007/7/2 8


If you are using the mastop publish module, then you can make its editor as the default editor for the website. Just look into the extras folder of the module on how to do the same.

9
ianez
Re: changing xoops basic editor
  • 2008/9/10 8:00

  • ianez

  • Not too shy to talk

  • Posts: 188

  • Since: 2006/1/26


thanx nmshah for the suggestion, but for usability reasons I would prefer to have the extended XOOPS editor as wide content generator.
I thought using it could be also the easiest choice eeheh but I was wrong...
The fact is that while editors like koivi or fck use a dedicated class the XoopsFormDhtmlTextAreaExtended and FormDhtmlExt classes extend the XoopsFormDhtmlTextArea class and probably there's something I miss..

it's a fact that the possibilty to have the extended XOOPS editor as wide site editor should be give to users.

Ian

10
ghia
Re: changing xoops basic editor
  • 2008/9/10 8:25

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


You may try once with a previous version 1.10 of the xoopseditor class, as can be found in this NL module packet.

Login

Who's Online

439 user(s) are online (363 user(s) are browsing Support Forums)


Members: 0


Guests: 439


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