Project

General

Profile

Actions

Task #78383

closed

TCA: Streamline field order and position for recurring fields

Added by Daniel Windloff over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend User Interface
Target version:
-
Start date:
2016-10-23
Due date:
% Done:

100%

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

Description

User story

When I edit a record, I would like to have the same options on similar places. So I have a chance to have a valid expectation where to find the option.

Description of the issue

In T3 there are some recurring field definitions shared by a lot of records (core records and extension records). These fields are mostly defined in TCA[‘crtl’]- e.g. disabled, descriptionColumn. These fields should have a standard position and order.

Example Field enablecolumns.disabled

Record Tab Field position
Page Access Visibility – Page - Disable
Backendusergroup General Disable
Backenduser General Disable
Webseite language Access Disable
Action Access Deactivated
System News General Disable
Scheduler task group --- Disable
Template General Disable
Content element Access Visibility – Content Element - Disable
Website User General Disable
Backend layout Access Disable:
Domain --- Disable
Alternative Page Language Access Visiblity – Page - Disable
Category General Hide (next to Language in palette)
Record Collection General Hide (next to Language in palette)
Abbreviation --- Hide

Suggested solution

Streamline the field order and position for all core records. Add missing fields where necessary. Document the order and position to encourage extension authors to change the field order accordingly.

Suggested field order and position

Legend: / means palette

Tab: General (must be the first tab)

  • type / (main sub selection e.g. colPos)
  • label / (label specific options)
  • label_alt (in case these fields are related to the label)

Other tabs defined by the specific record

Tab: Language

  • language_field / transOrigPointerField
  • other language or translation related options

Tab: Access

  • disabled / (hide in menu)
  • starttime / endtime
  • fe_group / fe_admin_lock
  • adminlock
  • other access related options

Tab: Categories

  • categories (not to select parent categories; only to categorize a record)

Tab: Notes

  • descriptionColumn

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #79901: Add missing documentation of field positions in tabs in BEClosed2017-02-19

Actions
Related to TYPO3 Core - Bug #83974: Miscellaneous palette in pages table has invalid showitem stringClosedArmin Vieweg2018-02-20

Actions
Actions #1

Updated by Jo Hasenau over 7 years ago

  • Description updated (diff)
Actions #2

Updated by Jo Hasenau over 7 years ago

  • Status changed from New to Accepted
Actions #3

Updated by Frans Saris over 7 years ago

Somekind of API to add these fields to your own TCA would be great. That would help all extension authors and make it much easier to streamline the backed and also to customize it again. 1 place that defines the configuration of all the general fields, pallettes and tabs + column order and search.

Actions #4

Updated by Daniel Windloff over 7 years ago

Yes, it's nasty to write on every own extension table the same configuration etc. It would be a good starting point for an API to benefit the situation.

I would suggest applying changes in the following order:

  1. Streamline core fields order and position
  2. Document field position and order
  3. Add a (misused) unit/functional test or something else to ensure the position and order for core records in the future
  4. Introduce an API to make it easy to add those fields consistently
Actions #5

Updated by Gerrit Code Review over 7 years ago

  • Status changed from Accepted to Under Review

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

Actions #6

Updated by Gerrit Code Review over 7 years ago

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/50364

Actions #7

Updated by Gerrit Code Review over 7 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/50364

Actions #8

Updated by Gerrit Code Review over 7 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/50364

Actions #9

Updated by Gerrit Code Review over 7 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/50364

Actions #10

Updated by Gerrit Code Review over 7 years ago

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

Actions #11

Updated by Gerrit Code Review over 7 years ago

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

Actions #12

Updated by Gerrit Code Review over 7 years ago

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

Actions #13

Updated by Daniel Windloff over 7 years ago

Hi,

I had a proposal on gerrit. The main difference I made is the movement of the language related fields (in comperison to tt_content or page).
I think it is not longer necessary to have them in the first tab, as the translation is mainly done by wizards and the current (language) status is also avaliable through the module menu.

Best regards,
Daniel

Actions #14

Updated by Gerrit Code Review over 7 years ago

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

Actions #15

Updated by Gerrit Code Review over 7 years ago

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

Actions #16

Updated by Gerrit Code Review over 7 years ago

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

Actions #17

Updated by Gerrit Code Review over 7 years ago

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

Actions #18

Updated by Gerrit Code Review over 7 years ago

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

Actions #19

Updated by Gerrit Code Review over 7 years ago

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

Actions #20

Updated by Gerrit Code Review over 7 years ago

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

Actions #21

Updated by Gerrit Code Review over 7 years ago

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

Actions #22

Updated by Gerrit Code Review over 7 years ago

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

Actions #23

Updated by Gerrit Code Review over 7 years ago

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

Actions #24

Updated by Gerrit Code Review over 7 years ago

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

Actions #25

Updated by Gerrit Code Review over 7 years ago

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

Actions #26

Updated by Gerrit Code Review over 7 years ago

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

Actions #27

Updated by Gerrit Code Review over 7 years ago

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

Actions #28

Updated by Daniel Windloff over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #29

Updated by Christian Kuhn about 6 years ago

  • Related to Bug #83974: Miscellaneous palette in pages table has invalid showitem string added
Actions #30

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF