19
@ghia
I tried french hack and it works (partialy) FCK Editor works ok, but I have problem with Spaw2 (I'm really problematic man this days
)
Here is image how it looks. I can't enter text in text area because there is no text area.
And @ trabis
French hack...
/**
* Editor to use
*/
$modversion['config'][20]['name'] = 'form_options';
$modversion['config'][20]['title'] = "_MI_NEWS_FORM_OPTIONS";
$modversion['config'][20]['description'] = '_MI_NEWS_FORM_OPTIONS_DESC';
$modversion['config'][20]['formtype'] = 'select';
$modversion['config'][20]['valuetype'] = 'text';
$modversion['config'][20]['options'] = array(
_MI_NEWS_FORM_DHTML=>'dhtmltextarea',
_MI_NEWS_FORM_COMPACT=>'textarea',
_MI_NEWS_FORM_HTMLAREA=>'htmlarea',
_MI_NEWS_FORM_FCK=>'fckeditor',
_MI_NEWS_FORM_KOIVI=>'koivi',
_MI_NEWS_FORM_NICEDIT=>'nicedit',
_MI_NEWS_FORM_SPAW2=>'spaw2',
_MI_NEWS_FORM_WYMEDITOR=>'wymeditor',
_MI_NEWS_FORM_XINHA=>'xinha',
//_MI_NEWS_FORM_TINYEDITOR=>'tinyeditor,
'tinymce'=>'tinymce');
$modversion['config'][20]['default'] = 'dhtml';
...doesn't use...
xoops_load('xoopseditorhandler');
$modversion['config'][20]['options'] = array_flip(xoopsEditorHandler::getList());
...anymore because it doesn't list all installed editors. Why it is that way? Can't you make XOOPS by itself find what editors are instaled and then give list to news module or whatever other article module?