Betreff: Re: Titel für Gäste, Inhalt aber nicht. von karim am 09.08.2007 20:18:45
Zitat: EDIT: Zudem stelle ich mit Bedauern fest, das in der Version 1.55 der TINY-EDITOR nicht mehr funktioniert. In der 1.53 ging das noch ... schitt aber auch.
Zitat "News --> Moduleinstellungen":
Zitat: Formularoptionen
Bitte den Editor auswählen. Wenn eine 'einfache' Installation vorliegt (z.b. nur die Xoops Core Editor Klasse (des Xoops Standard Core-Packages) benutzt wird, dann kann nur DHTML und kompakt ausgewählt.
da ist aber noch der Wurm drin... 
nach einem Artikel im news-Forum von Hervé habe ich es folgendermaßen hingekriegt:
In der Datei root/modules/news/include/functions.php folgendes suchen:
Zitat: case 'tinyeditor': if ( is_readable(XOOPS_ROOT_PATH.'/class/xoopseditor/tinyeditor/formtinyeditortextarea.php')) { include_once XOOPS_ROOT_PATH.'/class/xoopseditor/tinyeditor/formtinyeditortextarea.php'; $editor = new XoopsFormTinyeditorTextArea(array('caption'=> $caption, 'name'=>$name, 'value'=>$value, 'width'=>'100%', 'height'=>'400px')); } break;
und ersetzen durch:
Zitat:
case 'tinyeditor': if ( is_readable(XOOPS_ROOT_PATH.'/class/xoopseditor/tinymce/formtinymce.php')) { include_once XOOPS_ROOT_PATH.'/class/xoopseditor/tinymce/formtinymce.php'; $editor = new XoopsFormTinymce(array('caption'=> $caption, 'name'=>$name, 'value'=>$value, 'width'=>'100%', 'height'=>'400px')); } break;
funktioniert bei mir super (/class/xoopseditor, Version 1.10).
hth & lg karim
|