2.2
Content Blocks version 2.2 adds compatibility for TYPO3 v14.2.
Feature
Allowed Record Types for Page Types
A new option
allowed has been added for Page Types, which
allows you to define a set of Record Types (tables), that should be allowed
on this specific Page Type.
Example: Extending the default allowed values with custom ones.
allowedRecordTypes:
- pages
- sys_category
- sys_file_reference
- my_custom_table
Example: Allow all records with an asterisk:
allowedRecordTypes:
- *
Read more here.
Type specific label fields
The new Core feature #108581 - Record type specific label configuration is implemented in Content Blocks.
This new feature allows to define alernative label fields on a per type basis.
For example, if you define label or fallback in your
Content Element, this will now override the default header label field. You
can now also define different label fields for multi-type Records. Previously,
the first one found was used for all types.
Example: Content Element overrides global default label field header.
labelField: custom_field
Example: Multi Type Record with different label fields.
typeField: type
typeName: type1
labelField: field_1
typeField: type
typeName: type2
labelField: field_1
fallbackLabelFields:
- field_2
Page Creation Wizard Steps
The page creation wizard supports a dynamic configuration for its steps. This allows to define which fields are displayed in which step of the wizard.
Read the correspondig Core Changelog.
wizardSteps:
setup:
title: Setup
fields:
- title
- slug
- nav_title
- hidden
- nav_hide
special:
title: Special
fields:
- additional_field
after:
- setup
Page Type isViewable
A new option
is for Page Types is added to configure whether it
can be linked to in the page browser and in frontend TypoLink generation.