MyXoops Forum

Forum - myXOOPS German Support

8 - 0 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

Re: "content" & Tinyeditor

Betreff: Re: "content" & Tinyeditor
von frankblack am 28.03.2007 14:06:19

Zitat:
EDIT: Bevor ich gesteinigt werde ...


Er hat "Jehova" gesagt!

Vielleicht so?

/*  
   $fckeditor_root = XOOPS_ROOT_PATH.'/modules/content/admin/fckeditor/';
    include XOOPS_ROOT_PATH.'/modules/content/admin/fckeditor/fckeditor.php';
   ob_start();
   $oFCKeditor = new FCKeditor('message') ;
    $oFCKeditor->BasePath = XOOPS_URL."/modules/content/admin/fckeditor/" ;
   if (isset($message)){
     $oFCKeditor->Value    = $message ;
    }
   $oFCKeditor->Height   = 500 ;
   $oFCKeditor->Create() ;
   $editor = new XoopsFormLabel(_C_CONTENT, ob_get_contents());
    ob_end_clean();
*/

  
include_once XOOPS_ROOT_PATH .'/class/xoopseditor/tinyeditor/formtinyeditortextarea.php';
  
//ob_start();
  
$editor = new XoopsFormTinyeditorTextArea(array(‘caption‘=>_C_CONTENT,
  
‘name‘=>'message'‘value‘=>$message‘width‘=>‘100%‘height‘=>‘400px‘,
  
‘xEditor‘=>‘1‘));
  
//ob_end_clean();

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 5329 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 1816 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag