[BUGFIX] Add l18n_parent to tt_content TCA 54/29054/2
authorAlexander Bigga <linux@bigga.de>
Tue, 1 Apr 2014 20:06:44 +0000 (22:06 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Sat, 3 May 2014 09:15:32 +0000 (11:15 +0200)
If an editor ignores the "Copy default content elements"-button, it is
not possible to get a new content element in the alternative language
related to it's parent.

The existing l18n_parent field is never shown. This seems to be a bug
which was introduced in TYPO3 4.5 and exists up to now.

The patch adds the l18n_parent field to the general tab.

Resolves: #26709
Releases: 6.2
Change-Id: Id5f171cd4d1a6441cb58123aaa2b9bd337271556
Reviewed-on: https://review.typo3.org/29054
Reviewed-by: Frans Saris
Reviewed-by: Nadir S.
Tested-by: Nadir S.
Reviewed-by: Sascha Wilking
Tested-by: Sascha Wilking
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/frontend/Configuration/TCA/tt_content.php

index dbd9905..9935f4a 100644 (file)
@@ -1891,7 +1891,7 @@ return array(
                        'showitem' => 'sys_language_uid, l18n_parent, colPos'
                ),
                'general' => array(
-                       'showitem' => 'CType;LLL:EXT:cms/locallang_ttc.xlf:CType_formlabel, colPos;LLL:EXT:cms/locallang_ttc.xlf:colPos_formlabel, sys_language_uid;LLL:EXT:cms/locallang_ttc.xlf:sys_language_uid_formlabel',
+                       'showitem' => 'CType;LLL:EXT:cms/locallang_ttc.xlf:CType_formlabel, colPos;LLL:EXT:cms/locallang_ttc.xlf:colPos_formlabel, sys_language_uid;LLL:EXT:cms/locallang_ttc.xlf:sys_language_uid_formlabel, --linebreak--, l18n_parent',
                        'canNotCollapse' => 1
                ),
                'header' => array(