linkPopup¶
- linkPopup¶
- Path
$GLOBALS['TCA'][$table]['columns'][$field]['config']
- Type
array
- Scope
fieldControl
- RenderTypes
inputLink
The link browser control is typically used with
type='input'
withrenderType='inputLink'
adding a button which opens a modal to select an internal link to a page, an external link or a mail address.Example:
'aField' => [ 'config' => [ 'fieldControl' => [ 'linkPopup' => [ 'options' => [ 'blindLinkOptions' => 'file,folder', ], ], ], ], ],
Options:
- allowedExtensions (string, list)
Comma separated list of allowed file extensions. By default, all extensions are allowed.
- blindLinkFields (string, list)
Comma separated list of link fields that should not be displayed. Possible values are
class
,params
,target
andtitle
. By default, all link fields are displayed.- blindLinkOptions (string, list)
Comma separated list of link options that should not be displayed. Possible values are
file
,folder
,mail
,page
,telephone
andurl
. By default, all link options are displayed.- title (string or LLL reference)
Allows to set a different 'title' attribute to the popup icon, defaults to
LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.link