📄 ext_tables.php
字号:
'label' => 'LLL:EXT:lang/locallang_general.php:LGL.keywords', 'config' => Array ( 'type' => 'text', 'cols' => '40', 'rows' => '3' ) ), 'description' => Array ( 'exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.description', 'config' => Array ( 'type' => 'input', 'size' => '40', 'eval' => 'trim' ) ), 'abstract' => Array ( 'exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.abstract', 'config' => Array ( 'type' => 'text', 'cols' => '40', 'rows' => '3' ) ), 'author' => Array ( 'exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.author', 'config' => Array ( 'type' => 'input', 'size' => '20', 'eval' => 'trim', 'max' => '80' ) ), 'author_email' => Array ( 'exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.email', 'config' => Array ( 'type' => 'input', 'size' => '20', 'eval' => 'trim', 'max' => '80', 'softref' => 'email[subst]' ) ), 'media' => Array ( 'exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.media', 'config' => Array ( 'type' => 'group', 'internal_type' => 'file', 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'].',html,htm,ttf,txt,css', 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'], 'uploadfolder' => 'uploads/media', 'show_thumbs' => '1', 'size' => '3', 'maxitems' => '5', 'minitems' => '0' ) ), 'is_siteroot' => Array ( 'exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.is_siteroot', 'config' => Array ( 'type' => 'check' ) ), 'mount_pid_ol' => Array ( 'exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.mount_pid_ol', 'config' => Array ( 'type' => 'check' ) ), 'module' => Array ( 'exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.module', 'config' => Array ( 'type' => 'select', 'items' => Array ( Array('', ''), Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.1', 'shop'), Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.2', 'board'), Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.3', 'news'), Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.4', 'fe_users'), Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.6', 'approve') ), 'default' => '' ) ), 'fe_login_mode' => Array ( 'exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.fe_login_mode', 'config' => Array ( 'type' => 'select', 'items' => Array ( Array('', 0), Array('LLL:EXT:cms/locallang_tca.php:pages.fe_login_mode.disable', 1), Array('LLL:EXT:cms/locallang_tca.php:pages.fe_login_mode.enable', 2), ) ) ), 'l18n_cfg' => Array ( 'exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.php:pages.l18n_cfg', 'config' => Array ( 'type' => 'check', 'items' => Array ( Array('LLL:EXT:cms/locallang_tca.php:pages.l18n_cfg.I.1', ''), Array($GLOBALS['TYPO3_CONF_VARS']['FE']['hidePagesIfNotTranslatedByDefault'] ? 'LLL:EXT:cms/locallang_tca.php:pages.l18n_cfg.I.2a' : 'LLL:EXT:cms/locallang_tca.php:pages.l18n_cfg.I.2', ''), ), ) ), )); // Add columns to info-display list. $TCA['pages']['interface']['showRecordFieldList'].=',alias,hidden,starttime,endtime,fe_group,url,target,no_cache,shortcut,keywords,description,abstract,newUntil,lastUpdated,cache_timeout'; // Setting main palette $TCA['pages']['ctrl']['mainpalette']='1,15'; // Totally overriding all type-settings: $TCA['pages']['types'] = Array ( '1' => Array('showitem' => 'hidden;;;;1-1-1, doktype;;2;button, title;;3;;2-2-2, subtitle, nav_hide, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg'), '2' => Array('showitem' => 'hidden;;;;1-1-1, doktype;;2;button, title;;3;;2-2-2, subtitle, nav_hide, nav_title, --div--, abstract;;5;;3-3-3, keywords, description, media;;;;4-4-4, --div--, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg, fe_login_mode, module, content_from_pid'), '3' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;3;;2-2-2, subtitle, nav_hide, url;;;;3-3-3, urltype, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg'), '4' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;3;;2-2-2, subtitle, nav_hide, shortcut;;;;3-3-3, shortcut_mode, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg'), '5' => Array('showitem' => 'hidden;;;;1-1-1, doktype;;2;button, title;;3;;2-2-2, subtitle, nav_hide, nav_title, --div--, media;;;;4-4-4, --div--, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg, fe_login_mode, module, content_from_pid'), '7' => Array('showitem' => 'hidden;;;;1-1-1, doktype;;2;button, title;;3;;2-2-2, subtitle, nav_hide, nav_title, --div--, mount_pid;;;;3-3-3, mount_pid_ol, media;;;;4-4-4, --div--, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg, fe_login_mode, module, content_from_pid'), '199' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;;;2-2-2, TSconfig;;6;nowrap;5-5-5, storage_pid;;7'), '254' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;LLL:EXT:lang/locallang_general.php:LGL.title;;;2-2-2, --div--, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, module'), '255' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;;;2-2-2') ); // Merging palette settings: // t3lib_div::array_merge() MUST be used - otherwise the keys will be re-numbered! $TCA['pages']['palettes'] = t3lib_div::array_merge($TCA['pages']['palettes'],Array( '1' => Array('showitem' => 'starttime,endtime,extendToSubpages'), '15' => Array('showitem' => 'fe_group'), '2' => Array('showitem' => 'layout, lastUpdated, newUntil, no_search'), '3' => Array('showitem' => 'alias, target, no_cache, cache_timeout'), '5' => Array('showitem' => 'author,author_email'), ));// ******************************************************************// This is the standard TypoScript content table, tt_content// ******************************************************************$TCA['tt_content'] = Array ( 'ctrl' => Array ( 'label' => 'header', 'label_alt' => 'subheader,bodytext', 'sortby' => 'sorting', 'tstamp' => 'tstamp', 'title' => 'LLL:EXT:cms/locallang_tca.php:tt_content', 'delete' => 'deleted', 'versioningWS' => TRUE, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'type' => 'CType', 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy', 'copyAfterDuplFields' => 'colPos,sys_language_uid', 'useColumnsForDefaultValues' => 'colPos,sys_language_uid', 'shadowColumnsForNewPlaceholders' => 'colPos', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'languageField' => 'sys_language_uid', 'enablecolumns' => Array ( 'disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime', 'fe_group' => 'fe_group', ), 'typeicon_column' => 'CType', 'typeicons' => Array ( 'header' => 'tt_content_header.gif', 'textpic' => 'tt_content_textpic.gif', 'image' => 'tt_content_image.gif', 'bullets' => 'tt_content_bullets.gif', 'table' => 'tt_content_table.gif', 'splash' => 'tt_content_news.gif', 'uploads' => 'tt_content_uploads.gif', 'multimedia' => 'tt_content_mm.gif', 'menu' => 'tt_content_menu.gif', 'list' => 'tt_content_list.gif', 'mailform' => 'tt_content_form.gif', 'search' => 'tt_content_search.gif', 'login' => 'tt_content_login.gif', 'shortcut' => 'tt_content_shortcut.gif', 'script' => 'tt_content_script.gif', 'div' => 'tt_content_div.gif', 'html' => 'tt_content_html.gif' ), 'mainpalette' => '1,15', 'thumbnail' => 'image', 'requestUpdate' => 'list_type', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_tt_content.php' ));// ******************************************************************// fe_users// ******************************************************************$TCA['fe_users'] = Array ( 'ctrl' => Array ( 'label' => 'username', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'fe_cruser_id' => 'fe_cruser_id', 'title' => 'LLL:EXT:cms/locallang_tca.php:fe_users', 'delete' => 'deleted', 'mainpalette' => '1', 'enablecolumns' => Array ( 'disabled' => 'disable', 'starttime' => 'starttime', 'endtime' => 'endtime' ), 'useColumnsForDefaultValues' => 'usergroup,lockToDomain,disable,starttime,endtime', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php' ), 'feInterface' => Array ( 'fe_admin_fieldList' => 'username,password,usergroup,name,address,telephone,fax,email,title,zip,city,country,www,company', ));// ******************************************************************// fe_groups// ******************************************************************$TCA['fe_groups'] = Array ( 'ctrl' => Array ( 'label' => 'title', 'tstamp' => 'tstamp', 'delete' => 'deleted', 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy', 'enablecolumns' => Array ( 'disabled' => 'hidden' ), 'title' => 'LLL:EXT:cms/locallang_tca.php:fe_groups', 'useColumnsForDefaultValues' => 'lockToDomain', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php' ));// ******************************************************************// sys_domain// ******************************************************************$TCA['sys_domain'] = Array ( 'ctrl' => Array ( 'label' => 'domainName', 'tstamp' => 'tstamp', 'sortby' => 'sorting', 'title' => 'LLL:EXT:cms/locallang_tca.php:sys_domain', 'iconfile' => 'domain.gif', 'enablecolumns' => Array ( 'disabled' => 'hidden' ), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php' ));// ******************************************************************// pages_language_overlay// ******************************************************************$TCA['pages_language_overlay'] = Array ( 'ctrl' => Array ( 'label' => 'title', 'tstamp' => 'tstamp', 'title' => 'LLL:EXT:cms/locallang_tca.php:pages_language_overlay', 'versioningWS' => TRUE, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'delete' => 'deleted', 'enablecolumns' => Array ( 'disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime' ), 'transOrigPointerField' => 'pid', 'transOrigPointerTable' => 'pages', 'transOrigDiffSourceField' => 'l18n_diffsource', 'shadowColumnsForNewPlaceholders' => 'title', 'languageField' => 'sys_language_uid', 'mainpalette' => 1, 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php' ));// ******************************************************************// sys_template// ******************************************************************$TCA['sys_template'] = Array ( 'ctrl' => Array ( 'label' => 'title', 'tstamp' => 'tstamp', 'sortby' => 'sorting', 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy', 'title' => 'LLL:EXT:cms/locallang_tca.php:sys_template', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'delete' => 'deleted', 'adminOnly' => 1, // Only admin, if any 'iconfile' => 'template.gif', 'thumbnail' => 'resources', 'enablecolumns' => Array ( 'disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime' ), 'typeicon_column' => 'root', 'typeicons' => Array ( '0' => 'template_add.gif' ), 'mainpalette' => '1', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php' ));// ******************************************************************// static_template// ******************************************************************$TCA['static_template'] = Array ( 'ctrl' => Array ( 'label' => 'title', 'tstamp' => 'tstamp', 'title' => 'LLL:EXT:cms/locallang_tca.php:static_template', 'readOnly' => 1, // This should always be true, as it prevents the static templates from being altered 'adminOnly' => 1, // Only admin, if any 'rootLevel' => 1, 'is_static' => 1, 'default_sortby' => 'ORDER BY title', 'crdate' => 'crdate', 'iconfile' => 'template_standard.gif', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php' ));?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -