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


PHP ExtensionManagementUtility::makeCategorizable方法代码示例

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


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

示例1: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin('C1.' . $_EXTKEY, 'Linklist', 'Link List');
// make categorizable
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable('C1.' . $_EXTKEY, 'tx_c1linklist_domain_model_linklist', $fieldName = 'categories', $options = array());
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Link List');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_c1linklist_domain_model_linklist', 'EXT:c1_linklist/Resources/Private/Language/locallang_csh_tx_c1linklist_domain_model_linklist.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_c1linklist_domain_model_linklist');
开发者ID:mmunz,项目名称:c1_linklist,代码行数:11,代码来源:ext_tables.php

示例2: strtolower

$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/Address.xml');
/*
 * Default TypoScript
 */
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Modern Address');
/*
 * Wizard Plugin
 */
if (TYPO3_MODE == 'BE') {
    $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_' . strtolower($extensionName) . '_wizicon'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Resources/Private/Php/class.tx_' . strtolower($extensionName) . '_wizicon.php';
}
/*
 * Add System Categories
 */
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable($_EXTKEY, 'tx_hwtaddress_domain_model_address', $fieldName = 'categories', $options = array());
/*
 * Extend tca pages
 */
$tempColumns = array('tx_hwtaddress_related_address' => array('exclude' => 1, 'l10n_mode' => 'mergeIfNotBlank', 'label' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_db.xlf:pages.tx_hwtaddress_related_address', 'config' => array('type' => 'group', 'internal_type' => 'db', 'allowed' => 'tx_hwtaddress_domain_model_address', 'foreign_table' => 'tx_hwtaddress_domain_model_address', 'size' => 5, 'minitems' => 0, 'maxitems' => 100, 'MM' => 'tx_hwtaddress_domain_model_pages_address_mm', 'wizards' => array('suggest' => array('type' => 'suggest')))));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('pages', $tempColumns, 1);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('pages', 'tx_hwtaddress_related_address;;;;1-1-1, tx_hwtaddress_related_address_from');
/*
 * Add folder contains type
 */
if (TYPO3_MODE == 'BE') {
    $folderName = 'hwtaddr';
    $folderPath = '../typo3conf/ext/' . $_EXTKEY . '/Resources/Public/Icons/folder-hwtaddr.gif';
    unset($GLOBALS['ICON_TYPES'][$folderName]);
    \TYPO3\CMS\Backend\Sprite\SpriteManager::addTcaTypeIcon('pages', 'contains-' . $folderName, $folderPath);
    $GLOBALS['TCA']['pages']['columns']['module']['config']['items'][] = array(0 => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_be.xlf:folder', 1 => $folderName, 2 => $folderPath);
开发者ID:hwt3,项目名称:HwtTypo3HwtAddress,代码行数:31,代码来源:ext_tables.php

示例3: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'Linkdirectory', 'Link Directory');
// Flexform for Link Directory
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['linkdirectory_linkdirectory'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('linkdirectory_linkdirectory', 'FILE:EXT:link_directory/Configuration/FlexForm/linkdirectory.xml');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Link Directory');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_linkdirectory_domain_model_link');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable($_EXTKEY, 'tx_linkdirectory_domain_model_link');
开发者ID:visol,项目名称:ext-link_directory,代码行数:12,代码来源:ext_tables.php

示例4: doesMakeCategorizableCallsTheCategoryRegistryWithFieldName

 /**
  * @test
  */
 public function doesMakeCategorizableCallsTheCategoryRegistryWithFieldName()
 {
     $extensionKey = $this->getUniqueId('extension');
     $tableName = $this->getUniqueId('table');
     $fieldName = $this->getUniqueId('field');
     /** @var CategoryRegistry|\PHPUnit_Framework_MockObject_MockObject $registryMock */
     $registryMock = $this->getMock(CategoryRegistry::class);
     $registryMock->expects($this->once())->method('add')->with($extensionKey, $tableName, $fieldName, array());
     GeneralUtility::setSingletonInstance(CategoryRegistry::class, $registryMock);
     ExtensionManagementUtility::makeCategorizable($extensionKey, $tableName, $fieldName);
 }
开发者ID:plan2net,项目名称:TYPO3.CMS,代码行数:14,代码来源:ExtensionManagementUtilityTest.php

示例5:

<?php

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable('glossary2', 'tx_clubdirectory_domain_model_club', 'categories');
开发者ID:jweiland-net,项目名称:clubdirectory,代码行数:3,代码来源:MakeCategorizable.php

示例6: defined

<?php

defined('TYPO3_MODE') or die;
/**
 * Add labels for context sensitive help (CSH)
 */
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_BlogExampleTxBlogexampleM1', 'EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_csh.xml');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'BlogExample setup');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript/DefaultStyles', 'BlogExample CSS Styles (optional)');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'Blogs', 'Blog listing');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_blogexample_domain_model_blog,tx_blogexample_domain_model_post,tx_blogexample_domain_model_comment,tx_blogexample_domain_model_person,tx_blogexample_domain_model_tag');
// Categorize Blog,Post records
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable($_EXTKEY, 'tx_blogexample_domain_model_blog');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable($_EXTKEY, 'tx_blogexample_domain_model_post');
开发者ID:TYPO3Incubator,项目名称:TYPO3.CMS,代码行数:14,代码来源:ext_tables.php

示例7:

<?php

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable('core', 'sys_file_metadata', 'categories', ['position' => 'replace:categories']);
开发者ID:,项目名称:,代码行数:3,代码来源:

示例8: foreach

if (TYPO3_MODE === 'BE') {
    if (!isset($TBE_MODULES['Cart'])) {
        $temp_TBE_MODULES = [];
        foreach ($TBE_MODULES as $key => $val) {
            if ($key == 'file') {
                $temp_TBE_MODULES[$key] = $val;
                $temp_TBE_MODULES['Cart'] = '';
            } else {
                $temp_TBE_MODULES[$key] = $val;
            }
        }
        $TBE_MODULES = $temp_TBE_MODULES;
    }
    // add Main Module
    \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule('Extcode.' . $_EXTKEY, 'Cart', '', '', [], ['access' => 'user, group', 'icon' => $iconPath . 'module.' . (\TYPO3\CMS\Core\Utility\GeneralUtility::compat_version('7.0') ? 'svg' : 'gif'), 'labels' => $_LLL . ':tx_cart.module.main', 'navigationComponentId' => 'typo3-pagetree']);
    \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule('Extcode.' . $_EXTKEY, 'Cart', 'Orders', '', ['Order' => 'list, export, show, edit, update, generateInvoiceNumber, generatePdfDocument, downloadPdfDocument'], ['access' => 'user, group', 'icon' => $iconPath . 'module_orders.' . (\TYPO3\CMS\Core\Utility\GeneralUtility::compat_version('7.0') ? 'svg' : 'png'), 'labels' => $_LLL . ':tx_cart.module.orders', 'navigationComponentId' => 'typo3-pagetree']);
    \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule('Extcode.' . $_EXTKEY, 'Cart', 'OrderStatistics', '', ['Order' => 'statistic'], ['access' => 'user, group', 'icon' => $iconPath . 'module_order_statistics.' . (\TYPO3\CMS\Core\Utility\GeneralUtility::compat_version('7.0') ? 'svg' : 'png'), 'labels' => $_LLL . ':tx_cart.module.order_statistics', 'navigationComponentId' => 'typo3-pagetree']);
    \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule('Extcode.' . $_EXTKEY, 'Cart', 'Products', '', ['Product' => 'list, show,', 'Variant' => 'list, show, edit, update'], ['access' => 'user, group', 'icon' => $iconPath . 'module_products.' . (\TYPO3\CMS\Core\Utility\GeneralUtility::compat_version('7.0') ? 'svg' : 'png'), 'labels' => $_LLL . ':tx_cart.module.products', 'navigationComponentId' => 'typo3-pagetree']);
}
$TCA['pages']['columns']['module']['config']['items'][] = ['LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_db.xlf:tx_cart.module.orders', 'orders', $iconPath . 'pages_orders_icon.png'];
\TYPO3\CMS\Backend\Sprite\SpriteManager::addTcaTypeIcon('pages', 'contains-orders', $iconPath . 'pages_orders_icon.png');
$TCA['pages']['columns']['module']['config']['items'][] = ['LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_db.xlf:tx_cart.module.products', 'products', $iconPath . 'pages_products_icon.png'];
\TYPO3\CMS\Backend\Sprite\SpriteManager::addTcaTypeIcon('pages', 'contains-products', $iconPath . 'pages_products_icon.png');
$TCA['pages']['columns']['module']['config']['items'][] = ['LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_db.xlf:tx_cart.module.coupons', 'coupons', $iconPath . 'pages_coupons_icon.png'];
\TYPO3\CMS\Backend\Sprite\SpriteManager::addTcaTypeIcon('pages', 'contains-coupons', $iconPath . 'pages_coupons_icon.png');
$tables = ['order_item', 'order_address', 'order_taxclass', 'order_tax', 'order_product', 'order_productadditional', 'order_shipping', 'order_payment', 'order_transaction', 'product_coupon', 'product_product', 'product_specialprice', 'product_taxclass', 'product_fevariant', 'product_bevariant', 'product_bevariantattribute', 'product_bevariantattributeoption', 'product_tag'];
foreach ($tables as $table) {
    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_cart_domain_model_' . $table, 'EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_csh_tx_cart_domain_model_' . $table . '.xlf');
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable($_EXTKEY, 'tx_cart_domain_model_product_product', 'categories', []);
开发者ID:extcode,项目名称:cart,代码行数:30,代码来源:ext_tables.php

示例9: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'Pi1', 'Content Slider');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_pi1';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_pi1.xml');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Content Slider');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_winkelcslider_domain_model_contentslider', 'EXT:winkel_cslider/Resources/Private/Language/locallang_csh_tx_winkelcslider_domain_model_contentslider.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_winkelcslider_domain_model_contentslider');
$GLOBALS['TCA']['tx_winkelcslider_domain_model_contentslider'] = array('ctrl' => array('title' => 'LLL:EXT:winkel_cslider/Resources/Private/Language/locallang_db.xlf:tx_winkelcslider_domain_model_contentslider', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'title,content_slider_items,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/ContentSlider.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_winkelcslider_domain_model_contentslider.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_winkelcslider_domain_model_contentslideritem', 'EXT:winkel_cslider/Resources/Private/Language/locallang_csh_tx_winkelcslider_domain_model_contentslideritem.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_winkelcslider_domain_model_contentslideritem');
$GLOBALS['TCA']['tx_winkelcslider_domain_model_contentslideritem'] = array('ctrl' => array('title' => 'LLL:EXT:winkel_cslider/Resources/Private/Language/locallang_db.xlf:tx_winkelcslider_domain_model_contentslideritem', 'label' => 'header', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'sortby' => 'sorting', 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'type,header,subheader,image,bodytext,more_link_text,link,new_until,video_url,video,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/ContentSliderItem.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_winkelcslider_domain_model_contentslideritem.gif'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable($_EXTKEY, 'tx_winkelcslider_domain_model_contentslider');
开发者ID:raimundlandig,项目名称:winkel.de-DEV,代码行数:17,代码来源:ext_tables.php

示例10: unserialize

<?php

$configuration = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['tt_news']);
if (isset($configuration['activateCategories']) && $configuration['activateCategories']) {
    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable('tt_news', 'tt_news');
}
开发者ID:Ecodev,项目名称:tt_news,代码行数:6,代码来源:ext_tables.php

示例11: die

<?php

use TYPO3\CMS\Core\Utility\GeneralUtility;
if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
// register plugin
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin('Ameos.' . $_EXTKEY, 'fe_filemanager', 'Frontend File Manager');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin('Ameos.' . $_EXTKEY, 'fe_filemanager_export', 'Frontend File Manager - Export plugin');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin('Ameos.' . $_EXTKEY, 'fe_filemanager_search', 'Frontend File Manager - Search form plugin');
// TCA
$TCA["tx_ameosfilemanager_domain_model_folder"] = array("ctrl" => array('title' => 'LLL:EXT:ameos_filemanager/Resources/Private/Language/locallang_db.xml:tx_ameosfilemanager_domain_model_folder', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'fe_group' => 'fe_group_read'), "default_sortby" => "ORDER BY crdate", "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "Configuration/Tca/Folder.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "ext_icon.gif", "searchFields" => "title, description, keywords", "rootLevel" => 1, "security" => array("ignoreRootLevelRestriction" => 1, "ignoreWebMountRestriction" => 1)), "feInterface" => array("fe_admin_fieldList" => "title,description,keywords,fe_groups_access,file,folders,"));
$TCA["tx_ameosfilemanager_domain_model_filedownload"] = array("ctrl" => array('title' => 'LLL:EXT:ameos_filemanager/Resources/Private/Language/locallang_db.xml:tx_ameosfilemanager_domain_model_filedownload', 'label' => 'file', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), "default_sortby" => "ORDER BY crdate", "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "Configuration/Tca/Filedownload.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "ext_icon.gif", "searchFields" => "file"), "feInterface" => array("fe_admin_fieldList" => "file,crdate,cruser_id,"));
// Categorization
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable('ameos_filemanager', 'tx_ameosfilemanager_domain_model_folder', 'cats', array('exclude' => FALSE));
// Added columns
$additionalColumnsMetadata = (include \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('ameos_filemanager') . 'Configuration/Tca/Metadata.php');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('sys_file_metadata', $additionalColumnsMetadata);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('sys_file_metadata', '--div--;LLL:EXT:ameos_filemanager/Resources/Private/Language/locallang_db.xml:tx_ameosfilemanager,datetime,no_read_access,fe_group_read, no_write_access,fe_group_write,keywords,fe_user_id,');
//Flexform
$TCA['tt_content']['types']['list']['subtypes_excludelist']['ameosfilemanager_fe_filemanager'] = 'layout,select_key,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist']['ameosfilemanager_fe_filemanager'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('ameosfilemanager_fe_filemanager', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/filemanager.xml');
$TCA['tt_content']['types']['list']['subtypes_excludelist']['ameosfilemanager_fe_filemanager_export'] = 'layout,select_key,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist']['ameosfilemanager_fe_filemanager_export'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('ameosfilemanager_fe_filemanager_export', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/export.xml');
$TCA['tt_content']['types']['list']['subtypes_excludelist']['ameosfilemanager_fe_filemanager_search'] = 'layout,select_key,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist']['ameosfilemanager_fe_filemanager_search'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('ameosfilemanager_fe_filemanager_search', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/search.xml');
// Typoscript
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/Typoscript/', 'Ameos file manager');
开发者ID:alagukannanKumaresan,项目名称:typo3-ter-ameos_filemanager,代码行数:31,代码来源:ext_tables.php

示例12: strtolower

/**
 * Plug-ins
 */
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin('Sle.' . $_EXTKEY, 'List', 'Accommodation List');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin('Sle.' . $_EXTKEY, 'Show', 'Accommodation Details');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin('Sle.' . $_EXTKEY, 'Reservation', 'Accommodation Reservation');
/**
 * FlexForms
 */
$pluginName = 'Reservation';
$flexFormFile = 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_reservation.xml';
$pluginSignature = strtolower(str_replace('_', '', $_EXTKEY) . '_' . $pluginName);
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'layout,select_key,pages,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, $flexFormFile);
/**
 * TCA
 */
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Accommodation');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_accommodation_domain_model_accommodation', 'EXT:accommodation/Resources/Private/Language/locallang_csh_tx_accommodation_domain_model_accommodation.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_accommodation_domain_model_accommodation');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_accommodation_domain_model_facility', 'EXT:accommodation/Resources/Private/Language/locallang_csh_tx_accommodation_domain_model_facility.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_accommodation_domain_model_facility');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_accommodation_domain_model_reservation', 'EXT:accommodation/Resources/Private/Language/locallang_csh_tx_accommodation_domain_model_reservation.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_accommodation_domain_model_reservation');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_accommodation_domain_model_salutation', 'EXT:accommodation/Resources/Private/Language/locallang_csh_tx_accommodation_domain_model_salutation.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_accommodation_domain_model_salutation');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_accommodation_domain_model_status', 'EXT:accommodation/Resources/Private/Language/locallang_csh_tx_accommodation_domain_model_status.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_accommodation_domain_model_status');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable($_EXTKEY, 'tx_accommodation_domain_model_accommodation');
开发者ID:hirnsturm,项目名称:accommodation,代码行数:30,代码来源:ext_tables.php

示例13: array

	--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.extended
';
// Field arrangement for CE "div"
$GLOBALS['TCA']['tt_content']['types']['div']['showitem'] = '
		--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
		header;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header.ALT.div_formlabel,rowDescription,
	--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.extended
';
// Field arrangement for CE "html"
$GLOBALS['TCA']['tt_content']['types']['html']['showitem'] = '
		--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
		header;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header.ALT.html_formlabel,rowDescription,
		bodytext;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:bodytext.ALT.html_formlabel,
	--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.extended
';
$GLOBALS['TCA']['tt_content']['columns']['section_frame']['config']['items'][0] = array('LLL:EXT:css_styled_content/Resources/Private/Language/locallang_db.xlf:tt_content.tx_cssstyledcontent_section_frame.I.0', '0');
$GLOBALS['TCA']['tt_content']['columns']['section_frame']['config']['items'][9] = array('LLL:EXT:css_styled_content/Resources/Private/Language/locallang_db.xlf:tt_content.tx_cssstyledcontent_section_frame.I.9', '66');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('css_styled_content', 'static/', 'CSS Styled Content');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('css_styled_content', 'Configuration/TypoScript/v7/', 'CSS Styled Content TYPO3 v7');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable('css_styled_content', 'tt_content', 'categories', array(), true);
开发者ID:TYPO3Incubator,项目名称:TYPO3.CMS,代码行数:30,代码来源:tt_content.php

示例14: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'Pi1', 'Gallery');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_pi1';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_pi1.xml');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Creative Gallery');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_creativegallery_domain_model_gallery', 'EXT:creativegallery/Resources/Private/Language/locallang_csh_tx_creativegallery_domain_model_gallery.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_creativegallery_domain_model_gallery');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_creativegallery_domain_model_sysfiletag', 'EXT:creativegallery/Resources/Private/Language/locallang_csh_tx_creativegallery_domain_model_sysfiletag.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_creativegallery_domain_model_sysfiletag');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable($_EXTKEY, 'tx_creativegallery_domain_model_gallery');
开发者ID:markussom,项目名称:creativeworkspace,代码行数:15,代码来源:ext_tables.php

