[TASK] Add value picker for target field in page record 05/51605/3
authorGeorg Ringer <georg.ringer@gmail.com>
Thu, 9 Feb 2017 06:58:50 +0000 (07:58 +0100)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Thu, 9 Feb 2017 21:31:01 +0000 (22:31 +0100)
Make life of editors easier by providing a value picker for
the field 'target' of the page. An editor can now choose
"new window" instead of typing "_blank".

Resolves: #79705
Releases: master, 7.6
Change-Id: I43d0c5add037679ee7c99b6cf16efcd2079353fc
Reviewed-on: https://review.typo3.org/51605
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/core/Configuration/TCA/pages.php

index 2bcd031..c33a50c 100644 (file)
@@ -321,6 +321,11 @@ return [
                 'type' => 'input',
                 'size' => 50,
                 'max' => 80,
+                'valuePicker' => [
+                    'items' => [
+                        [ 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:target.I.1', '_blank' ],
+                    ],
+                ],
                 'eval' => 'trim'
             ]
         ],