Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

1 unresolved comment The owner has to answer or resolve it. Show the first one

Review main Work in progress

98094[WIP][FEATURE] Add TCA type "grid" for nested content

Benjamin Franzke CR 0 V -1 Nightmare +3089 −114 updated 11/27/26, 08:55

Commit message

A field of the new TCA type "grid" turns a content element into a
container for other content elements. Containers are configured in TCA
alone, there is no separate registration API: a content type becomes a
container by adding grid fields to its "showitem".

The children are tt_content records referencing their container via the
new columns "grid_parent" and "grid_parent_field". The column "colPos"
becomes nullable: children of a grid field without layout have no
column, children of a grid field with a "layout" (rows and columns like
a backend layout) carry the colPos of their column.

The DataHandler treats a grid field like an inline field, so copy,
move, delete, localization and workspaces work for whole containers.
Sorting applies per container and field.

The page module renders container fields as nested grids, reusing the
grid, row and column objects of backend layouts. Drag and drop, paste
and the new content element wizard work with container columns, and
allowedContentTypes, disallowedContentTypes and maxitems are respected.
In the frontend, the Record API resolves a grid field to a ContentArea,
rendered with f:render.contentArea.

EXT:styleguide and the theme "Camino" get container examples.

This feature builds on the concepts of EXT:gridelements and
EXT:container. Thanks to everyone who created and maintained them,
bringing nested content elements to TYPO3 for many years.
Show more Show less

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/94/98094/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/94/98094/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V -1 Blocked
    • core-ci -1 CI

Relation chain 2

  1. 98094 [WIP][FEATURE] Add TCA type "grid" for nested content This change

  2. 98093[WIP][BUGFIX] Respect nullable for static select fields This change is based on it Benjamin Franzke → main, 14.3 Normal +94 −6 CR 0 V 0 Work in progress

Issues 1

Files 92

Show 72 more files Show less

Review log 23

  1. Benjamin Franzke uploaded patch set 1 11/27/26, 08:41

  2. Benjamin Franzke commented on patch set 1 11/27/26, 08:55

    Unresolved

    Disclaimer: This is an AI generated demo, I mainly wanted to outline the idea to use a designated TCA type for nested content and deriving "everything" else from it, making nested content work similar to TCA type inline or type file.
  3. core-ci voted on patch set 1 V -1 11/27/26, 08:55 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115681