TYPO3 CMS  TYPO3_6-2
backend_layout.php
Go to the documentation of this file.
1 <?php
2 return array(
3  'ctrl' => array(
4  'title' => 'LLL:EXT:cms/locallang_tca.xlf:backend_layout',
5  'label' => 'title',
6  'tstamp' => 'tstamp',
7  'crdate' => 'crdate',
8  'cruser_id' => 'cruser_id',
9  'versioningWS' => TRUE,
10  'origUid' => 't3_origuid',
11  'sortby' => 'sorting',
12  'delete' => 'deleted',
13  'enablecolumns' => array(
14  'disabled' => 'hidden'
15  ),
16  'iconfile' => 'backend_layout.gif',
17  'selicon_field' => 'icon',
18  'selicon_field_path' => 'uploads/media',
19  'thumbnail' => 'resources'
20  ),
21  'interface' => array(
22  'showRecordFieldList' => 'title,config,description,hidden,icon'
23  ),
24  'columns' => array(
25  'title' => array(
26  'label' => 'LLL:EXT:cms/locallang_tca.xlf:backend_layout.title',
27  'config' => array(
28  'type' => 'input',
29  'size' => '25',
30  'max' => '256',
31  'eval' => 'required'
32  )
33  ),
34  'description' => array(
35  'label' => 'LLL:EXT:cms/locallang_tca.xlf:backend_layout.description',
36  'config' => array(
37  'type' => 'text',
38  'rows' => '5',
39  'cols' => '25'
40  )
41  ),
42  'config' => array(
43  'label' => 'LLL:EXT:cms/locallang_tca.xlf:backend_layout.config',
44  'config' => array(
45  'type' => 'text',
46  'rows' => '5',
47  'cols' => '25',
48  'wizards' => array(
49  '_PADDING' => 4,
50  0 => array(
51  'title' => 'LLL:EXT:cms/locallang_tca.xlf:backend_layout.wizard',
52  'type' => 'popup',
53  'icon' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('cms') . 'layout/wizard_backend_layout.png',
54  'module' => array(
55  'name' => 'wizard_backend_layout'
56  ),
57  'JSopenParams' => 'height=800,width=800,status=0,menubar=0,scrollbars=0'
58  )
59  )
60  )
61  ),
62  'hidden' => array(
63  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
64  'exclude' => 1,
65  'config' => array(
66  'type' => 'check',
67  'default' => '0'
68  )
69  ),
70  'icon' => array(
71  'label' => 'LLL:EXT:cms/locallang_tca.xlf:backend_layout.icon',
72  'exclude' => 1,
73  'config' => array(
74  'type' => 'group',
75  'internal_type' => 'file',
76  'allowed' => 'jpg,gif,png',
77  'uploadfolder' => 'uploads/media',
78  'show_thumbs' => 1,
79  'size' => 1,
80  'maxitems' => 1
81  )
82  )
83  ),
84  'types' => array(
85  '1' => array('showitem' => 'hidden,title;;1;;2-2-2, icon, description, config')
86  )
87 );