当前位置: 首页>>代码示例>>PHP>>正文


PHP ExtensionManagementUtility::addFieldsToPalette方法代码示例

本文整理汇总了PHP中TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette方法的典型用法代码示例。如果您正苦于以下问题:PHP ExtensionManagementUtility::addFieldsToPalette方法的具体用法?PHP ExtensionManagementUtility::addFieldsToPalette怎么用?PHP ExtensionManagementUtility::addFieldsToPalette使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在TYPO3\CMS\Core\Utility\ExtensionManagementUtility的用法示例。


在下文中一共展示了ExtensionManagementUtility::addFieldsToPalette方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: defined

<?php

defined('TYPO3_MODE') or die('hard');
// Add a "no print" checkbox
// USAGE: TCA Reference >  $TCA array reference > Extending the $TCA array
$temporaryColumn = ['tags' => ['exclude' => 1, 'label' => 'LLL:EXT:creativegallery/Resources/Private/Language/locallang_db.xlf:tx_creativegallery_domain_model_sysfilemetadata.tags', 'config' => ['type' => 'select', 'foreign_table' => 'tx_creativegallery_domain_model_sysfiletag', 'MM' => 'tx_creativegallery_sysfilemetadata_sysfiletag_mm', 'size' => 10, 'autoSizeMax' => 30, 'maxitems' => 9999, 'multiple' => 0, 'wizards' => ['_PADDING' => 1, '_VERTICAL' => 1, 'edit' => ['module' => ['name' => 'wizard_edit'], 'type' => 'popup', 'title' => 'Edit', 'icon' => 'edit2.gif', 'popup_onlyOpenIfSelected' => 1, 'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1'], 'add' => ['module' => ['name' => 'wizard_add'], 'type' => 'script', 'title' => 'Create new', 'icon' => 'add.gif', 'params' => ['table' => 'tx_creativegallery_domain_model_sysfiletag', 'pid' => '###CURRENT_PID###', 'setValue' => 'prepend']]]]]];
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('sys_file_reference', $temporaryColumn, true);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('sys_file_reference', 'imageoverlayPalette', 'tags');
开发者ID:markussom,项目名称:creativeworkspace,代码行数:8,代码来源:sys_file_reference.php

示例2: canAddFieldsToPaletteAfterNotExistingOnes

 /**
  * Tests whether fields can be added to a palette after a not existing elements.
  *
  * @test
  * @see ExtensionManagementUtility::addFieldsToPalette()
  */
 public function canAddFieldsToPaletteAfterNotExistingOnes()
 {
     $table = $this->getUniqueId('tx_coretest_table');
     $GLOBALS['TCA'] = $this->generateTCAForTable($table);
     ExtensionManagementUtility::addFieldsToPalette($table, 'paletteA', 'newA, newA, newB, fieldX', 'after:' . $this->getUniqueId('notExisting'));
     $this->assertEquals('fieldX, fieldX1, fieldY, newA, newB', $GLOBALS['TCA'][$table]['palettes']['paletteA']['showitem']);
 }
开发者ID:plan2net,项目名称:TYPO3.CMS,代码行数:13,代码来源:ExtensionManagementUtilityTest.php

示例3:

            assets,
            --palette--;' . $frontendLanguageFilePrefix . 'palette.imagelinks;imagelinks,
        --div--;' . $frontendLanguageFilePrefix . 'tabs.appearance,
            layout;' . $frontendLanguageFilePrefix . 'layout_formlabel,
            --palette--;' . $languageFilePrefix . 'tt_content.palette.mediaAdjustments;mediaAdjustments,
            --palette--;' . $languageFilePrefix . 'tt_content.palette.gallerySettings;gallerySettings,
            --palette--;' . $frontendLanguageFilePrefix . 'palette.appearanceLinks;appearanceLinks,
        --div--;' . $frontendLanguageFilePrefix . 'tabs.access,
            hidden;' . $frontendLanguageFilePrefix . 'field.default.hidden,
            --palette--;' . $frontendLanguageFilePrefix . 'palette.access;access,
        --div--;' . $frontendLanguageFilePrefix . 'tabs.extended
    ');
/**************************************
 * CE "File Links" (tt_content.uploads)
 **************************************/
// Add the fields "uploads_description" and "uploads_type" to TCA for palette "uploadslayout"
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('tt_content', 'uploadslayout', 'uploads_description, uploads_type');
// Restructure the form layout (tabs, palettes and fields)
$GLOBALS['TCA']['tt_content']['types']['uploads']['showitem'] = '
        --palette--;' . $frontendLanguageFilePrefix . 'palette.general;general,
        --palette--;' . $frontendLanguageFilePrefix . 'palette.header;header,rowDescription,
        --palette--;' . $frontendLanguageFilePrefix . 'media;uploads,
    --div--;' . $frontendLanguageFilePrefix . 'tabs.appearance,
        layout;' . $frontendLanguageFilePrefix . 'layout_formlabel,
        --palette--;' . $frontendLanguageFilePrefix . 'palette.uploads_layout;uploadslayout,
         --palette--;' . $frontendLanguageFilePrefix . 'palette.appearanceLinks;appearanceLinks,
    --div--;' . $frontendLanguageFilePrefix . 'tabs.access,
        hidden;' . $frontendLanguageFilePrefix . 'field.default.hidden,
        --palette--;' . $frontendLanguageFilePrefix . 'palette.access;access,
    --div--;' . $frontendLanguageFilePrefix . 'tabs.extended
';
开发者ID:tantegerda1,项目名称:TYPO3.ContentRenderingCore,代码行数:31,代码来源:tt_content.php

示例4: unserialize

// get extension configurations
$extConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['cs_seo']);
// SEO Settings
$GLOBALS['TCA']['pages_language_overlay']['columns']['title']['config']['max'] = $extConf['maxTitle'];
$GLOBALS['TCA']['pages_language_overlay']['columns']['nav_title']['config']['max'] = $extConf['maxNavTitle'];
$GLOBALS['TCA']['pages_language_overlay']['columns']['description']['config']['max'] = $extConf['maxDescription'];
// Path segment auto fill
if ($extConf['enablePathSegment'] && isset($GLOBALS['TCA']['pages_language_overlay']['columns']['tx_realurl_pathsegment'])) {
    $GLOBALS['TCA']['pages_language_overlay']['columns']['tx_realurl_pathsegment']['config']['eval'] .= ',required';
    $GLOBALS['TCA']['pages_language_overlay']['columns']['tx_realurl_pathsegment']['config']['wizards'] = ['_POSITION' => 'bottom', 'permalinkWizard' => ['type' => 'userFunc', 'userFunc' => 'Clickstorm\\CsSeo\\UserFunc\\PermalinkWizard->render']];
}
// define new fields
$tempColumns = ['tx_csseo_title' => ['label' => 'LLL:EXT:cs_seo/Resources/Private/Language/locallang_db.xlf:pages.tx_csseo_title', 'exclude' => 1, 'config' => ['type' => 'input', 'max' => $extConf['maxTitle'], 'eval' => 'trim', 'wizards' => ['_POSITION' => 'bottom', 'previewWizard' => ['type' => 'userFunc', 'userFunc' => 'Clickstorm\\CsSeo\\UserFunc\\PreviewWizard->render']]]], 'tx_csseo_title_only' => ['label' => 'LLL:EXT:cs_seo/Resources/Private/Language/locallang_db.xlf:pages.tx_csseo_title_only', 'exclude' => 1, 'config' => ['type' => 'check']], 'tx_csseo_keyword' => ['label' => 'LLL:EXT:cs_seo/Resources/Private/Language/locallang_db.xlf:pages.tx_csseo_keyword', 'exclude' => 1, 'config' => ['type' => 'input', 'max' => '256', 'eval' => 'trim']], 'tx_csseo_og_title' => ['label' => 'LLL:EXT:cs_seo/Resources/Private/Language/locallang_db.xlf:pages.tx_csseo_og_title', 'exclude' => 1, 'config' => ['type' => 'input', 'max' => '95', 'eval' => 'trim']], 'tx_csseo_og_description' => ['label' => 'LLL:EXT:cs_seo/Resources/Private/Language/locallang_db.xlf:pages.tx_csseo_og_description', 'exclude' => 1, 'config' => ['type' => 'text', 'cols' => 40, 'rows' => 5, 'eval' => 'trim', 'max' => '300']], 'tx_csseo_tw_title' => ['label' => 'LLL:EXT:cs_seo/Resources/Private/Language/locallang_db.xlf:pages.tx_csseo_tw_title', 'exclude' => 1, 'config' => ['type' => 'input', 'max' => '70', 'eval' => 'trim']], 'tx_csseo_tw_description' => ['label' => 'LLL:EXT:cs_seo/Resources/Private/Language/locallang_db.xlf:pages.tx_csseo_tw_description', 'exclude' => 1, 'config' => ['type' => 'text', 'cols' => 40, 'rows' => 5, 'eval' => 'trim', 'max' => '200']], 'tx_csseo_tw_creator' => ['label' => 'LLL:EXT:cs_seo/Resources/Private/Language/locallang_db.xlf:pages.tx_csseo_tw_creator', 'exclude' => 1, 'config' => ['type' => 'input', 'max' => '40', 'eval' => 'trim']]];
// add new fields
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('pages_language_overlay', $tempColumns);
// replace description
$GLOBALS['TCA']['pages_language_overlay']['palettes']['metatags']['showitem'] = preg_replace('/description(.*,|.*$)/', '', $GLOBALS['TCA']['pages_language_overlay']['palettes']['metatags']['showitem']);
// define new palettes
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('pages_language_overlay', 'tx_csseo_preview', 'tx_csseo_title,tx_csseo_title_only,--linebreak--,
    description;LLL:EXT:cs_seo/Resources/Private/Language/locallang_db.xlf:pages.description');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('pages_language_overlay', 'tx_csseo_facebook', 'tx_csseo_og_title, --linebreak--,
    tx_csseo_og_description');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('pages_language_overlay', 'tx_csseo_twitter', 'tx_csseo_tw_title, --linebreak--,
    tx_csseo_tw_description, --linebreak--,
    tx_csseo_tw_creator');
// add to types
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('pages_language_overlay', '--div--;LLL:EXT:cs_seo/Resources/Private/Language/locallang_db.xlf:pages.tab.seo,
    --palette--;LLL:EXT:cs_seo/Resources/Private/Language/locallang_db.xlf:pages.palette.tx_csseo_preview;tx_csseo_preview,tx_csseo_keyword,
    --div--;LLL:EXT:cs_seo/Resources/Private/Language/locallang_db.xlf:pages.tab.social,
    --palette--;LLL:EXT:cs_seo/Resources/Private/Language/locallang_db.xlf:pages.palette.tx_csseo_facebook;tx_csseo_facebook,
    --palette--;LLL:EXT:cs_seo/Resources/Private/Language/locallang_db.xlf:pages.palette.tx_csseo_twitter;tx_csseo_twitter', '1,6', 'after:lastUpdated');
开发者ID:clickstorm,项目名称:cs_seo,代码行数:31,代码来源:pages_language_overlay.php

示例5: defined

<?php

defined('TYPO3_MODE') or die;
$fields = array('eigene_anrede' => array('exclude' => 0, 'label' => 'LLL:EXT:registeraddress/locallang_db.xml:tx_registeraddress_domain_model_address.eigene_anrede', 'config' => array('type' => 'input', 'size' => 30, 'eval' => 'trim')));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('tt_address', $fields, TRUE);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('tt_address', 'eigene_anrede', '', 'after:name');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('tt_address', 'eigene_anrede', '', 'after:name');
开发者ID:lsascha,项目名称:registeraddress,代码行数:7,代码来源:tx_registeraddress_domain_model_address.php

示例6: array

<?php

$tempColumns = array('tx_ddgooglesitemap_lastmod' => array('exclude' => 1, 'label' => '', 'config' => array('type' => 'passthrough')), 'tx_ddgooglesitemap_priority' => array('exclude' => 1, 'label' => 'LLL:EXT:dd_googlesitemap/locallang.xml:pages.tx_ddgooglesitemap_priority', 'displayCond' => 'FIELD:no_search:=:0', 'config' => array('type' => 'select', 'items' => array(array('LLL:EXT:dd_googlesitemap/locallang.xml:pages.tx_ddgooglesitemap_priority.0', 0), array('LLL:EXT:dd_googlesitemap/locallang.xml:pages.tx_ddgooglesitemap_priority.1', 1), array('LLL:EXT:dd_googlesitemap/locallang.xml:pages.tx_ddgooglesitemap_priority.2', 2), array('LLL:EXT:dd_googlesitemap/locallang.xml:pages.tx_ddgooglesitemap_priority.3', 3), array('LLL:EXT:dd_googlesitemap/locallang.xml:pages.tx_ddgooglesitemap_priority.4', 4), array('LLL:EXT:dd_googlesitemap/locallang.xml:pages.tx_ddgooglesitemap_priority.5', 5), array('LLL:EXT:dd_googlesitemap/locallang.xml:pages.tx_ddgooglesitemap_priority.6', 6), array('LLL:EXT:dd_googlesitemap/locallang.xml:pages.tx_ddgooglesitemap_priority.7', 7), array('LLL:EXT:dd_googlesitemap/locallang.xml:pages.tx_ddgooglesitemap_priority.8', 8), array('LLL:EXT:dd_googlesitemap/locallang.xml:pages.tx_ddgooglesitemap_priority.9', 9), array('LLL:EXT:dd_googlesitemap/locallang.xml:pages.tx_ddgooglesitemap_priority.10', 10)))));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('pages', $tempColumns);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('pages', 'miscellaneous', 'tx_ddgooglesitemap_priority');
unset($tempColumn);
开发者ID:DMKEBUSINESSGMBH,项目名称:typo3-dd_googlesitemap,代码行数:6,代码来源:ext_tables.php

示例7: defined

<?php

defined('TYPO3_MODE') or die;
/******************************
 * Custom pages fields
 ******************************/
//$packageKey = Staempfli\TemplateBootstrap\Utility\TemplateBootstrapUtility::getPackageKey();
$tmp_pages_columns = array('tx_manueletter_moodimage' => array('label' => 'LLL:EXT:manueletter/Resources/Private/Language/Backend.xlf:pageproperties.imagery.moodimage', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('tx_manueletter_moodimage', array('maxitems' => 1, 'minitems' => 0, 'appearance' => array('createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference')), $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']), 'exclude' => 0), 'tx_manueletter_backgroundimage' => array('label' => 'LLL:EXT:manueletter/Resources/Private/Language/Backend.xlf:pageproperties.imagery.backgroundimage', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('tx_manueletter_backgroundimage', array('maxitems' => 1, 'minitems' => 0, 'appearance' => array('createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference')), $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']), 'exclude' => 0));
// Define backend field and palette sequence.
$backendFieldStructure = 'tx_manueletter_backgroundimage,--linebreak--,tx_manueletter_moodimage';
$backendPaletteStructure = '--palette--;LLL:EXT:manueletter/Resources/Private/Language/Backend.xlf:pageproperties.imagery;manueletter_imagery';
// Add fields to pages
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('pages', $tmp_pages_columns);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('pages', 'manueletter_imagery', $backendFieldStructure);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('pages', $backendPaletteStructure, 1, 'after:subtitle');
// Add fields to pages language overlay
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('pages_language_overlay', $tmp_pages_columns);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('pages_language_overlay', 'manueletter_imagery', $backendFieldStructure);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('pages_language_overlay', $backendPaletteStructure, 1, 'after:subtitle');
开发者ID:martinpfister,项目名称:manuel,代码行数:19,代码来源:pages.php

示例8: IN

<?php

$addColumns = (require \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('t3ecom', 'Resources/Private/PHP/TCA/Overrides/pages.php'));
// Single fields that apply to pages table only (no language overlay / l10n merge)
$addColumns['tx_product_shipping'] = ['exclude' => 1, 'l10n_mode' => 'exclude', 'label' => 'LLL:EXT:t3ecom/Resources/Private/Language/locallang_db.xlf:tx_product_shipping', 'config' => ['type' => 'check']];
$addColumns['tx_product_discontinued'] = ['exclude' => 1, 'l10n_mode' => 'exclude', 'label' => 'LLL:EXT:t3ecom/Resources/Private/Language/locallang_db.xlf:tx_product_discontinued', 'config' => ['type' => 'check']];
$addColumns['tx_product_zone'] = ['exclude' => 1, 'l10n_mode' => 'exclude', 'label' => 'LLL:EXT:t3ecom/Resources/Private/Language/locallang_db.xlf:tx_product_zone', 'config' => ['type' => 'select', 'items' => [['-', 'none'], ['0', 0], ['1', 1], ['2', 2], ['0/20', 3], ['1/21', 4], ['2/22', 5]]]];
$addColumns['tx_product_division'] = ['exclude' => 1, 'l10n_mode' => 'exclude', 'label' => 'LLL:EXT:t3ecom/Resources/Private/Language/locallang_db.xlf:tx_product_division', 'config' => ['type' => 'select', 'items' => [['-', 'none'], ['1', 1], ['2', 2]]]];
$addColumns['tx_product'] = ['exclude' => 1, 'l10n_mode' => 'exclude', 'label' => 'LLL:EXT:t3ecom/Resources/Private/Language/locallang_db.xlf:tx_product', 'config' => ['type' => 'select', 'items' => [['-', 0]], 'foreign_table' => 'tx_ecomproducttools_domain_model_product', 'foreign_table_where' => ' AND tx_ecomproducttools_domain_model_product.sys_language_uid IN (-1,0) AND NOT tx_ecomproducttools_domain_model_product.deleted ORDER BY tx_ecomproducttools_domain_model_product.title']];
// Custom Palettes
\TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule($GLOBALS['TCA']['pages']['palettes'], ['ecom_product_badges' => ['showitem' => 'tx_product_shipping, tx_product_discontinued, tx_product_custom_badge, --linebreak--, tx_product_zone, tx_product_division', 'canNotCollapse' => 1]]);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('pages', $addColumns, true);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('pages', '--div--;LLL:EXT:t3ecom/Resources/Private/Language/locallang_db.xlf:div.teaser,tx_teaser_headline, tx_teaser_text;;;richtext:rte_transform[flag=rte_enabled|mode=ts], tx_teaser_image, tx_teaser_link, tx_teaser_link_label, --div--;LLL:EXT:t3ecom/Resources/Private/Language/locallang_db.xlf:div.product, tx_product,tx_product_image, --palette--;Badges;ecom_product_badges, --div--;LLL:EXT:t3ecom/Resources/Private/Language/locallang_db.xlf:div.footer, tx_hide_footer_description, tx_footer_description;;;richtext:rte_transform[flag=rte_enabled|mode=ts]');
// Append subnav_title to title-palette
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('pages', 'title', '--linebreak--, tx_subnavigation_title', 'after');
开发者ID:S3b0,项目名称:t3ecom,代码行数:15,代码来源:pages.php

示例9: defined

<?php

defined('TYPO3_MODE') or die;
call_user_func(function ($extKey) {
    $fieldLanguageFilePrefix = 'LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_db.xlf:';
    // Define field(s)
    $additionalColumns = ['image_group' => ['exclude' => true, 'label' => $fieldLanguageFilePrefix . 'tt_content.image_group', 'displayCond' => 'FIELD:image_zoom:>:0', 'config' => ['type' => 'check', 'default' => 0, 'items' => [['LLL:EXT:lang/locallang_core.xml:labels.enabled', 1]]]]];
    // Update fields when image_zoom changes
    $GLOBALS['TCA']['tt_content']['ctrl']['requestUpdate'] .= ',image_zoom';
    // Add custom fields to the backend-forms
    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('tt_content', 'imagelinks', 'image_group;' . $fieldLanguageFilePrefix . 'tt_content.image_group');
    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('tt_content', $additionalColumns, 1);
}, 'lib_jquery_colorbox');
开发者ID:sonority,项目名称:lib_jquery_colorbox,代码行数:13,代码来源:tt_content.php

示例10: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
/** @var string */
$_EXTKEY = 't3sbootstrap';
/***************
 * Extension configuration
 */
$_EXTCONF = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY]);
/***************
 * New field in table:pages
 */
$tempPagesColumns = array('tx_t3sbootstrap_glyphicon' => array('exclude' => 0, 'label' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_db.xlf:pages.tx_t3sbootstrap_glyphicon', 'config' => array('type' => 'select', 'items' => array(array('LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_db.xlf:pages.tx_t3sbootstrap_no_glyphicon', ''), array('glyphicon-asterisk', 'asterisk'), array('glyphicon-plus', 'plus'), array('glyphicon-euro', 'euro'), array('glyphicon-minus', 'minus'), array('glyphicon-cloud', 'cloud'), array('glyphicon-envelope', 'envelope'), array('glyphicon-pencil', 'pencil'), array('glyphicon-glass', 'glass'), array('glyphicon-music', 'music'), array('glyphicon-search', 'search'), array('glyphicon-heart', 'heart'), array('glyphicon-star', 'star'), array('glyphicon-star-empty', 'star-empty'), array('glyphicon-user', 'user'), array('glyphicon-film', 'film'), array('glyphicon-th-large', 'th-large'), array('glyphicon-th', 'th'), array('glyphicon-th-list', 'th-list'), array('glyphicon-ok', 'ok'), array('glyphicon-remove', 'remove'), array('glyphicon-zoom-in', 'zoom-in'), array('glyphicon-zoom-out', 'zoom-out'), array('glyphicon-off', 'off'), array('glyphicon-signal', 'signal'), array('glyphicon-cog', 'cog'), array('glyphicon-trash', 'trash'), array('glyphicon-home', 'home'), array('glyphicon-file', 'file'), array('glyphicon-time', 'time'), array('glyphicon-road', 'road'), array('glyphicon-download-alt', 'download-alt'), array('glyphicon-download', 'download'), array('glyphicon-upload', 'upload'), array('glyphicon-inbox', 'inbox'), array('glyphicon-play-circle', 'lay-circle'), array('glyphicon-repeat', 'repeat'), array('glyphicon-refresh', 'refresh'), array('glyphicon-list-alt', 'list-alt'), array('glyphicon-lock', 'lock'), array('glyphicon-flag', 'flag'), array('glyphicon-headphones', 'headphones'), array('glyphicon-volume-off', 'volume-off'), array('glyphicon-volume-down', 'volume-down'), array('glyphicon-volume-up', 'volume-up'), array('glyphicon-qrcode', 'qrcode'), array('glyphicon-barcode', 'barcode'), array('glyphicon-tag', 'tag'), array('glyphicon-tags', 'tags'), array('glyphicon-book', 'book'), array('glyphicon-bookmark', 'bookmark'), array('glyphicon-print', 'print'), array('glyphicon-camera', 'camera'), array('glyphicon-font', 'font'), array('glyphicon-bold', 'bold'), array('glyphicon-italic', 'italic'), array('glyphicon-text-height', 'text-height'), array('glyphicon-text-width', 'text-width'), array('glyphicon-align-left', 'align-left'), array('glyphicon-align-center', 'align-center'), array('glyphicon-align-right', 'align-right'), array('glyphicon-align-justify', 'align-justify'), array('glyphicon-list', 'list'), array('glyphicon-indent-left', 'indent-left'), array('glyphicon-indent-right', 'indent-right'), array('glyphicon-facetime-video', 'facetime-video'), array('glyphicon-picture', 'picture'), array('glyphicon-map-marker', 'map-marker'), array('glyphicon-adjust', 'adjust'), array('glyphicon-tint', 'tint'), array('glyphicon-edit', 'edit'), array('glyphicon-share', 'share'), array('glyphicon-check', 'check'), array('glyphicon-move', 'move'), array('glyphicon-step-backward', 'step-backward'), array('glyphicon-fast-backward', 'fast-backward'), array('glyphicon-backward', 'backward'), array('glyphicon-play', 'play'), array('glyphicon-pause', 'pause'), array('glyphicon-stop', 'stop'), array('glyphicon-forward', 'forward'), array('glyphicon-fast-forward', 'fast-forward'), array('glyphicon-step-forward', 'step-forward'), array('glyphicon-eject', 'eject'), array('glyphicon-chevron-left', 'chevron-left'), array('glyphicon-chevron-right', 'chevron-right'), array('glyphicon-plus-sign', 'plus-sign'), array('glyphicon-minus-sign', 'minus-sign'), array('glyphicon-remove-sign', 'remove-sign'), array('glyphicon-ok-sign', 'ok-sign'), array('glyphicon-question-sign', 'question-sign'), array('glyphicon-info-sign', 'info-sign'), array('glyphicon-screenshot', 'screenshot'), array('glyphicon-remove-circle', 'remove-circle'), array('glyphicon-ok-circle', 'ok-circle'), array('glyphicon-ban-circle', 'ban-circle'), array('glyphicon-arrow-left', 'arrow-left'), array('glyphicon-arrow-right', 'arrow-right'), array('glyphicon-arrow-up', 'arrow-up'), array('glyphicon-arrow-down', 'arrow-down'), array('glyphicon-share-alt', 'share-alt'), array('glyphicon-resize-full', 'resize-full'), array('glyphicon-resize-small', 'resize-small'), array('glyphicon-exclamation-sign', 'exclamation-sign'), array('glyphicon-gift', 'ift'), array('glyphicon-leaf', 'leaf'), array('glyphicon-fire', 'fire'), array('glyphicon-eye-open', 'eye-open'), array('glyphicon-eye-close', 'eye-close'), array('glyphicon-warning-sign', 'warning-sign'), array('glyphicon-plane', 'plane'), array('glyphicon-calendar', 'calendar'), array('glyphicon-random', 'random'), array('glyphicon-comment', 'comment'), array('glyphicon-magnet', 'magnet'), array('glyphicon-chevron-up', 'chevron-up'), array('glyphicon-chevron-down', 'chevron-down'), array('glyphicon-retweet', 'retweet'), array('glyphicon-shopping-cart', 'shopping-cart'), array('glyphicon-folder-close', 'folder-close'), array('glyphicon-folder-open', 'folder-open'), array('glyphicon-resize-vertical', 'resize-vertical'), array('glyphicon-resize-horizontal', 'resize-horizontal'), array('glyphicon-hdd', 'hdd'), array('glyphicon-bullhorn', 'bullhorn'), array('glyphicon-bell', 'bell'), array('glyphicon-certificate', 'certificate'), array('glyphicon-thumbs-up', 'thumbs-up'), array('glyphicon-thumbs-down', 'thumbs-down'), array('glyphicon-hand-right', 'hand-right'), array('glyphicon-hand-left', 'hand-left'), array('glyphicon-hand-up', 'hand-up'), array('glyphicon-hand-down', 'hand-down'), array('glyphicon-circle-arrow-right', 'circle-arrow-right'), array('glyphicon-circle-arrow-left', 'circle-arrow-left'), array('glyphicon-circle-arrow-up', 'circle-arrow-up'), array('glyphicon-circle-arrow-down', 'circle-arrow-down'), array('glyphicon-globe', 'globe'), array('glyphicon-wrench', 'wrench'), array('glyphicon-tasks', 'tasks'), array('glyphicon-filter', 'filter'), array('glyphicon-briefcase', 'briefcase'), array('glyphicon-fullscreen', 'fullscreen'), array('glyphicon-dashboard', 'dashboard'), array('glyphicon-paperclip', 'paperclip'), array('glyphicon-heart-empty', 'heart-empty'), array('glyphicon-link', 'link'), array('glyphicon-phone', 'phone'), array('glyphicon-pushpin', 'pushpin'), array('glyphicon-usd', 'usd'), array('glyphicon-gbp', 'gbp'), array('glyphicon-sort', 'sort'), array('glyphicon-sort-by-alphabet', 'sort-by-alphabet'), array('glyphicon-sort-by-alphabet-alt', 'sort-by-alphabet-alt'), array('glyphicon-sort-by-order', 'sort-by-order'), array('glyphicon-sort-by-order-alt', 'sort-by-order-alt'), array('glyphicon-sort-by-attributes', 'sort-by-attributes'), array('glyphicon-sort-by-attributes-alt', 'sort-by-attributes-alt'), array('glyphicon-unchecked', 'unchecked'), array('glyphicon-expand', 'expand'), array('glyphicon-collapse-down', 'collapse-down'), array('glyphicon-collapse-up', 'collapse-up'), array('glyphicon-log-in', 'log-in'), array('glyphicon-flash', 'flash'), array('glyphicon-log-out', 'log-out'), array('glyphicon-new-window', 'new-window'), array('glyphicon-record', 'record'), array('glyphicon-save', 'save'), array('glyphicon-open', 'open'), array('glyphicon-saved', 'saved'), array('glyphicon-import', 'import'), array('glyphicon-export', 'export'), array('glyphicon-send', 'send'), array('glyphicon-floppy-disk', 'floppy-disk'), array('glyphicon-floppy-saved', 'floppy-saved'), array('glyphicon-floppy-remove', 'floppy-remove'), array('glyphicon-floppy-save', 'floppy-save'), array('glyphicon-floppy-open', 'floppy-open'), array('glyphicon-credit-card', 'credit-card'), array('glyphicon-transfer', 'transfer'), array('glyphicon-cutlery', 'cutlery'), array('glyphicon-header', 'header'), array('glyphicon-compressed', 'compressed'), array('glyphicon-earphone', 'earphone'), array('glyphicon-phone-alt', 'phone-alt'), array('glyphicon-tower', 'tower'), array('glyphicon-stats', 'stats'), array('glyphicon-sd-video', 'sd-video'), array('glyphicon-hd-video', 'hd-video'), array('glyphicon-subtitles', 'subtitles'), array('glyphicon-sound-stereo', 'sound-stereo'), array('glyphicon-sound-dolby', 'sound-dolby'), array('glyphicon-sound-5-1', 'sound-5-1'), array('glyphicon-sound-6-1', 'sound-6-1'), array('glyphicon-sound-7-1', 'sound-7-1'), array('glyphicon-copyright-mark', 'copyright-mark'), array('glyphicon-registration-mark', 'registration-mark'), array('glyphicon-cloud-download', 'cloud-download'), array('glyphicon-cloud-upload', 'cloud-upload'), array('glyphicon-tree-conifer', 'tree-conifer'), array('glyphicon-tree-deciduous', 'tree-deciduous')), 'size' => 1, 'maxitems' => 1)), 'tx_t3sbootstrap_fontawesome_icon' => array('label' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_db.xlf:pages.tx_t3sbootstrap_fontawesome_icon', 'config' => array('type' => 'input', 'size' => '20')), 'tx_t3sbootstrap_linkToTop' => array('exclude' => 0, 'label' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_db.xlf:pages.tx_t3sbootstrap_linkToTop', 'config' => array('type' => 'check')));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('pages', $tempPagesColumns);
if ($_EXTCONF['fontawesome']) {
    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('pages', 'title', '--linebreak--,tx_t3sbootstrap_fontawesome_icon', 'after:subtitle');
} else {
    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('pages', 'title', '--linebreak--,tx_t3sbootstrap_glyphicon', 'after:subtitle');
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('pages', 'layout', '--linebreak--,tx_t3sbootstrap_linkToTop', 'after:backend_layout_next_level');
开发者ID:blumenbach,项目名称:bb-online.neu,代码行数:22,代码来源:pages.php

示例11: array_replace_recursive

                --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
                bodytext;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:bodytext_formlabel,
                pages;LLL:EXT:t3theme_typo3com/Resources/Private/Language/ContentElements.xlf:labels.case_studies,
                --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access,
                --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.visibility;visibility,
                --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
                --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.extended'], 'top_features' => ['showitem' => '--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
                --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
                pages;LLL:EXT:t3theme_typo3com/Resources/Private/Language/ContentElements.xlf:labels.top_features,
                tx_t3themetypo3com_featurelist_link;LLL:EXT:t3theme_typo3com/Resources/Private/Language/ContentElements.xlf:labels.tx_t3themetypo3com_featurelist_link,
                --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access,
                --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.visibility;visibility,
                --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
                --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.extended']], 'palettes' => ['imagelinks' => ['showitem' => '
                image_zoom;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_zoom_formlabel,
				image_overlap;LLL:EXT:t3theme_typo3com/Resources/Private/Language/ContentElements.xlf:labels.image_overlap
            '], 'header' => ['showitem' => '
                header;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_formlabel,
                --linebreak--,
                header_layout;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_layout_formlabel,
                header_position;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_position_formlabel,
                date;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:date_formlabel,
                --linebreak--,
                header_link;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_link_formlabel
            ']]];
$GLOBALS['TCA']['tt_content'] = array_replace_recursive($GLOBALS['TCA']['tt_content'], $tca);
/***************
 * Modify palettes
 */
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('tt_content', 'headers', 'header_position', 'after:header_layout');
开发者ID:TYPO3-typo3org,项目名称:community,代码行数:30,代码来源:tt_content.php

示例12: array_replace

				longdescURL;LLL:EXT:cms/locallang_ttc.xlf:longdescURL_formlabel
			')));
// Add palettes from css_styled_content if css_styled_content is NOT loaded but needed for CE's "search" and "mailform"
if (!\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('css_styled_content')) {
    $GLOBALS['TCA']['tt_content']['palettes'] = array_replace($GLOBALS['TCA']['tt_content']['palettes'], array('visibility' => array('showitem' => '
					hidden;LLL:EXT:cms/locallang_ttc.xlf:hidden_formlabel,
					sectionIndex;LLL:EXT:cms/locallang_ttc.xlf:sectionIndex_formlabel,
					linkToTop;LLL:EXT:cms/locallang_ttc.xlf:linkToTop_formlabel
				'), 'frames' => array('showitem' => '
					layout;LLL:EXT:cms/locallang_ttc.xlf:layout_formlabel,
					spaceBefore;LLL:EXT:cms/locallang_ttc.xlf:spaceBefore_formlabel,
					spaceAfter;LLL:EXT:cms/locallang_ttc.xlf:spaceAfter_formlabel,
					section_frame;LLL:EXT:cms/locallang_ttc.xlf:section_frame_formlabel
				')));
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('tt_content', 'image_settings', 'image_frames;LLL:EXT:cms/locallang_ttc.xlf:image_frames_formlabel');
/**
 * CType "search"
 */
$GLOBALS['TCA']['tt_content']['ctrl']['typeicon_classes']['search'] = 'mimetypes-x-content-form-search';
$GLOBALS['TCA']['tt_content']['ctrl']['typeicons']['search'] = 'tt_content_search.gif';
$GLOBALS['TCA']['tt_content']['types']['search'] = array('showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
			--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.header;header,
		--div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance,
			--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.frames;frames,
		--div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
			--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.visibility;visibility,
			--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,
		--div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.behaviour,
			--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.searchform;searchform,
		--div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.extended');
开发者ID:adrolli,项目名称:TYPO3.CMS,代码行数:31,代码来源:tt_content.php

示例13: defined

<?php

defined('TYPO3_MODE') or die;
$languageFilePrefix = 'LLL:EXT:sitemap_generator/Resources/Private/Language/locallang_db.xlf:';
$tca = ['columns' => [\Markussom\SitemapGenerator\Domain\Model\UrlEntry::EXCLUDE_FROM_SITEMAP => ['exclude' => 0, 'label' => $languageFilePrefix . 'sitemap_generator.tca.pages.exclude_from_sitemap', 'config' => ['type' => 'check', 'items' => [[$languageFilePrefix . 'sitemap_generator.tca.pages.exclude_from_sitemap.label', 1]]]], 'sitemap_priority' => ['exclude' => 0, 'label' => $languageFilePrefix . 'sitemap_generator.tca.pages.sitemap_priority', 'config' => ['type' => 'select', 'items' => [['0.0', 0], ['0.1', 1], ['0.2', 2], ['0.3', 3], ['0.4', 4], ['0.5', 5], ['0.6', 6], ['0.7', 7], ['0.8', 8], ['0.9', 9], ['1.0', 10]]]], 'sitemap_changefreq' => ['exclude' => 0, 'label' => $languageFilePrefix . 'sitemap_generator.tca.pages.sitemap_changefreq', 'config' => ['type' => 'select', 'items' => [[$languageFilePrefix . 'sitemap_generator.tca.pages.please_choose', ''], [$languageFilePrefix . 'sitemap_generator.tca.pages.sitemap_changefreq.always', 'always'], [$languageFilePrefix . 'sitemap_generator.tca.pages.sitemap_changefreq.hourly', 'hourly'], [$languageFilePrefix . 'sitemap_generator.tca.pages.sitemap_changefreq.daily', 'daily'], [$languageFilePrefix . 'sitemap_generator.tca.pages.sitemap_changefreq.weekly', 'weekly'], [$languageFilePrefix . 'sitemap_generator.tca.pages.sitemap_changefreq.monthly', 'monthly'], [$languageFilePrefix . 'sitemap_generator.tca.pages.sitemap_changefreq.yearly', 'yearly'], [$languageFilePrefix . 'sitemap_generator.tca.pages.sitemap_changefreq.never', 'never']]]]]];
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('pages', 'miscellaneous', \Markussom\SitemapGenerator\Domain\Model\UrlEntry::EXCLUDE_FROM_SITEMAP . ', sitemap_priority, sitemap_changefreq');
\TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule($GLOBALS['TCA']['pages'], $tca);
开发者ID:markussom,项目名称:sitemap_generator,代码行数:7,代码来源:pages.php

示例14: array_replace

				longdescURL;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:longdescURL_formlabel
			')));
// Add palettes from css_styled_content if css_styled_content is NOT loaded but needed for CE's "search" and "mailform"
if (!\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('css_styled_content')) {
    $GLOBALS['TCA']['tt_content']['palettes'] = array_replace($GLOBALS['TCA']['tt_content']['palettes'], array('visibility' => array('showitem' => '
					hidden;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:hidden_formlabel,
					sectionIndex;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:sectionIndex_formlabel,
					linkToTop;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:linkToTop_formlabel
				'), 'frames' => array('showitem' => '
					layout;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:layout_formlabel,
					spaceBefore;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:spaceBefore_formlabel,
					spaceAfter;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:spaceAfter_formlabel,
					section_frame;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:section_frame_formlabel
				')));
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('tt_content', 'image_settings', 'image_frames;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_frames_formlabel');
/**
 * CType "search"
 */
$GLOBALS['TCA']['tt_content']['ctrl']['typeicon_classes']['search'] = 'mimetypes-x-content-form-search';
$GLOBALS['TCA']['tt_content']['ctrl']['typeicons']['search'] = 'tt_content_search.gif';
$GLOBALS['TCA']['tt_content']['types']['search'] = array('showitem' => '--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
			--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
		--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
			--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
		--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access,
			--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.visibility;visibility,
			--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
		--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.behaviour,
			--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.searchform;searchform,
		--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.extended');
开发者ID:plan2net,项目名称:TYPO3.CMS,代码行数:31,代码来源:tt_content.php

示例15:

	    --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
	    --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access,
	    --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.visibility;visibility,
	    --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
	    --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.extended,
	    --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:sys_category.tabs.category, categories,
	    tx_gridelements_container, tx_gridelements_columns
	';
} else {
    $GLOBALS['TCA']['tt_content']['types']['t3sbs_fluidtemplate']['showitem'] = '
	    --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
	    header;LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_be.xlf:t3sbs_nonvisible_header,
	    subheader;FluidTemplate,
	    --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
	    --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
	    --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
	    --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
	    --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
	    --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended,
	    --div--;LLL:EXT:lang/locallang_tca.xlf:sys_category.tabs.category, categories,
	    tx_gridelements_container, tx_gridelements_columns
	';
}
# add subheader to palette header
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('tt_content', 'header', '--linebreak--,subheader', 'after:header');
# add tx_t3sbootstrap_content_slide
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('tt_content', 'frames', 'tx_t3sbootstrap_content_slide,--linebreak--', 'before:layout');
if ($_EXTCONF['fontawesome']) {
    # add tx_t3sbootstrap_fontawesome_icon
    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('tt_content', 'header', '--linebreak--,tx_t3sbootstrap_fontawesome_icon', 'after:subheader');
}
开发者ID:blumenbach,项目名称:bb-online.neu,代码行数:31,代码来源:tt_content.php


注:本文中的TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。