Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
8 - 1 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: How to get HTML editor in News 1.3.1 ?
by riomx on 2005/7/8 21:57:54

Hmmm I just did the fixes and it seems that the news module doesn't get along very well with the Xoopseditor package:

le="color: #000000"><?php Warning [PHP]: Invalid argument supplied for foreach() in file class/xoopseditor/koivi/formwysiwygtextarea.php line 65 Notice [PHP]: Undefined variable: caption in file class/xoopseditor/koivi/formwysiwygtextarea.php line 73 Notice [PHP]: Undefined variable: name in file class/xoopseditor/koivi/formwysiwygtextarea.php line 74 Warning [PHP]: Invalid argument supplied for foreach() in file class/xoopseditor/koivi/formwysiwygtextarea.php line 65 Notice [PHP]: Undefined variable: caption in file class/xoopseditor/koivi/formwysiwygtextarea.php line 73 Notice [PHP]: Undefined variable: name in file class/xoopseditor/koivi/formwysiwygtextarea.php line 74 Notice [PHP]: Undefined property: value in file class/xoopseditor/koivi/formwysiwygtextarea.php line 94 Notice [PHP]: Undefined property: value in file class/xoopseditor/koivi/formwysiwygtextarea.php line 94


The form appears now, but those errors appear at the bottom of the add story page.

Does anyone know of alternatives for the news module ?

- Joe
Re: How to get HTML editor in News 1.3.1 ?
by tl on 2005/7/8 2:08:52

Quote:
Is there a way I can make the news module recognize this, perhaps changing a line in /admin/index.php ?


You will have to customize the function call in the file
include/functions.php

Editors are listed under
function &news_getWysiwygForm

but you will have to match up the editor with the correct locations.
Re: How to get HTML editor in News 1.3.1 ?
by riomx on 2005/7/7 23:08:17

Here is a screenshot of what I get

Resized Image
Re: How to get HTML editor in News 1.3.1 ?
by riomx on 2005/7/7 23:00:04

Quote:

hervet wrote:
You should re upload the whole module to your site


I just did that, but nothing changed.

I AM using the Xoopseditor package for WYSIWYG editors, which resides in /XOOPSROOT/class/xoopseditor

In there is DHTML, fckeditor, htmlarea, koivi, spaw, etc

Is there a way I can make the news module recognize this, perhaps changing a line in /admin/index.php ?

Thanks,

- Joe
Re: How to get HTML editor in News 1.3.1 ?
by hervet on 2005/7/7 10:42:07

You should re upload the whole module to your site

Who's Online

187 user(s) are online (128 user(s) are browsing Support Forums)


Members: 0


Guests: 187


more...

Donat-O-Meter

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

Latest GitHub Commits