1
fredgsanford
How do I add Kovi editor to the "Profiles" module?

I have installed the "Profiles" module and it uses XOOPS defult editor. I want it to use Kovi editor. I have installed Kovi editor in the "Class" directory but the "Profiles" module doesn't have an option to select what editor to use in it's prefernces.

Is there a way I can get this module to use the Kovi editor I have installed?

Thanks.

2
fredgsanford
Re: How do I add Kovi editor to the "Profiles" module?

Anyone? ...please

I really need this if it can be done

3
snow77
Re: How do I add Kovi editor to the "Profiles" module?
  • 2006/10/18 19:06

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


I don't know. But I got some ideas 'cause recently I added koivi to the custom blocks text editor. < see here >

Also I read about something similar in a very recent post < here >

so an idea could be that you search for, in the module files, where the current text editor is being called.

Then if from what I've seen some where on your file (maybe on top) there is a line that looks like this:

Quote:

include_once XOOPS_ROOT_PATH."/class/xoopsformloader.php";


to add koivi you add this below the above line:
Quote:

include_once XOOPS_ROOT_PATH."/class/wysiwyg/formwysiwygtextarea.php";


now like it was said in the 2nd link I wrote:

if replacing XoopsFormTextArea with XoopsFormDhtmlTextArea gives a result of taking away the dhtml editor leaving just a text editor.

you could look for the different lines where the current editor is being called in the module and replace either XoopsFormDhtmlTextArea or XoopsFormTextArea with XoopsFormWysiwygTextArea which is the one for koivi.

This is just an experimental idea.

4
fredgsanford
Re: How do I add Kovi editor to the "Profiles" module?

Thanks snow, ... I'll give that a shot.

Login

Who's Online

317 user(s) are online (202 user(s) are browsing Support Forums)


Members: 0


Guests: 317


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