уточняю - плагин для бэкенда - папка mod1, используется по умолчанию простой вывод текстареи через вставку html кода, есть ли возможность использовать какиелибо возможности бэкенда чтоб вставить в необходимом месте RTE???
перефразирую вопрос - есть ли в бэкенде widget RTE????
нашел на просторах инета упоминание о таком методе
Код:
$this->m_tce_form = t3lib_div::makeInstance("t3lib_TCEforms");
$this->m_tce_form->backPath='../../../../typo3/';
$this->m_tce_form->formName = "frmbord";
$vPAComment = array();
$vPAComment['itemFormElName'] = "comment";
$vPAComment['itemFormElValue'] = "";
$vPAComment['fieldChangeFunc'] = array();
$vPAComment['fieldConf']["config"] = array (
'type' => 'text',
"cols" => "50",
"rows" => "10",
'wizards' => array(
'_PADDING' => 2,
"RTE" => array(
"notNewRecords" => 0,
"RTEonly" => 1,
"type" => "script",
"title" => "Full screen Rich Text Editing|Formatteret redigering i hele vinduet",
"icon" => "../../../../typo3/wizard_rte2.gif",
"script" => "../../../../typo3/wizard_rte.php",
),
)
);
$vPAComment['extra'] = 'richtext[paste|bold|italic|underline|formatblock|class|left|center|right|orderedlist|unorderedlist|outdent|indent|link|image]:rte_transform[flag=rte_enabled|mode=ts]';
$content .= $this->m_tce_form->getSingleField_typeText('tt_comments','pid',array('pid'=>333),$vPAComment);
но почему то на месте вывода едитора у меня висит надпись
Код:
The editor is being loaded. Please wait...
[RTEareacomment]
Full screen Rich Text Editing
есть знающие как это победить????