31
Aidus
Re:Problem with Koivi editor
  • 2004/10/24 12:11

  • Aidus

  • Just popping in

  • Posts: 50

  • Since: 2004/5/21


I put that wysiwyg folder from koivieditor class v1.0 rc3.zip in /class.
Nothing! Even toolbars not showing up.



32
Aidus
Re:Problem with Koivi editor
  • 2004/10/23 13:42

  • Aidus

  • Just popping in

  • Posts: 50

  • Since: 2004/5/21


Not working.
Firefox JavaScript console shows:
1.
ErrorXK_init is not defined

2.
ErrorXK_insertDate is not defined

...and more.
Which koivi I should use?
storyform.inc.php is the only file I need to edit?
I should install module wy.._sections too?

I don't knov where to start :(



33
Aidus
Re:Problem with Koivi editor
  • 2004/10/23 9:29

  • Aidus

  • Just popping in

  • Posts: 50

  • Since: 2004/5/21


And what is this?
XoopsKoiviEditor in yor XoopsForm

1ºCopy the wysiwyg folder inside 
class folder

2º 
Include the class in your php file
include XOOPS_ROOT_PATH "/class/wysiwyg/formwysiwygtextarea.php";

3ºCreate the editor object
$wysiwyg_text_area
= new XoopsFormWysiwygTextArea_MD_CONTENTC'content'$content '100%''400px',$options);

4ºAdd the editor to your form
$sform
->addElement$wysiwyg_text_area );


Do I need put that code somewhere? Or this is for other modules? Or . . .?



34
Aidus
Re:Problem with Koivi editor
  • 2004/10/23 9:16

  • Aidus

  • Just popping in

  • Posts: 50

  • Since: 2004/5/21


My storyform.inc.php
include_once XOOPS_ROOT_PATH."/class/xoopsformloader.php";
include_once 
XOOPS_ROOT_PATH."/class/wysiwyg/formwysiwygtextarea.php";
$sform = new XoopsThemeForm(_NW_SUBMITNEWS"storyform",


$sform->addElement(new XoopsFormWysiwygTextArea_NW_THESCOOP'hometext'$hometext'100%''400px',''), true); 

//Extra info
//If admin -> if submit privilege
if ($approveprivilege) {
$sform->addElement(new XoopsFormWysiwygTextArea_AM_EXTEXT'bodytext'$bodytext'100%''400px',''), true);


Maybe there is error.



35
Aidus
Re:Problem with Koivi editor
  • 2004/10/23 9:11

  • Aidus

  • Just popping in

  • Posts: 50

  • Since: 2004/5/21


I did so but not working.
I think there something is missing.



36
Aidus
Re:Problem with Koivi editor
  • 2004/10/23 9:00

  • Aidus

  • Just popping in

  • Posts: 50

  • Since: 2004/5/21


Still not working. Maybe something else?



37
Aidus
Re:Problem with Koivi editor
  • 2004/10/23 8:52

  • Aidus

  • Just popping in

  • Posts: 50

  • Since: 2004/5/21


Not working:(
Maybe you can write step by step how to integrate this editor in news (what did you do).



38
Aidus
Re: Problem with Koivi editor
  • 2004/10/23 8:43

  • Aidus

  • Just popping in

  • Posts: 50

  • Since: 2004/5/21


Quote:
Koivi Editor Class

1.0 2004-10-06
koivieditor class v1.0 rc3.zip 206,430 2004-10-22 4
xk class v1rc2.zip 215,897 2004-10-08 82
Translations

1.0 2004-10-12
xk_class_v1_french.zip 3,134 2004-10-12 11
WYSIWYG Test Module

1.0 TestModule 2004-09-28
wysiwyg_sections 1.0rc2.zip 276,949 2004-10-08 47


So what I must download and then what to do with file?



39
Aidus
Re: Problem with Koivi editor
  • 2004/10/23 8:25

  • Aidus

  • Just popping in

  • Posts: 50

  • Since: 2004/5/21


Xoops 2.0.7.3 with News module 1.21
Browsers: Firefox 0.9.3
IE 6.0

File: wysiwyg_sections 1.0rc2

In firefox all seems to be ok, just can't input text.
IE shows error:

Line: 437
Char: 1
Error: Object expected
Code: 0
URL: http:/xxx/modules/news/admin/index.php?op=newarticle



40
Aidus
Problem with Koivi editor
  • 2004/10/23 8:05

  • Aidus

  • Just popping in

  • Posts: 50

  • Since: 2004/5/21


I can't input text. Any ideas?




TopTop
« 1 2 3 (4) 5 »



Login

Who's Online

173 user(s) are online (121 user(s) are browsing Support Forums)


Members: 0


Guests: 173


more...

Donat-O-Meter

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

Latest GitHub Commits