In TYPO3, is it possible to remove backend_layouts via page TSconfig that have been created with Mask extension.
Let's say, the following backend_layouts have been created with Mask (Name [ID]):
A [1]
B [2]
Then, I set the following in page TSconfig:
TCEFORM {
pages {
backend_layout {
removeItems = 1,2
}
}
}
Also with this configuration, backend_layouts 'A' and 'B' are still available in page edit form.
How could I remove backend_layouts from page edit form for single pages via page TSconfig?
Mask version: 2.1.1 (TYPO3 7.6.x)
If possible at all I would expect the layout names instead of numbers. Be aware that these names might have prefixes if the layout gets provided with a data-provider.
In the beginning (TYPO3 version < 6.2) the values for the fields
backend_layout
andbackend_layout_next_level
were numbers, as they referenced records of the tablebackend_layout
.But then the possibility to define BE-Layouts in TSconfig was introduced (data-provider). And for unique identification the field was changed to text (
varchar
) and the layouts defined by TSconfig get a automatic prefixpagets_
(prefix to the name defined in the TSconfig).Adding or removing single options from a select can be done for selects based on static options in the TCA.
Dynamic selects (e.g. based on records) probably needs a 'wizard' to filter entries.
trying the reverse:
if you can define your backend_layouts in TSconfig it would be easy to drop some definitions in special trees.