Ich werde noch wahnsinnig - ich bekomme den RTE in einem Backend Modul einfach nicht zum laufen.
Dank Steffen kann man über diesen Code eine RTE Feld im BE einfügen:
require_once(PATH_t3lib . 'class.t3lib_tceforms.php');
$rawRec = t3lib_BEfunc::getRecord('tt_content','5');
t3lib_BEfunc::fixVersioningPid('tt_content', $rawRec);
$tceforms = t3lib_div::makeInstance('t3lib_TCEforms');
$tceforms->initDefaultBEMode();
$tceforms->disableWizards = 1;
$tceforms->colorScheme[0]=$this->doc->bgColor; // SPECIAL: Setting background color of the RTE to ordinary background
$fieldTSConfig = $tceforms->setTSconfig('tt_content', $rawRec, 'bodytext');
$content = $tceforms->getSoloField('tt_content', $rawRec, 'bodytext');
return $tceforms->printNeededJSFunctions_top() . $content . $tceforms->printNeededJSFunctions();
Das führt dann zu dieser Ausgabe:
http://pastebin.com/f3144c489
Aber ich erhalte nur die Meldung dass der RTE geladen wird:
Bild: easycaptures.com/…/9134849588.jpg
Hat jemand eine Idee - was hier noch fehlen könnte? #angry#