diff --git a/typo3/sysext/cms/tbl_tt_content.php b/typo3/sysext/cms/tbl_tt_content.php index a3d0f96..e34170c 100755 --- a/typo3/sysext/cms/tbl_tt_content.php +++ b/typo3/sysext/cms/tbl_tt_content.php @@ -478,17 +478,6 @@ $TCA['tt_content'] = array( 'xmlOutput' => 0, ), ), - 't3editor' => array( - 'enableByTypeConfig' => 1, - 'type' => 'userFunc', - 'userFunc' => 'EXT:t3editor/classes/class.tx_t3editor_tceforms_wizard.php:tx_t3editor_tceforms_wizard->main', - 'title' => 't3editor', - 'icon' => 'wizard_table.gif', - 'script' => 'wizard_table.php', - 'params' => array( - 'format' => 'html', - ), - ), ), 'softref' => 'typolink_tag,images,email[subst],url', 'search' => array( @@ -1982,7 +1971,7 @@ $TCA['tt_content'] = array( 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general, header;LLL:EXT:cms/locallang_ttc.xml:header.ALT.html_formlabel, - bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.html_formlabel;;nowrap:wizards[t3editor], + bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.html_formlabel;;nowrap, --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance, --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames, --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access, diff --git a/typo3/sysext/t3editor/ext_tables.php b/typo3/sysext/t3editor/ext_tables.php index 90c0151..f759f78 100644 --- a/typo3/sysext/t3editor/ext_tables.php +++ b/typo3/sysext/t3editor/ext_tables.php @@ -10,5 +10,23 @@ if (TYPO3_MODE == 'BE') { $TYPO3_CONF_VARS['BE']['AJAX']['tx_t3editor_TSrefLoader::getTypes'] = 'EXT:t3editor/classes/ts_codecompletion/class.tx_t3editor_tsrefloader.php:tx_t3editor_TSrefLoader->processAjaxRequest'; $TYPO3_CONF_VARS['BE']['AJAX']['tx_t3editor_TSrefLoader::getDescription'] = 'EXT:t3editor/classes/ts_codecompletion/class.tx_t3editor_tsrefloader.php:tx_t3editor_TSrefLoader->processAjaxRequest'; $TYPO3_CONF_VARS['BE']['AJAX']['tx_t3editor_codecompletion::loadTemplates'] = 'EXT:t3editor/classes/ts_codecompletion/class.tx_t3editor_codecompletion.php:tx_t3editor_codecompletion->processAjaxRequest'; + + t3lib_div::loadTCA('tt_content'); + $TCA['tt_content']['columns']['bodytext']['config']['wizards']['t3editor'] = array( + 'enableByTypeConfig' => 1, + 'type' => 'userFunc', + 'userFunc' => 'EXT:t3editor/classes/class.tx_t3editor_tceforms_wizard.php:tx_t3editor_tceforms_wizard->main', + 'title' => 't3editor', + 'icon' => 'wizard_table.gif', + 'script' => 'wizard_table.php', + 'params' => array( + 'format' => 'html', + ), + ); + $TCA['tt_content']['types']['html']['showitem'] = str_replace( + 'bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.html_formlabel;;nowrap', + 'bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.html_formlabel;;nowrap:wizards[t3editor]', + $TCA['tt_content']['types']['html']['showitem'] + ); } ?> \ No newline at end of file