Zum Inhalt springen

Normales Textfeld als RTE-Feld

Erstellt am 15. Juni 2005 · Noch keine Antworten

Tags: TCA, Frage

Beatz ·

Hallo zusammen,

ich habe die Extension sg_glossary im Einsatz und möchte anstatt des normalen Texteingabefeldes gern den RTE verwenden.

Ich habe aus der originalen tca.php in typo3conf/ext/sg_glossary/

                "description" => Array (
                        "exclude" => 0,
                        "label" => "LLL:EXT:sg_glossary/locallang_db.php:tx_sgglossary_entries.description",
                        "config" => Array (
                                "type" => "text",
                                "cols" => "48",
                                "rows" => "18",
                                "eval" => "required",
                        )
                ),

in folgendes geändert:

                "description" => Array (
                        "exclude" => 0,
                        "label" => "LLL:EXT:sg_glossary/locallang_db.php:tx_sgglossary_entries.description",
                        "config" => Array (
                                "type" => "text",
                                "cols" => "48",
                                "rows" => "18",
                                "wizards" => Array (
                                    "_PADDING" => 4,
                                    "RTE" => Array (
                                        "notNewRecords" => 1,
                                        "RTEonly" => 1,
                                        "type" => "script",
                                        "title" => "LLL:EXT:cms/locallang_ttc.php:bodytext.W.RTE",
                                        "icon" => "wizard_rte2.gif",
                                        "script" => "wizard_rte.php",
                                    ),
                                )
                                "eval" => "required",
                        ),

                ),

Leider funktioniert das nicht. Muss ich evtl. noch etwas anderes ändern?