Project

General

Profile

Bug #24113 ยป be_layout.patch

Administrator Admin, 2010-11-17 19:54

View differences:

t3lib/stddb/tbl_pages.php (working copy)
),
),
),
'be_layout' => array (
'be_layout' => array(
'exclude' => 1,
'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.be_layout',
'config' => array (
'config' => array(
'type' => 'select',
'foreign_table' => 'be_layouts',
'foreign_table_where' => 'AND ( ( ###PAGE_TSCONFIG_ID### = 0 AND ###STORAGE_PID### = 0 ) OR ( be_layouts.pid = ###PAGE_TSCONFIG_ID### OR be_layouts.pid = ###STORAGE_PID### ) ) AND be_layouts.hidden = 0',
'items' => array (
array ('', 0),
array ('none', -1)
'items' => array(
array('', 0),
),
'selicon_cols' => 5,
'size' => 1,
......
'default' => ''
)
),
'be_layout_next_level' => array (
'be_layout_next_level' => array(
'exclude' => 1,
'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.be_layout_next_level',
'config' => array (
'config' => array(
'type' => 'select',
'foreign_table' => 'be_layouts',
'foreign_table_where' => 'AND ( ( ###PAGE_TSCONFIG_ID### = 0 AND ###STORAGE_PID### = 0 ) OR ( be_layouts.pid = ###PAGE_TSCONFIG_ID### OR be_layouts.pid = ###STORAGE_PID### ) ) AND be_layouts.hidden = 0',
'items' => array (
array ('', 0),
array ('none', -1)
'items' => array(
array('', 0),
),
'selicon_cols' => 5,
'size' => 1,
typo3/sysext/cms/ext_tables.php (working copy)
// ******************************************************************
// layouts
// ******************************************************************
$TCA['be_layouts'] = array (
'ctrl' => array (
$TCA['be_layouts'] = array(
'ctrl' => array(
'title' => 'LLL:EXT:cms/locallang_tca.xml:be_layouts',
'label' => 'title',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'rootLevel' => -1,
'versioningWS' => TRUE,
'origUid' => 't3_origuid',
'sortby' => 'sorting',
'delete' => 'deleted',
'enablecolumns' => array (
'enablecolumns' => array(
'disabled' => 'hidden',
),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php',
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tbl_cms.php',
'iconfile' => 'be_layout.gif',
'selicon_field' => 'icon',
'selicon_field_path' => 'uploads/media',
typo3/sysext/cms/tbl_cms.php (working copy)
'type' => 'text',
'rows' => '5',
'cols' => '25',
'wizards' => Array(
'wizards' => array(
'_PADDING' => 4,
0 => Array(
0 => array(
'title' => 'LLL:EXT:cms/locallang_tca.xml:be_layouts.wizard',
'type' => 'popup',
'icon' => t3lib_extMgm::extRelPath('cms').'layout/wizard_be_layout.png',
    (1-1/1)