Commit 16aad6be authored by bbaer's avatar bbaer
Browse files

Added in T3editor config files for t3 9.0

Moved TCA settings from ext_tables to Configuration/TCA
parent 755d4d06
Pipeline #1819 passed with stage
in 2 minutes and 26 seconds
<?php
/**
* Created by PhpStorm.
* User: bbaer
* Date: 5/3/19
* Time: 6:33 PM
*/
/*
* The type name is generated by combining the extension key and plugin name, all lowercase and concatenated with `_'
*/
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
if(is_array($GLOBALS['TCA']['tt_content']['palettes'])) {
$GLOBALS['TCA']['tt_content']['palettes']['introheader']['showitem'] = 'header, CType';
$GLOBALS['TCA']['tt_content']['palettes']['startendtime']['showitem'] = 'starttime, endtime';
$GLOBALS['TCA']['tt_content']['palettes']['layoutpalette1']['showitem'] = 'colPos, header_position, sys_language_uid';
$GLOBALS['TCA']['tt_content']['palettes']['layoutpalette2']['showitem'] = 'layout, header_layout';
$GLOBALS['TCA']['tt_content']['palettes']['spacearound']['showitem'] = 'spaceBefore, spaceAfter';
}
if(is_array($GLOBALS['TCA']['tt_content']['types'])) {
$GLOBALS['TCA']['tt_content']['types']['qfq_qfq'] = array(
'showitem' => '
--div--;General,
--palette--;;introheader,
custom,
bodytext;Code:;;nowrap,
--div--;Access,
hidden, fe_group, deleted, --palette--;;startendtime,
--div--;Appearance,
--palette--;;layoutpalette1,
--palette--;;layoutpalette2,
--palette--;;spacearound,
linkToTop, section_frame, sectionIndex',
'columnsOverrides' => [
'bodytext' => [
'config' => [
'renderType' => 't3editor',
'format' => 'sql',
'rows' => 100
],
'constants' => [
'renderType' => 't3editor',
'format' => 'sql',
]
]
]
);
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment