Skip to content

Hide Nested Content Elements in List View #397

@nhovratov

Description

@nhovratov

Content Blocks has a feature called "Nested Content Elements" which makes in possible to nest Content Elements, while the Child-Elements are hidden in the Page View and are not rendered twice in the Frontend.

There is still one place, which doesn't hide them: List View.

This can be confusing, as it doesn't reflect the elements in the Page View, especially for Editors. They might delete them, thinking these are wrong.

It would be possible to generally hide them with existing Content Blocks API and an PSR-14 Event in TYPO3. However, there are cases in which it is desired to list those nested elements in the List View. For example there is an Accordion Element and the child items should be link-able. If we would hide those items, it wouldn't be possible anymore to select them in the Link Wizard. An idea would be to allow an opt-out of this new default behavior via a property in the Collection FieldType.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions