belayoutwizard
This page describes the text type with
render.
The according database field is generated automatically.
The render is a special renderType to
display the backend layout wizard when editing records of table
backend_ in the backend. It is stored a custom
syntax representing the page layout in the database.
Table of contents:
Example: Backend layout editor
[
'columns' => [
'text_20' => [
'label' => 'text_20',
'description' => 'renderType=belayoutwizard',
'config' => [
'type' => 'text',
'renderType' => 'belayoutwizard',
'default' => '
backend_layout {
colCount = 2
rowCount = 2
rows {
1 {
columns {
1 {
name = Left
rowspan = 2
colPos = 1
}
2 {
name = Main
colPos = 0
}
}
}
2 {
columns {
1 {
name = Footer
colPos = 24
}
}
}
}
}',
],
],
],
]
Properties of the TCA column type text, render type belayoutwizard
| Name | Type | Scope |
|---|---|---|
| string | Display / Proc. | |
| array | ||
| array | ||
| array | ||
| boolean | Display |
default
-
- Type
- string
- Path
- $GLOBALS['TCA'][$table]['columns'][$field]['config']['default']
- Scope
- Display / Proc.
Default value set if a new record is created. If empty, no text-belayout gets selected.
fieldInformation
-
For details see fieldInformation.
fieldWizard
-
defaultLanguageDifferences
-
- Type
- array
- Path
- $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldWizard']['defaultLanguageDifferences']
For details see defaultLanguageDifferences.
localizationStateSelector
-
- Type
- array
- Path
- $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldWizard']['localizationStateSelector']
For details see localizationStateSelector.
otherLanguageContent
-
- Type
- array
- Path
- $GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldWizard']['otherLanguageContent']
For details see otherLanguageContent.
searchable
-
- Type
- boolean
- Path
- $GLOBALS['TCA'][$table]['columns'][$field]['config']['searchable']
- Scope
- Display
- Default
true
New in version 14.0
TYPO3 now automatically includes all fields of suitable types in backend search operations in the Content > Records module.
This option can be used to explicitly exclude fields from being searchable, instead of having to list them in the now removed option $GLOBALS['TCA'][$table]['ctrl']['searchFields'].
By default, all fields of type
textwith rendertypebelayoutwizardare considered searchable.To exclude a field from being searchable, set the following in the field's TCA configuration:
packages/my_extension/Configuration/TCA/Overrides/tx_my_table.php$GLOBALS['TCA']['tx_my_table']['columns']['my_field'] = [ 'label' => 'My field', 'config' => [ 'type' => 'text', 'renderType' => 'belayoutwizard', 'searchable' => false, ], ];Copied!