示例15: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_sfeventmgt_domain_model_event', 'EXT:sf_event_mgt/Resources/Private/Language/locallang_csh_tx_sfeventmgt_domain_model_event.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_sfeventmgt_domain_model_event');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_sfeventmgt_domain_model_location', 'EXT:sf_event_mgt/Resources/Private/Language/locallang_csh_tx_sfeventmgt_domain_model_location.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_sfeventmgt_domain_model_location');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_sfeventmgt_domain_model_organisator', 'EXT:sf_event_mgt/Resources/Private/Language/locallang_csh_tx_sfeventmgt_domain_model_organisator.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_sfeventmgt_domain_model_organisator');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_sfeventmgt_domain_model_registration', 'EXT:sf_event_mgt/Resources/Private/Language/locallang_csh_tx_sfeventmgt_domain_model_registration.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_sfeventmgt_domain_model_registration');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_sfeventmgt_domain_model_priceoption', 'EXT:sf_event_mgt/Resources/Private/Language/locallang_csh_tx_sfeventmgt_domain_model_priceoption.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_sfeventmgt_domain_model_priceoption');
// Register Administration Module
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule('DERHANSEN.' . $_EXTKEY, 'web', 'tx_sfeventmgt_m1', '', ['Administration' => 'list, export, handleExpiredRegistrations, indexNotify, notify, settingsError'], ['access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/events.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_modadministration.xlf']);
// Add an extra categories selection field to the events table
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable('DERHANSEN.' . $_EXTKEY, 'tx_sfeventmgt_domain_model_event', 'category', ['label' => 'LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang.xlf:tx_sfeventmgt_domain_model_event.category', 'exclude' => false, 'fieldConfiguration' => ['foreign_table_where' => ' AND sys_category.sys_language_uid IN (-1, 0) ORDER BY sys_category.title ASC']]);
if (TYPO3_MODE === 'BE') {
    /* Add Backend folder icon */
    \TYPO3\CMS\Backend\Sprite\SpriteManager::addTcaTypeIcon('pages', 'contains-events', '../typo3conf/ext/sf_event_mgt/Resources/Public/Icons/events-folder.png');
    /* Add Backend folder icon to contains plugin select box */
    $GLOBALS['TCA']['pages']['columns']['module']['config']['items'][] = [0 => 'LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:events-folder', 1 => 'events', 2 => '../typo3conf/ext/sf_event_mgt/Resources/Public/Icons/events.gif'];
}
开发者ID:derhansen,项目名称:sf_event_mgt,代码行数:25,代码来源:ext_tables.php


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