Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
16aad6be
Commit
16aad6be
authored
May 03, 2019
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Configuration/TCA/tt_content.php
0 → 100644
View file @
16aad6be
<?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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment