From 4107e8793ae3545899425d20328012099b30e469 Mon Sep 17 00:00:00 2001 From: Benni Mack <benni@typo3.org> Date: Fri, 13 Dec 2019 23:21:30 +0100 Subject: [PATCH] [TASK] Move target to general tab for pages of type External URL To increase usability for editors when using External URL links, the "target" field is moved right below the "Target URL" field. In addition the Target URL field has an increased size, to match the others. Resolves: #79317 Releases: master Change-Id: I9aec38780713df006f98be370e4fadd5c61118aa Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62633 Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Riccardo De Contardi <erredeco@gmail.com> Tested-by: Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by: Riccardo De Contardi <erredeco@gmail.com> Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de> --- typo3/sysext/core/Configuration/TCA/pages.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/typo3/sysext/core/Configuration/TCA/pages.php b/typo3/sysext/core/Configuration/TCA/pages.php index bc52c3efa3c0..d4be891b22a1 100644 --- a/typo3/sysext/core/Configuration/TCA/pages.php +++ b/typo3/sysext/core/Configuration/TCA/pages.php @@ -430,7 +430,7 @@ return [ 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.url', 'config' => [ 'type' => 'input', - 'size' => 23, + 'size' => 50, 'max' => 255, 'eval' => 'trim,required', 'softref' => 'url', @@ -943,7 +943,6 @@ return [ --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.tabs.appearance, --palette--;;layout, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.tabs.behaviour, - --palette--;;links, --palette--;;miscellaneous, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.tabs.resources, --palette--;;media, @@ -1121,7 +1120,7 @@ return [ 'showitem' => 'mount_pid;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.mount_pid_formlabel', ], 'external' => [ - 'showitem' => 'url;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.url_formlabel', + 'showitem' => 'url;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.url_formlabel, target', ], 'title' => [ 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.title', -- GitLab