TYPO3 CMS  TYPO3_7-6
pages.php
Go to the documentation of this file.
1 <?php
2 
3 // Show copied pages records in frontend request
4 $GLOBALS['TCA']['pages']['ctrl']['hideAtCopy'] = false;
5 
7  'pages',
8  [
9  'tx_irretutorial_hotels' => [
10  'exclude' => 1,
11  'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:pages.tx_irretutorial_hotels',
12  'config' => [
13  'type' => 'inline',
14  'foreign_table' => 'tx_irretutorial_1nff_hotel',
15  'foreign_field' => 'parentid',
16  'foreign_table_field' => 'parenttable',
17  'maxitems' => 10,
18  'appearance' => [
19  'showSynchronizationLink' => 1,
20  'showAllLocalizationLink' => 1,
21  'showPossibleLocalizationRecords' => 1,
22  'showRemovedLocalizationRecords' => 1,
23  ],
24  'behaviour' => [
25  'localizationMode' => 'select',
26  ],
27  ]
28  ],
29  ]
30 );
31 
33  'pages',
34  '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:pages.doktype.div.irre, tx_irretutorial_hotels'
35 );
static addTCAcolumns($table, $columnArray, $addTofeInterface=false)
static addToAllTCAtypes($table, $newFieldsString, $typeList='', $position='')
$GLOBALS['TCA']['pages']['ctrl']['hideAtCopy']
Definition: pages.php:4