本文整理汇总了PHP中TYPO3\CMS\Core\Extension\ExtensionManager::addCoreNavigationComponent方法的典型用法代码示例。如果您正苦于以下问题:PHP ExtensionManager::addCoreNavigationComponent方法的具体用法?PHP ExtensionManager::addCoreNavigationComponent怎么用?PHP ExtensionManager::addCoreNavigationComponent使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TYPO3\CMS\Core\Extension\ExtensionManager
的用法示例。
在下文中一共展示了ExtensionManager::addCoreNavigationComponent方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
* Holds news records to be displayed in the login screen
* This is only the 'header' part (ctrl). The full configuration is found
* in t3lib/stddb/tbl_be.php
*/
$TCA['sys_news'] = array('ctrl' => array('title' => 'LLL:EXT:lang/locallang_tca.xml:sys_news', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'adminOnly' => TRUE, 'rootLevel' => TRUE, 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'default_sortby' => 'crdate DESC', 'typeicon_classes' => array('default' => 'mimetypes-x-sys_news'), 'dynamicConfigFile' => 'T3LIB:tbl_be.php', 'dividers2tabs' => TRUE));
/**
* $TBE_MODULES contains the structure of the backend modules as they are
* arranged in main- and sub-modules. Every entry in this array represents a
* menu item on either first (key) or second level (value from list) in the
* left menu in the TYPO3 backend
* For information about adding modules to TYPO3 you should consult the
* documentation found in "Inside TYPO3"
*/
$TBE_MODULES = array('web' => 'list', 'file' => '', 'user' => '', 'tools' => '', 'help' => '');
// Register the pagetree core navigation component
\TYPO3\CMS\Core\Extension\ExtensionManager::addCoreNavigationComponent('web', 'typo3-pagetree');
/**
* $TBE_STYLES configures backend styles and colors; Basically this contains
* all the values that can be used to create new skins for TYPO3.
* For information about making skins to TYPO3 you should consult the
* documentation found in "Inside TYPO3"
*/
$TBE_STYLES = array('colorschemes' => array('0' => '#E4E0DB,#CBC7C3,#EDE9E5'), 'borderschemes' => array('0' => array('border:solid 1px black;', 5)));
/**
* Setting up $TCA_DESCR - Context Sensitive Help (CSH)
* For information about using the CSH API in TYPO3 you should consult the
* documentation found in "Inside TYPO3"
*/
\TYPO3\CMS\Core\Extension\ExtensionManager::addLLrefForTCAdescr('pages', 'EXT:lang/locallang_csh_pages.xml');
\TYPO3\CMS\Core\Extension\ExtensionManager::addLLrefForTCAdescr('be_users', 'EXT:lang/locallang_csh_be_users.xml');
\TYPO3\CMS\Core\Extension\ExtensionManager::addLLrefForTCAdescr('be_groups', 'EXT:lang/locallang_csh_be_groups.xml');