editPopup¶
- editPopup¶
- Path
$GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl']
- Type
array
- Scope
fieldControl
- Types
The edit popup field control shows a pencil icon to edit an element directly in a popup window. When a record is selected and the edit button is clicked, that record opens in a new window for modification.
Note
The edit popup control is pre-configured, but disabled by default. Enable it if you need it, the button is by default shown below
element browser
andinsert clipboard
.
Options¶
- editPopup disabled¶
- Path
$GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl']['editPopup']
- Type
boolean
- Scope
fieldControl -> editPopup
- Default
true
Disables the field control. Needs to be set to
false
to enable the Create new button
- editPopup options[title]¶
- Path
$GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl']['editPopup']
- Type
string
- Scope
fieldControl -> editPopup
- Values
string or LLL reference
- Default
LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.edit
Allows to set a different 'title' attribute to the popup icon.
- editPopup options[windowOpenParameters]¶
- Path
$GLOBALS['TCA'][$table]['columns'][$field]['config']['fieldControl']['editPopup']
- Type
string
- Scope
fieldControl -> editPopup
- Values
string or LLL reference
- Default
height=800,width=600,status=0,menubar=0,scrollbars=1
Allows to set a different size of the popup, defaults
Examples¶
Select field¶

[
'columns' => [
'select_multiplesidebyside_6' => [
'label' => 'select_multiplesidebyside_6 fieldControl',
'config' => [
'type' => 'select',
'renderType' => 'selectMultipleSideBySide',
'foreign_table' => 'tx_styleguide_staticdata',
'size' => 5,
'autoSizeMax' => 20,
'fieldControl' => [
'editPopup' => [
'disabled' => false,
'options' => [
'windowOpenParameters' => 'height=300,width=500,status=0,menubar=0,scrollbars=1',
],
],
'addRecord' => [
'disabled' => false,
],
'listModule' => [
'disabled' => false,
],
],
],
],
],
]
Group field¶

[
'columns' => [
'group_db_1' => [
'label' => 'group_db_1 allowed=be_users,be_groups description',
'description' => 'field description',
'config' => [
'type' => 'group',
'allowed' => 'be_users,be_groups',
'fieldControl' => [
'editPopup' => [
'disabled' => false,
],
'addRecord' => [
'disabled' => false,
],
'listModule' => [
'disabled' => false,
],
],
],
],
],
]