Skip to content
GitLab
Menu
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
88d7cdf8
Commit
88d7cdf8
authored
May 03, 2019
by
Carsten Rose
Browse files
Merge branch 'F6334-T3-Editor' into 'master'
F6334 t3 editor See merge request
!138
parents
755d4d06
f5309e25
Pipeline
#1825
passed with stage
in 2 minutes and 3 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Configuration/Backend/T3editor/Addons.php
0 → 100644
View file @
88d7cdf8
<?php
/**
* Created by PhpStorm.
* User: bbaer
* Date: 5/3/19
* Time: 6:31 PM
*/
return
[
'edit/matchbrackets'
=>
[
'module'
=>
'cm/addon/edit/matchbrackets'
,
'options'
=>
[
'matchBrackets'
=>
true
,
],
],
'mode/overlay'
=>
[
'module'
=>
'cm/addon/mode/overlay'
,
'modes'
=>
[
'sql'
],
],
'hint/sql-hint'
=>
[
'module'
=>
'cm/addon/hint/sql-hint'
,
'modes'
=>
[
'sql'
],
],
];
extension/Configuration/Backend/T3editor/Modes.php
0 → 100644
View file @
88d7cdf8
<?php
/**
* Created by PhpStorm.
* User: bbaer
* Date: 5/3/19
* Time: 6:30 PM
*/
return
[
'sql'
=>
[
'module'
=>
'cm/mode/sql/sql'
,
'extensions'
=>
[
'sql'
],
],
'html'
=>
[
'module'
=>
'cm/mode/htmlmixed/htmlmixed'
,
'extensions'
=>
[
'htm'
,
'html'
],
],
];
extension/Configuration/TCA/tt_content.php
0 → 100644
View file @
88d7cdf8
<?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'
,
]
]
]
);
$version
=
\
TYPO3\CMS\Core\Utility\VersionNumberUtility
::
getNumericTypo3Version
();
$versionNr
=
explode
(
'.'
,
$version
);
if
(
$versionNr
[
0
]
<
9
)
{
$GLOBALS
[
'TCA'
][
'tt_content'
][
'types'
][
'qfq_qfq'
][
'columnsOverrides'
][
'bodytext'
][
'config'
][
'format'
]
=
'sparql'
;
$GLOBALS
[
'TCA'
][
'tt_content'
][
'types'
][
'qfq_qfq'
][
'columnsOverrides'
][
'bodytext'
][
'constants'
][
'format'
]
=
'sparql'
;
}
}
extension/ext_emconf.php
View file @
88d7cdf8
...
...
@@ -15,7 +15,7 @@ $EM_CONF[$_EXTKEY] = array(
'version'
=>
'19.3.2'
,
'constraints'
=>
[
'depends'
=>
[
'typo3'
=>
'
6
.0.0-9.
2
.99'
,
'typo3'
=>
'
7
.0.0-9.
9
.99'
,
],
'conflicts'
=>
[],
'suggests'
=>
[],
...
...
extension/ext_tables.php
View file @
88d7cdf8
...
...
@@ -14,36 +14,3 @@ if (!defined('TYPO3_MODE')) {
'EXT:qfq/ext_icon.png'
);
/*
* The type name is generated by combining the extension key and plugin name, all lowercase and concatenated with `_'
*/
$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'
;
$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'
=>
'sparql'
,
'rows'
=>
100
]
]
]
);
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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