1
nnoel
table insertion with koivi editor 1.0.2
  • 2005/1/4 18:31

  • nnoel

  • Just popping in

  • Posts: 7

  • Since: 2004/7/25


hi,

I'm in a new module development early phase. When I try to insert the koivi wysiwyg
features in a form, I put the following code at the beginning:
include "../../../include/cp_header.php";
include 
XOOPS_ROOT_PATH."/class/xoopsformloader.php";
include 
XOOPS_ROOT_PATH."/class/wysiwyg/formwysiwygtextarea.php";

and
$form->addElement(new XoopsFormWysiwygTextArea(_AM_PROMOFORM_CONTENT"promoform_content""""100%""400px"""), true);

in my form.

Everything is working fine except the table insertion! js errors on the page in dialogs.php (createTable? is not a function on line 54)
...dialogs.php?id=promoform_content&dialog=table&url=/class/wysiwyg


can you help me?

PS this feature is working in my newbb2 test installation.

2
nnoel
Re: table insertion with koivi editor 1.0.2 [solved]
  • 2005/1/5 8:08

  • nnoel

  • Just popping in

  • Posts: 7

  • Since: 2004/7/25


use of the value 'small' (as found in the french documentation) for the $option for another reduced editor in the same form was the cause of the problem.

Empty the option or use of permitted (see doc in zip file) values solved the problem.

btw I'm still waiting the next release...

3
samuels
Re: table insertion with koivi editor 1.0.2 [solved]
  • 2005/1/5 9:06

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


Mmm, I understand the problem, it's a bug I made on formwysiwygtextarea.php

If you need this now, you can open formwysiwygtextarea.php and remove the line:
if(in_array('createtable',$options));


It will be solved on 1.03.

4
nnoel
Re: table insertion with koivi editor 1.0.2 [solved]
  • 2005/1/5 16:18

  • nnoel

  • Just popping in

  • Posts: 7

  • Since: 2004/7/25


it works good job!

5
jbaudin
Re: table insertion with koivi editor 1.0.2 [solved]
  • 2005/1/31 15:55

  • jbaudin

  • Just popping in

  • Posts: 42

  • Since: 2004/1/22


I have the same prb with the version 1.0.3.

I can't create table, nothing append when i validate the popup.

HELP !!!

6
samuels
Re: table insertion with koivi editor 1.0.2 [solved]
  • 2005/2/1 1:37

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


Make sure you're using the last version.
v1.04 is avaible here:
http://dev.xoops.org/modules/xfmod/project/showfiles.php?group_id=1038

7
jbaudin
Re: table insertion with koivi editor 1.0.2 [solved]
  • 2005/2/1 7:57

  • jbaudin

  • Just popping in

  • Posts: 42

  • Since: 2004/1/22


Sorry !!!!!


It's ok now !!!

Thank you !

8
basby
Re: table insertion with koivi editor 1.0.2
  • 2005/2/17 7:44

  • basby

  • Not too shy to talk

  • Posts: 109

  • Since: 2003/1/28


Hi Samuels,

I really like this koivi editor integrated in Xoops. I do have some problems but probably they are due to the old version I use. I use the version that's included in the XoopsEditor Framework, version "xoopseditor-v1_1_1_bugfixby_Xavier_dqflyer.zip" of december 26, 2004.

I have downloaded koivi version 1.04 and copied it to the XoopsEditor Framework directory. This version does, however, not work within the framework. Probably something has to be done to make it fit into the framework. Sounds logical to me.

Do you have any idea what the best way is to include the latest koivi in the framework?

Thanks!

9
samuels
Re: table insertion with koivi editor 1.0.2
  • 2005/2/18 10:58

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


I'll try to update the editor framework.

10
basby
Re: table insertion with koivi editor 1.0.2
  • 2005/2/18 11:30

  • basby

  • Not too shy to talk

  • Posts: 109

  • Since: 2003/1/28


That would be great. If you want me to test it, just let me know.

Does it include the extra selection in the image manager for wysiwyg editors? I saw a demo site of koivi in XOOPS (not sure where I found the site) which worked great. When I selected the image manager from the editor, I could select each image in 4 different ways: left, center, right and wysiwyg.

Cheers!

Login

Who's Online

223 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 223


more...

Donat-O-Meter

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

Latest GitHub Commits