Project

General

Profile

Actions

Feature #92903

closed

Add ability to use FlexForm fields in TCA showitems

Added by Jonas Eberle about 4 years ago. Updated over 3 years ago.

Status:
Rejected
Priority:
Could have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2020-11-22
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

It would be great to be able to arrange FlexForm fields in the editor interface as if they would be ordinary TCA columns.

This would remedy a disadvantage of FlexForms (limited backend interface possiblities) while keeping its advantage (a "simple" structured value store within only 1 database column).

This would make it possible to add FlexForm fields to their semantically correct place or mix them into a palette with existing fields.

A use case could be a plugin that allows selection of an output template - this field would be more suited near the existing "Layout" tab/palette than inside an arbitrary section "Plugin Data [pi_flexform]".

return [
  'types' => [
    '0' => [
      'showitem' => '
        --div--;the whole flexform,
          flex_column,
        --div--;a single field,
          flex_column.sDEF.input_1,
        --div--;palette,
          --palette--;;palette_1
      '
    ],
  ],
  'palettes' => [
    'palette_1' => [
      'label' => 'palette_1',
      'showitem' => 'header, flex_column.sDEF.input_1',
    ],
  ],
  'columns' => [
    'flex_column' => [
    'label' => 'FlexForm',
    'description' => 'field description',
    'config' => [
      'type' => 'flex',
      'ds' => [
        'default' => '
          <T3DataStructure>
            <ROOT>
              <sheets>
                <sDEF>
                  <el>
                    <input_1>
                      <TCEforms>
                        <label>input_1</label>
                        <config>
                          <type>input</type>
                        </config>
                      </TCEforms>
                    </input_1>
                  </el>
                </sDEF>
              <sheets>
            </ROOT>
          </T3DataStructure>'
      ],
    ],
  ]
];

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #75266: Flexform: Palettes for FlexformClosed2016-03-25

Actions
Actions #1

Updated by Gerrit Code Review about 4 years ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66814

Actions #2

Updated by Gerrit Code Review about 4 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66814

Actions #3

Updated by Gerrit Code Review about 4 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66814

Actions #4

Updated by Gerrit Code Review almost 4 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66814

Actions #5

Updated by Jonas Eberle almost 4 years ago

Actions #6

Updated by Christian Kuhn over 3 years ago

  • Status changed from Under Review to Rejected

rejected as discussed in gerrit.

Actions

Also available in: Atom PDF