‪TYPO3CMS  9.5
tt_content.php
Go to the documentation of this file.
1 <?php
2 
3 // Show copied tt_content records in frontend request
4 ‪$GLOBALS['TCA']['tt_content']['ctrl']['hideAtCopy'] = false;
5 
6 ‪$GLOBALS['TCA']['tt_content']['ctrl']['shadowColumnsForNewPlaceholders'] .= ',tx_irretutorial_1ncsv_hotels';
7 ‪$GLOBALS['TCA']['tt_content']['ctrl']['shadowColumnsForMovePlaceholders'] .= ',tx_irretutorial_1ncsv_hotels';
8 
10  'tt_content',
11  [
12  'tx_irretutorial_1nff_hotels' => [
13  'exclude' => true,
14  'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tt_content.tx_irretutorial_1nff_hotels',
15  'config' => [
16  'type' => 'inline',
17  'foreign_table' => 'tx_irretutorial_1nff_hotel',
18  'foreign_field' => 'parentid',
19  'foreign_table_field' => 'parenttable',
20  'maxitems' => 10,
21  'appearance' => [
22  'showSynchronizationLink' => 1,
23  'showAllLocalizationLink' => 1,
24  'showPossibleLocalizationRecords' => 1,
25  'showRemovedLocalizationRecords' => 1,
26  ],
27  ]
28  ],
29  'tx_irretutorial_1ncsv_hotels' => [
30  'exclude' => true,
31  'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tt_content.tx_irretutorial_1ncsv_hotels',
32  'config' => [
33  'type' => 'inline',
34  'foreign_table' => 'tx_irretutorial_1ncsv_hotel',
35  'maxitems' => 10,
36  'appearance' => [
37  'showSynchronizationLink' => 1,
38  'showAllLocalizationLink' => 1,
39  'showPossibleLocalizationRecords' => 1,
40  'showRemovedLocalizationRecords' => 1,
41  ],
42  'default' => '',
43  ]
44  ],
45  'tx_irretutorial_flexform' => [
46  'exclude' => true,
47  'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tt_content.tx_irretutorial_flexform',
48  'config' => [
49  'type' => 'flex',
50  'ds' => [
51  'default' => 'FILE:EXT:irre_tutorial/Configuration/FlexForms/tt_content_flexform.xml',
52  ],
53  'default' => '',
54  ]
55  ],
56  ]
57 );
58 
60  'tt_content',
61  '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tt_content.div.irre, tx_irretutorial_1nff_hotels, tx_irretutorial_1ncsv_hotels, tx_irretutorial_flexform'
62 );
‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility\addToAllTCAtypes
‪static addToAllTCAtypes($table, $newFieldsString, $typeList='', $position='')
Definition: ExtensionManagementUtility.php:281
‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility\addTCAcolumns
‪static addTCAcolumns($table, $columnArray)
Definition: ExtensionManagementUtility.php:260
‪$GLOBALS
‪$GLOBALS['TCA']['tt_content']['ctrl']['hideAtCopy']
Definition: tt_content.php:4