[TASK] Adopt layout of element "table" 55/28455/3
authorGeorg Ringer <georg.ringer@gmail.com>
Mon, 8 Sep 2014 16:23:47 +0000 (18:23 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 9 Sep 2014 08:44:14 +0000 (10:44 +0200)
The content element "table" is not configured as the other content
elements because the configuration of the TCA is overriden inside
EXT:css_styled_content again.
* Introduce the appearance tab
* Introduce the palettes for the tab access

Change-Id: I8f122ad9e13faac4d5126c421ebf966a555242cd
Resolves: #56972
Releases: 6.3
Reviewed-on: http://review.typo3.org/28455
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Jo Hasenau <info@cybercraft.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/css_styled_content/Configuration/TCA/Overrides/tt_content.php

index 7de325d..d7744bf 100644 (file)
@@ -4,9 +4,16 @@ defined('TYPO3_MODE') or die();
 // Add flexform
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('*', 'FILE:EXT:css_styled_content/flexform_ds.xml', 'table');
 
-$GLOBALS['TCA']['tt_content']['types']['table']['showitem'] = 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;4-4-4,
-                       --div--;LLL:EXT:cms/locallang_ttc.xlf:CType.I.5, layout;;10;;3-3-3, cols, bodytext;;9;nowrap:wizards[table], pi_flexform,
-                       --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access, starttime, endtime, fe_group';
+$GLOBALS['TCA']['tt_content']['types']['table']['showitem'] = '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.header;header,
+                               --div--;LLL:EXT:cms/locallang_ttc.xlf:CType.I.5, layout;;10;;3-3-3, cols, bodytext;;9;nowrap:wizards[table], pi_flexform,
+                               --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.frames;frames,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.table_layout;tablelayout,
+                               --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.extended';
 
 $GLOBALS['TCA']['tt_content']['columns']['section_frame']['config']['items'][0] = array(
        'LLL:EXT:css_styled_content/locallang_db.xlf:tt_content.tx_cssstyledcontent_section_frame.I.0', '0'