editPopup

editPopup
Type:array
Scope:fieldControl
Types:group

The edit popup field control gives a shortcut to edit referenced elements directly a popup. 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 and insert clipboard.

Options

disabled
Type:boolean
Scope:fieldControl -> editPopup
Default:true

Disables the field control. Needs to be set to false to enable the Create new button

options[title]
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.

options[windowOpenParameters]
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

../../../_images/SelectMultiplesidebyside6.png
'columns' => [
    'select_multiplesidebyside_6' => [
        'exclude' => 1,
        '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

../../../_images/GroupDb1.png
'columns' => [
    'group_db_1' => [
        'exclude' => 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,
                ],
            ],
        ],
    ],
]