Commit 9c7b57d8 authored by Henri Nathanson's avatar Henri Nathanson

handle TCA migrations on TYPO3 v9.5

parent db4cbf2d
Pipeline #45 failed with stages
......@@ -101,8 +101,8 @@ return [
'label' => $generalLabelsPrefix . 'starttime',
'config' => [
'type' => 'input',
'renderType' => 'inputDateTime',
'size' => 8,
'max' => 20,
'eval' => 'date',
'checkbox' => 0,
'default' => 0,
......@@ -113,8 +113,8 @@ return [
'label' => $generalLabelsPrefix . 'endtime',
'config' => [
'type' => 'input',
'renderType' => 'inputDateTime',
'size' => 8,
'max' => 20,
'eval' => 'date',
'checkbox' => 0,
'default' => 0,
......@@ -138,54 +138,44 @@ return [
'label' => $localisationFilePath . 'tx_content_replacer_term.category_uid',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'internal_type' => 'db',
'allowed' => 'tx_content_replacer_category',
'renderType' => 'selectMultipleSideBySide',
'enableMultiSelectFilterTextfield' => true,
'foreign_table' => 'tx_content_replacer_category',
'items' => [
['', 0],
],
'size' => 1,
'minitems' => 1,
'size' => 10,
'maxitems' => 1,
'eval' => 'required',
'wizards' => [
'_VERTICAL' => 1,
'_PADDING' => 1,
'add' => [
'type' => 'script',
'title' => 'Creation of a new category!',
'icon' => 'actions-add',
'params' => [
'table' => 'tx_content_replacer_category',
'fieldControl' => [
'addRecord' => [
'disabled' => FALSE,
'options' => [
'pid' => '###CURRENT_PID###',
'setValue' => 'prepend'
'setValue' => 'prepend',
'table' => 'tx_content_replacer_category',
'title' => 'Creation of a new category!',
],
'module' => [
'name' => 'wizard_add'
]
],
],
],
],
'stdWrap' => [
'l10n_mode' => 'mergeIfNotBlank',
'label' => $localisationFilePath . 'tx_content_replacer_term.stdWrap',
'config' => [
'type' => 'input',
'size' => 40,
'max' => 256,
'eval' => 'trim',
'behaviour' => [
'allowLanguageSynchronization' => TRUE,
]
],
],
'replacement' => [
'label' => $localisationFilePath . 'tx_content_replacer_term.replacement',
'config' => [
'type' => 'text',
'enableRichtext' => TRUE,
'cols' => 40,
'rows' => 3,
],
'defaultExtras' => 'richtext[*]:rte_transform[mode=ts_css|imgpath=uploads/tx_content_parser/rte/]'
],
'description' => [
'exclude' => TRUE,
......
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