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


PHP t3lib_extMgm::addModule方法代码示例

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


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

示例1: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array('name' => 'tx_version_cm1', 'path' => t3lib_extMgm::extPath($_EXTKEY) . 'class.tx_version_cm1.php');
    if (!t3lib_extMgm::isLoaded('workspaces')) {
        t3lib_extMgm::addModule('web', 'txversionM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'cm1/');
    }
}
开发者ID:NaveedWebdeveloper,项目名称:Test,代码行数:11,代码来源:ext_tables.php

示例2: array

t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/Examples/FilterPages/', 'Apache Solr Example - Filter to only show page results');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/Examples/IntroPackageSearchBox/', 'Apache Solr Example - Replace Introduction Package search box');
# ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- #
if (TYPO3_MODE == 'BE') {
    if (version_compare(TYPO3_version, '6.0.0', '>=')) {
        \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule('ApacheSolrForTypo3.' . $_EXTKEY, 'tools', 'administration', '', array('Administration' => 'index,setSite,setCore'), array('access' => 'admin', 'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Images/Icons/ModuleAdministration.png', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/ModuleAdministration.xlf'));
        $iconPath = $GLOBALS['PATHrel_solr'] . 'Resources/Public/Images/Icons/';
        \TYPO3\CMS\Backend\Sprite\SpriteManager::addSingleIcons(array('ModuleOverview' => $iconPath . 'Search.png', 'ModuleIndexQueue' => $iconPath . 'IndexQueue.png', 'ModuleIndexMaintenance' => $iconPath . 'IndexMaintenance.png', 'ModuleIndexFields' => $iconPath . 'IndexFields.png', 'ModuleSynonyms' => $iconPath . 'Synonyms.png'), $_EXTKEY);
        ApacheSolrForTypo3\Solr\Backend\SolrModule\AdministrationModuleManager::registerModule('ApacheSolrForTypo3.' . $_EXTKEY, 'Overview', array('index'));
        ApacheSolrForTypo3\Solr\Backend\SolrModule\AdministrationModuleManager::registerModule('ApacheSolrForTypo3.' . $_EXTKEY, 'IndexQueue', array('index,initializeIndexQueue'));
        ApacheSolrForTypo3\Solr\Backend\SolrModule\AdministrationModuleManager::registerModule('ApacheSolrForTypo3.' . $_EXTKEY, 'IndexMaintenance', array('index,cleanUpIndex,emptyIndex,reloadIndexConfiguration'));
        ApacheSolrForTypo3\Solr\Backend\SolrModule\AdministrationModuleManager::registerModule('ApacheSolrForTypo3.' . $_EXTKEY, 'IndexFields', array('index'));
        ApacheSolrForTypo3\Solr\Backend\SolrModule\AdministrationModuleManager::registerModule('ApacheSolrForTypo3.' . $_EXTKEY, 'Synonyms', array('index,addSynonyms,deleteSynonyms'));
    } else {
        t3lib_extMgm::addModulePath('tools_txsolrMAdmin', t3lib_extMgm::extPath($_EXTKEY) . 'ModAdmin/');
        t3lib_extMgm::addModule('tools', 'txsolrMAdmin', '', t3lib_extMgm::extPath($_EXTKEY) . 'ModAdmin/');
    }
    // registering reports
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['solr'] = array('Tx_Solr_Report_SchemaStatus', 'Tx_Solr_Report_SolrconfigStatus', 'Tx_Solr_Report_SolrConfigurationStatus', 'Tx_Solr_Report_SolrStatus', 'Tx_Solr_Report_SolrVersionStatus', 'Tx_Solr_Report_AccessFilterPluginInstalledStatus', 'Tx_Solr_Report_AllowUrlFOpenStatus', 'Tx_Solr_Report_FilterVarStatus');
    if (t3lib_utility_VersionNumber::convertVersionNumberToInteger(TYPO3_version) < 6000000) {
        // registering the index report with the reports module
        $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_solr']['index'] = array('title' => 'LLL:EXT:solr/Resources/Private/Language/ModuleReports.xml:index_title', 'description' => 'LLL:EXT:solr/Resources/Private/Language/ModuleReports.xml:index_description', 'report' => 'Tx_Solr_Report_IndexReport', 'icon' => 'EXT:solr/Report/tx_solr_report.gif');
    }
    // Index Inspector
    t3lib_extMgm::insertModuleFunction('web_info', 'Tx_Solr_ModIndex_IndexInspector', $GLOBALS['PATH_solr'] . 'ModIndex/IndexInspector.php', 'LLL:EXT:solr/Resources/Private/Language/Backend.xml:module_indexinspector');
    // register Clear Cache Menu hook
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['additionalBackendItems']['cacheActions']['clearSolrConnectionCache'] = '&Tx_Solr_ConnectionManager';
    // register Clear Cache Menu ajax call
    $TYPO3_CONF_VARS['BE']['AJAX']['solr::clearSolrConnectionCache'] = 'Tx_Solr_ConnectionManager->updateConnections';
    // hooking into TCE Main to monitor record updates that may require reindexing by the index queue
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass'][] = 'Tx_Solr_IndexQueue_RecordMonitor';
开发者ID:raimundlandig,项目名称:winkel.de-DEV,代码行数:31,代码来源:ext_tables.php

示例3: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    // module
    t3lib_extMgm::addModulePath('tools_txsolradminM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    t3lib_extMgm::addModule('tools', 'txsolradminM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    // module info
    t3lib_extMgm::insertModuleFunction('web_info', 'tx_solradmin_modfunc1', t3lib_extMgm::extPath($_EXTKEY) . 'modfunc1/class.tx_solradmin_modfunc1.php', 'Solr Admin');
}
$tasks = array('sitecheck', 'post');
foreach ($tasks as $task) {
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_' . $_EXTKEY . '_' . $task] = array('extension' => $_EXTKEY, 'title' => 'LLL:EXT:' . $_EXTKEY . '/mod1/locallang.xml:task.' . $task . '.name', 'description' => 'LLL:EXT:' . $_EXTKEY . '/mod1/locallang.xml:task.' . $task . '.description', 'additionalFields' => 'tx_' . $_EXTKEY . '_' . $task . '_fields');
}
开发者ID:Apen,项目名称:solradmin,代码行数:16,代码来源:ext_tables.php

示例4: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == "BE") {
    t3lib_extMgm::addModule("web", "txl10nmgrM1", "", t3lib_extMgm::extPath($_EXTKEY) . "mod1/");
    t3lib_extMgm::addModule("user", "txl10nmgrM2", "top", t3lib_extMgm::extPath($_EXTKEY) . "mod2/");
}
t3lib_extMgm::allowTableOnStandardPages("tx_l10nmgr_cfg");
t3lib_extMgm::addLLrefForTCAdescr('tx_l10nmgr_cfg', 'EXT:l10nmgr/locallang_csh_l10nmgr.php');
// Example for disabling localization of specific fields in tables like tt_content
// Add as many fields as you need
t3lib_div::loadTCA('tt_content');
//$TCA['tt_content']['columns']['imagecaption']['l10n_mode'] = 'exclude';
//$TCA['tt_content']['columns']['image']['l10n_mode'] = 'prefixLangTitle';
//$TCA['tt_content']['columns']['image']['l10n_display'] = 'defaultAsReadonly';
$TCA["tx_l10nmgr_cfg"] = array("ctrl" => array('title' => 'LLL:EXT:l10nmgr/locallang_db.xml:tx_l10nmgr_cfg', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', "default_sortby" => "ORDER BY title", "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "icon_tx_l10nmgr_cfg.gif"), "feInterface" => array("fe_admin_fieldList" => "title, depth, tablelist, exclude"));
$TCA["tx_l10nmgr_priorities"] = array("ctrl" => array('title' => 'LLL:EXT:l10nmgr/locallang_db.xml:tx_l10nmgr_priorities', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', "sortby" => "sorting", "delete" => "deleted", "rootLevel" => 1, "enablecolumns" => array("disabled" => "hidden"), "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "icon_tx_l10nmgr_priorities.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden, title, description, languages, element"));
$TCA["tx_l10nmgr_exportdata"] = array("ctrl" => array('title' => 'LLL:EXT:l10nmgr/locallang_db.xml:tx_l10nmgr_export', 'label' => 'title', 'l10ncfg_id' => 'l10ncfg_id', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'source_lang' => 'source_lang', 'translation_lang' => 'translation_lang', 'source_lang' => 'source_lang', "default_sortby" => "ORDER BY title", "delete" => "deleted", "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "icon_tx_l10nmgr_cfg.gif"), "feInterface" => array("fe_admin_fieldList" => "title, source_lang, l10ncfg_id, crdate, delete, exclude"));
if (TYPO3_MODE == "BE") {
    $GLOBALS["TBE_MODULES_EXT"]["xMOD_alt_clickmenu"]["extendCMclasses"][] = array("name" => "tx_l10nmgr_cm1", "path" => t3lib_extMgm::extPath($_EXTKEY) . "class.tx_l10nmgr_cm1.php");
    // Add context sensitive help (csh) for the Scheduler tasks
    t3lib_extMgm::addLLrefForTCAdescr('_tasks_txl10nmgr', 'EXT:' . $_EXTKEY . '/tasks/locallang_csh_tasks.xml');
}
开发者ID:rafu1987,项目名称:t3bootstrap-project,代码行数:25,代码来源:ext_tables.php

示例5: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    t3lib_extMgm::addModule('help', 'cshmanual', 'top', t3lib_extMgm::extPath($_EXTKEY) . 'mod/');
}
开发者ID:zsolt-molnar,项目名称:TYPO3-4.5-trunk,代码行数:8,代码来源:ext_tables.php

示例6: array

t3lib_extMgm::allowTableOnStandardPages('tx_myquizpoll_result');
$TCA['tx_myquizpoll_result'] = array('ctrl' => array('title' => 'LLL:EXT:myquizpoll/locallang_db.xml:tx_myquizpoll_result', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'default_sortby' => 'ORDER BY crdate', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_myquizpoll_result.gif'));
t3lib_extMgm::allowTableOnStandardPages('tx_myquizpoll_relation');
$TCA['tx_myquizpoll_relation'] = array('ctrl' => array('title' => 'LLL:EXT:myquizpoll/locallang_db.xml:tx_myquizpoll_relation', 'label' => 'uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'default_sortby' => 'ORDER BY crdate', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_myquizpoll_relation.gif'));
t3lib_extMgm::allowTableOnStandardPages('tx_myquizpoll_category');
$TCA['tx_myquizpoll_category'] = array('ctrl' => array('title' => 'LLL:EXT:myquizpoll/locallang_db.xml:tx_myquizpoll_category', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY name', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_myquizpoll_category.gif'));
$version = class_exists('t3lib_utility_VersionNumber') ? t3lib_utility_VersionNumber::convertVersionNumberToInteger(TYPO3_version) : t3lib_div::int_from_ver(TYPO3_version);
if ($version < 4008000) {
    t3lib_div::loadTCA('tt_content');
}
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:' . $_EXTKEY . '/flexform.xml');
t3lib_extMgm::addPlugin(array('LLL:EXT:myquizpoll/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'), 'list_type');
if (TYPO3_MODE == 'BE') {
    $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_myquizpoll_pi1_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'pi1/class.tx_myquizpoll_pi1_wizicon.php';
}
t3lib_extMgm::addStaticFile($_EXTKEY, 'pi1/static/', 'My quiz and poll: default styles');
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/defaultsettings/', 'My quiz and poll: default settings');
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/starrating/', 'My quiz and poll: star rating (question type)');
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/uistars/', 'My quiz and poll: star rating (rating)');
$TCA['pages']['columns']['module']['config']['items'][] = array('My Quiz and Poll', 'myquizpoll', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon_myquizpoll_folder.gif');
if ($version >= 4004000) {
    t3lib_SpriteManager::addTcaTypeIcon('pages', 'contains-myquizpoll', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon_myquizpoll_folder.gif');
} else {
    $ICON_TYPES['myquizpoll'] = array('icon' => t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon_myquizpoll_folder.gif');
}
if (TYPO3_MODE == 'BE') {
    t3lib_extMgm::addModulePath('web_txmyquizpollM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    t3lib_extMgm::addModule('web', 'txmyquizpollM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
}
开发者ID:woehrlag,项目名称:Intranet,代码行数:31,代码来源:ext_tables.php

示例7:

/**
 * TYPO3 Extension configuration for the tx_phpmyadmin Extension
 *
 * @author		mehrwert <typo3@mehrwert.de>
 * @package		TYPO3
 * @subpackage	tx_phpmyadmin
 * @license		GPL
 * @version		$Id: ext_tables.php 30792 2010-03-05 22:55:26Z mehrwert $
 */

if (!defined ('TYPO3_MODE')) {
	die ('Access denied.');
}

// If the backend is loaded, add the module
if (TYPO3_MODE == 'BE') {
	t3lib_extMgm::addModule('tools', 'txphpmyadmin', '', t3lib_extMgm::extPath($_EXTKEY) . 'modsub/');
}

// Require the utilities class and define logoff method for hook
@require_once(t3lib_extMgm::extPath('phpmyadmin').'res/class.tx_phpmyadmin_utilities.php');

// Do not load post processing class if TYPO3 is in CLI mode
if (!defined('TYPO3_cliMode') || !TYPO3_cliMode) {
	$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_post_processing'][] = 'tx_phpmyadmin_utilities->pmaLogOff';
}

// The subdirectory where the pMA source is located (used for cookie removal and script inclusion)
$TYPO3_CONF_VARS['EXTCONF']['phpmyadmin']['pmaDirname'] = 'phpMyAdmin-3.2.5-all-languages';

?>
开发者ID:blumenbach,项目名称:blumenbach-online.de,代码行数:31,代码来源:ext_tables.php

示例8: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$TCA['sys_language']['columns']['disabled_in_menu'] = array('exclude' => 1, 'label' => 'LLL:EXT:go_language/locallang_db.xml:disabled_in_menu', 'config' => array('type' => 'check', 'default' => '0'));
$TCA['sys_language']['types'][1]['showitem'] .= ',disabled_in_menu';
if (TYPO3_MODE == 'BE') {
    $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid', 'sys_language', '');
    if ($GLOBALS['TYPO3_DB']->sql_num_rows($res)) {
        t3lib_extMgm::addModulePath('web_txgolanguageM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
        t3lib_extMgm::addModule('web', 'txgolanguageM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    }
}
开发者ID:NaveedWebdeveloper,项目名称:Test,代码行数:14,代码来源:ext_tables.php

示例9: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$_EXTCONF = unserialize($_EXTCONF);
if (TYPO3_MODE == 'BE' and $_EXTCONF['log']) {
    t3lib_extMgm::addModule('tools', 'txnawsecuredlM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'modLog/');
}
unset($_EXTCONF);
开发者ID:IngoMueller,项目名称:naw_securedl,代码行数:10,代码来源:ext_tables.php

示例10: array

t3lib_div::loadTCA("fe_users");
t3lib_extMgm::addTCAcolumns("fe_users", $tempColumns, 1);
t3lib_extMgm::addToAllTCAtypes("fe_users", "firstname;;;;1-1-1");
t3lib_extMgm::addToAllTCAtypes("fe_users", "tx_fbmagento_id;;;;1-1-1");
// add store mapping
$tempColumns = array("tx_fbmagento_store" => array("exclude" => 0, "label" => "LLL:EXT:fb_magento/locallang_db.xml:sys_language.tx_fbmagento_store", "config" => array("type" => "select", "itemsProcFunc" => "EXT:fb_magento/lib/class.tx_fbmagento_tcafields.php:tx_fbmagento_tcafields->itemsProcFunc_languages", "maxitems" => 1)));
t3lib_div::loadTCA("sys_language");
t3lib_extMgm::addTCAcolumns("sys_language", $tempColumns, 1);
t3lib_extMgm::addToAllTCAtypes("sys_language", "tx_fbmagento_store;;;;1-1-1");
// add group mapping
$tempColumns = array("tx_fbmagento_group" => array("exclude" => 0, "label" => "LLL:EXT:fb_magento/locallang_db.xml:be_users.tx_fbmagento_group", "config" => array("type" => "select", "items" => array(array('LLL:EXT:fb_magento/locallang_db.xml:be_users.tx_fbmagento_group.0', '')), "itemsProcFunc" => "EXT:fb_magento/lib/class.tx_fbmagento_tcafields.php:tx_fbmagento_tcafields->itemsProcFunc_usergroups", "maxitems" => 1)));
t3lib_div::loadTCA("be_users");
t3lib_extMgm::addTCAcolumns("be_users", $tempColumns, 1);
t3lib_extMgm::addToAllTCAtypes("be_users", "tx_fbmagento_group;;;;1-1-1");
if (TYPO3_MODE == "BE") {
    // add module after 'Web'
    if (!isset($TBE_MODULES['txfbmagentoMgroup'])) {
        $temp_TBE_MODULES = array();
        foreach ($TBE_MODULES as $key => $val) {
            $temp_TBE_MODULES[$key] = $val;
            if ($key == 'web') {
                $temp_TBE_MODULES['txfbmagentoMgroup'] = $val;
            }
        }
        $TBE_MODULES = $temp_TBE_MODULES;
    }
    // add group module
    t3lib_extMgm::addModule('txfbmagentoMgroup', '', '', t3lib_extmgm::extPath($_EXTKEY) . 'mod_group/');
    // add admin module
    t3lib_extMgm::addModule('txfbmagentoMgroup', 'txfbmagentoMadmin', '', t3lib_extmgm::extPath($_EXTKEY) . 'mod_admin/');
}
开发者ID:maffen,项目名称:TypoGento,代码行数:31,代码来源:ext_tables.php

示例11: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/', 'betatext');
$TCA['tx_webetatext_text'] = array('ctrl' => array('title' => 'LLL:EXT:we_betatext/locallang_db.xml:tx_webetatext_text', 'label' => 'TextID', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'fe_cruser_id' => 'fe_cruser_id', 'default_sortby' => 'ORDER BY crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_webetatext_text.gif'));
$TCA['tx_webetatext_comment'] = array('ctrl' => array('title' => 'LLL:EXT:we_betatext/locallang_db.xml:tx_webetatext_comment', 'label' => 'Content', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'fe_cruser_id' => 'fe_cruser_id', 'default_sortby' => 'ORDER BY crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_webetatext_comment.gif'));
$TCA['tx_webetatext_vote'] = array('ctrl' => array('title' => 'LLL:EXT:we_betatext/locallang_db.xml:tx_webetatext_vote', 'label' => 'uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'fe_cruser_id' => 'fe_cruser_id', 'default_sortby' => 'ORDER BY crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_webetatext_voting.gif'));
$TCA['tx_webetatext_process'] = array('ctrl' => array('title' => 'LLL:EXT:we_betatext/locallang_db.xml:tx_webetatext_process', 'label' => 'StepIndex', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY sort', 'sortby' => 'sort', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_webetatext_process.gif'));
t3lib_extMgm::allowTableOnStandardPages("tx_webetatext_process");
$addColumns = array('tx_webetatext_logo' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:fe_users.tx_webetatext_logo', 'config' => array('type' => 'group', 'internal_type' => 'file', 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'], 'max_size' => 1000, 'uploadfolder' => 'uploads/tx_webetatext', 'show_thumbs' => 1, 'size' => 1, 'minitems' => 0, 'maxitems' => 1)), 'tx_webetatext_verified' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:fe_users.tx_webetatext_verified', 'config' => array('type' => 'check', 'default' => '1')), 'tx_webetatext_verification_requested' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:fe_users.tx_webetatext_verification_requested', 'config' => array('type' => 'check', 'default' => '0')));
t3lib_extMgm::addTCAcolumns('fe_users', $addColumns, true);
t3lib_extMgm::addToAllTCATypes('fe_users', '--div--;betatext,tx_webetatext_logo,tx_webetatext_verification_requested,tx_webetatext_verified;;;;1-1-1');
/* Seiteneinstellungen */
$TCA['pages']['columns']['doktype']['config']['items'][] = array('betatext: kommentierbare Seite', 124, 'EXT:we_betatext/icons/bbt-page.gif');
t3lib_SpriteManager::addTcaTypeIcon('pages', '124', '../typo3conf/ext/we_betatext/icons/bbt-page.png');
$addColumns = array('tx_webetatext_enable' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:pages.tx_webetatext_enable', 'config' => array('type' => 'check', 'default' => '0')), 'tx_webetatext_infomail_to' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:pages.tx_webetatext_infomail_to', 'config' => array('type' => 'input', 'size' => '20', 'max' => '50', 'eval' => 'trim', 'default' => '')), 'tx_webetatext_pstep_title' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:pages.tx_webetatext_pstep_title', 'config' => array('type' => 'input', 'size' => '20', 'max' => '50', 'eval' => 'trim', 'default' => '')));
t3lib_extMgm::addTCAcolumns('pages', $addColumns, true);
t3lib_extMgm::addToAllTCAtypes('pages', '--div--;betatext,tx_webetatext_enable,tx_webetatext_infomail_to,tx_webetatext_pstep_title;;;;1-1-1');
if (TYPO3_MODE == 'BE') {
    t3lib_extMgm::addModulePath('web_txwwbbtM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    t3lib_extMgm::addModule('web', 'txwwbbtM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
}
开发者ID:sjakk,项目名称:betatext,代码行数:24,代码来源:ext_tables.php

示例12: array

if (!class_exists('tx_templavoila_div')) {
	require_once(t3lib_extMgm::extPath($_EXTKEY) . 'classes/class.tx_templavoila_div.php');
}

if (TYPO3_MODE=='BE') {

		// Adding click menu item:
	$GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array(
		'name' => 'tx_templavoila_cm1',
		'path' => t3lib_extMgm::extPath($_EXTKEY).'class.tx_templavoila_cm1.php'
	);
	include_once(t3lib_extMgm::extPath('templavoila').'class.tx_templavoila_handlestaticdatastructures.php');

		// Adding backend modules:
	t3lib_extMgm::addModule('web','txtemplavoilaM1','top',t3lib_extMgm::extPath($_EXTKEY).'mod1/');
	t3lib_extMgm::addModule('web','txtemplavoilaM2','',t3lib_extMgm::extPath($_EXTKEY).'mod2/');

		// Remove default Page module (layout) manually if wanted:
	if (!$_EXTCONF['enable.']['oldPageModule']) {
		$tmp = $GLOBALS['TBE_MODULES']['web'];
		$GLOBALS['TBE_MODULES']['web'] = str_replace (',,',',',str_replace ('layout','',$tmp));
		unset ($GLOBALS['TBE_MODULES']['_PATHS']['web_layout']);
	}

		// Registering CSH:
	t3lib_extMgm::addLLrefForTCAdescr('be_groups','EXT:templavoila/locallang_csh_begr.xml');
	t3lib_extMgm::addLLrefForTCAdescr('pages','EXT:templavoila/locallang_csh_pages.xml');
	t3lib_extMgm::addLLrefForTCAdescr('tt_content','EXT:templavoila/locallang_csh_ttc.xml');
	t3lib_extMgm::addLLrefForTCAdescr('tx_templavoila_datastructure','EXT:templavoila/locallang_csh_ds.xml');
	t3lib_extMgm::addLLrefForTCAdescr('tx_templavoila_tmplobj','EXT:templavoila/locallang_csh_to.xml');
	t3lib_extMgm::addLLrefForTCAdescr('xMOD_tx_templavoila','EXT:templavoila/locallang_csh_module.xml');
开发者ID:rafu1987,项目名称:t3bootstrap-project,代码行数:31,代码来源:ext_tables.php

示例13: defined

<?php

/**
 * Contexts WURFL extension tables configuration.
 *
 * PHP version 5
 *
 * @category   Contexts
 * @package    WURFL
 * @subpackage Configuration
 * @author     Rico Sonntag <rico.sonntag@netresearch.de>
 */
defined('TYPO3_MODE') or die('Access denied.');
if (TYPO3_MODE === 'BE') {
    // All other modes did load it already
    require_once t3lib_extMgm::extPath($_EXTKEY) . 'ext_contexts.php';
    t3lib_extMgm::addModule('tools', 'txcontextswurfl', '', t3lib_extMgm::extPath($_EXTKEY) . 'Classes/Backend/Modules/Admin/');
}
开发者ID:pwodaniilea,项目名称:t3x-contexts_wurfl,代码行数:18,代码来源:ext_tables.php

示例14: max

$TCA['tt_content']['columns']['select_key']['config']['wizards']['link']['JSopenParams'] = 'height=400,width=600,status=0,menubar=0,scrollbars=1';
$TCA['tt_content']['columns']['select_key']['config']['eval'] = 'trim';
// t3lib_extMgm::addToAllTCAtypes('tt_content','tx_hetools_filelist_layout', 'uploads', 'after:select_key');
// zusätzliche Felder als Palette einfügen
// Neue Palette erzeugen
$palettenNr = max(array_keys($TCA['tt_content']['palettes'])) + 1;
$TCA['tt_content']['palettes'][$palettenNr] = array();
$TCA['tt_content']['palettes'][$palettenNr]['showitem'] = 'tx_hetools_filelist_dateitypen, ' . 'tx_hetools_filelist_sortierfeld, ' . 'tx_hetools_filelist_sortierung, ' . '--linebreak--, ' . 'tx_hetools_filelist_layout';
$TCA['tt_content']['palettes'][$palettenNr]['canNotCollapse'] = '1';
t3lib_extMgm::addToAllTCAtypes('tt_content', '--palette--;Optionen zu den Dateiverweisen;' . $palettenNr, 'uploads', 'after:select_key');
// Feld 'layout' im Bereich upload ausblenden
$uploadItems = explode(',', $TCA['tt_content']['types']['uploads']['showitem']);
foreach ($uploadItems as $index => $text) {
    $eintrag = trim($text);
    if (strpos($eintrag, 'layout') !== FALSE && strpos($eintrag, 'layout') == 0) {
        unset($uploadItems[$index]);
    }
}
$TCA['tt_content']['types']['uploads']['showitem'] = implode(',', $uploadItems);
// Ende Dateiverweise
$damColumns = array('tx_hetools_dam_sortiernummer' => array('exclude' => 1, 'label' => 'Sortiernummer', 'config' => array('type' => 'input', 'size' => '3')));
t3lib_div::loadTCA('tx_dam');
t3lib_extMgm::addTCAcolumns('tx_dam', $damColumns, 1);
t3lib_extMgm::addToAllTCAtypes('tx_dam', 'tx_hetools_dam_sortiernummer');
$TCA['tx_dam']['txdamInterface']['index_fieldList'] .= ',tx_hetools_dam_sortiernummer';
// Kontext-sensitive Hilfetexte ändern
t3lib_extMgm::addLLrefForTCAdescr('tt_content', 'EXT:he_tools/lang/locallang_csh_tt_content.php');
if (TYPO3_MODE == 'BE') {
    t3lib_extMgm::addModulePath('web_txhetoolsM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    t3lib_extMgm::addModule('web', 'txhetoolsM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
}
开发者ID:mmirsch,项目名称:he_tools1,代码行数:31,代码来源:ext_tables.php

示例15: array

 //		'LLL:EXT:dam/modfunc_list_editsel/locallang.xml:tx_dam_list_editsel.title'
 //	);
 t3lib_extMgm::insertModuleFunction('txdamM1_list', 'tx_dam_list_batch', PATH_txdam . 'modfunc_list_batch/class.tx_dam_list_batch.php', 'LLL:EXT:dam/modfunc_list_batch/locallang.xml:tx_dam_list_batch.title');
 // add the info module and the info->reference modfunc (previously dam_info)
 t3lib_extMgm::addModule('txdamM1', 'info', '', PATH_txdam . 'mod_info/');
 t3lib_extMgm::insertModuleFunction('txdamM1_info', 'tx_dam_info_reference', PATH_txdam . 'modfunc_info_reference/class.tx_dam_info_reference.php', 'LLL:EXT:dam/modfunc_info_reference/locallang.xml:tx_dam_info_reference.title');
 t3lib_extMgm::addModule('txdamM1', 'tools', '', PATH_txdam . 'mod_tools/');
 if (t3lib_extMgm::isLoaded('dam_index')) {
     t3lib_extMgm::insertModuleFunction('txdamM1_tools', 'tx_dam_tools_indexsetup', PATH_txdam . 'modfunc_tools_indexsetup/class.tx_dam_tools_indexsetup.php', 'LLL:EXT:dam/modfunc_tools_indexsetup/locallang.xml:tx_dam_tools_indexsetup.title');
 }
 t3lib_extMgm::insertModuleFunction('txdamM1_tools', 'tx_dam_tools_indexupdate', PATH_txdam . 'modfunc_tools_indexupdate/class.tx_dam_tools_indexupdate.php', 'LLL:EXT:dam/modfunc_tools_indexupdate/locallang.xml:tx_dam_tools_indexupdate.title');
 t3lib_extMgm::insertModuleFunction('txdamM1_tools', 'tx_dam_tools_config', PATH_txdam . 'modfunc_tools_config/class.tx_dam_tools_config.php', 'LLL:EXT:dam/modfunc_tools_config/locallang.xml:tx_dam_tools_config.title');
 t3lib_extMgm::insertModuleFunction('txdamM1_tools', 'tx_dam_tools_serviceinfo', PATH_txdam . 'modfunc_tools_serviceinfo/class.tx_dam_tools_serviceinfo.php', 'LLL:EXT:dam/lib/locallang.xml:serviceinfo');
 t3lib_extMgm::insertModuleFunction('txdamM1_tools', 'tx_dam_tools_mimetypes', PATH_txdam . 'modfunc_tools_mimetypes/class.tx_dam_tools_mimetypes.php', 'LLL:EXT:dam/lib/locallang.xml:mimetypes');
 // command modules (invisible)
 t3lib_extMgm::addModule('txdamM1', 'cmd', '', PATH_txdam . 'mod_cmd/');
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_nothing', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_nothing.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_nothing.title');
 // file command modules (invisible)
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_filerename', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_filerename.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filerename.title');
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_filereplace', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_filereplace.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filereplace.title');
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_filedelete', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_filedelete.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filedelete.title');
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_filecopy', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_filecopymove.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filecopy.title');
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_filemove', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_filecopymove.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filemove.title');
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_filenew', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_filenew.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filenew.title');
 // folder command modules (invisible)
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_foldernew', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_foldernew.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_foldernew.title');
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_folderdelete', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_folderdelete.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filerename.title');
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_folderrename', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_folderrename.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filerename.title');
 // add context menu
 $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array('name' => 'tx_dam_cm_record', 'path' => PATH_txdam . 'binding/be/class.tx_dam_cm_record.php');
 $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array('name' => 'tx_dam_cm_file', 'path' => PATH_txdam . 'binding/be/class.tx_dam_cm_file.php');
开发者ID:NaveedWebdeveloper,项目名称:Test,代码行数:31,代码来源:ext_tables.php


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