1
hrac
koivi editor on 2.2
  • 2005/7/30 7:10

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


Hello,
How can I enable or being used built in koivi editor comes with XOOPS 2.2?
Thanks

2
hrac
Re: koivi editor on 2.2
  • 2005/7/31 8:21

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


nobody knows???

3
DCrussader
Re: koivi editor on 2.2

Koivi in 2.2 of XOOPS can be used only with modules created for 2.2, such as CBB 2.2BETA, this one is a Community Buletin Board, successor of NewBB 2.0.2.

In Administration/modules/cbb/preferences, u can select how many WYSIWYG editors can be used or only one. Currently only Koivi is supported with CBB 2.2.

Koivi and others cant be enabled in post comments, contact us and private messaging, dont ask me why, this is a Mith task.
May The Source Be With You!

4
zoullou
Re: koivi editor on 2.2
  • 2005/7/31 9:54

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


I think you could add Kiovi for all module if you use XOOPS form API. You can make a form with Kiovi like this. I haven't test this code
$form = new XoopsThemeForm($title$name$action$method$addtoken);
if(!empty(
$_POST['editor']) || !empty($_COOKIE['editor'])) {
    if(!empty(
$_POST['editor'])) {
        
$editor $_POST['editor'];
    } else {
        
$editor $_COOKIE['editor'];
    }
} else {
    
$editor "";
}
if(!empty(
$editor)){
    
setcookie("editor",$editor);
}
$form->addElement(new XoopsFormSelectEditor($form,"editor",$editor));
$options['name'] ='event_desc';
$options['value'] = empty($_REQUEST['message'])?"":$_REQUEST['message'];
$form->addElement(new XoopsFormEditor("Description"$editor$options), false);
$form->addElement(new XoopsFormButton("""form_submit"_SEND"submit"), false);

Cheers

Login

Who's Online

315 user(s) are online (166 user(s) are browsing Support Forums)


Members: 0


Guests: 315


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