Commit 5f563034 authored by Carsten  Rose's avatar Carsten Rose

Merge remote-tracking branch 'origin/master'

parents d2085457 88d7cdf8
Pipeline #1827 passed with stage
in 1 minute and 59 seconds
<?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'],
],
];
<?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'],
],
];
<?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';
}
}
......@@ -15,7 +15,7 @@ $EM_CONF[$_EXTKEY] = array(
'version' => '19.5.0',
'constraints' => [
'depends' => [
'typo3' => '6.0.0-9.2.99',
'typo3' => '7.0.0-9.9.99',
],
'conflicts' => [],
'suggests' => [],
......
......@@ -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
Markdown is supported
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