本文整理汇总了PHP中TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath方法的典型用法代码示例。如果您正苦于以下问题:PHP ExtensionManagementUtility::addModulePath方法的具体用法?PHP ExtensionManagementUtility::addModulePath怎么用?PHP ExtensionManagementUtility::addModulePath使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TYPO3\CMS\Core\Utility\ExtensionManagementUtility
的用法示例。
在下文中一共展示了ExtensionManagementUtility::addModulePath方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'news', 'LLL:EXT:go_multilang/Resources/Private/Language/locallang_db.xlf:tx_gomultilang_domain_model_newsdata.title');
$TCA['tt_content']['types']['gomultilang_news']['showitem'] = '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
newsdata';
Gosign\GoBackend\Wizard\NewContentElement::addPluginToWizard('gomultilang_news', array('title' => 'Multi Language', 'description' => 'this is a plugin for performing mutliple languages task in database for lerning purpose'));
#
#Register your module
#
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule('go_module', '', '', 'EXT:' . $_EXTKEY . '/Modules/', array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml'));
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule('Gosign.' . $_EXTKEY, 'go_module', '', '', array());
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('go_module', 'EXT:' . $_EXTKEY . '/Modules/');
#
#END Mudule
#
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Multi Language');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_gomultilang_domain_model_newsdata', 'EXT:go_multilang/Resources/Private/Language/locallang_csh_tx_gomultilang_domain_model_newsdata.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_gomultilang_domain_model_newsdata');
示例2:
label = LLL:EXT:impexp/app/locallang.xlf:export
spriteIcon = actions-document-export-t3d
callbackAction = exportT3d
}
9200 = ITEM
9200 {
name = importT3d
label = LLL:EXT:impexp/app/locallang.xlf:import
spriteIcon = actions-document-import-t3d
callbackAction = importT3d
}
';
// Context menu user default configuration
$GLOBALS['TYPO3_CONF_VARS']['BE']['defaultUserTSconfig'] .= '
options.contextMenu.table {
virtual_root.items {
' . $importExportActions . '
}
pages_root.items {
' . $importExportActions . '
}
pages.items.1000 {
' . $importExportActions . '
}
}
';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('xMOD_tximpexp', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'app/');
}
示例3: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
if (TYPO3_MODE === 'BE') {
// Add module
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('web_txrecyclerM1', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod1/');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule('web', 'txrecyclerM1', '', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod1/');
}
示例4: array
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript/Examples/EverythingOn/', 'Apache Solr Example - Everything On');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript/Examples/FilterPages/', 'Apache Solr Example - Filter to only show page results');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::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 {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('tools_txsolrMAdmin', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'ModAdmin/');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule('tools', 'txsolrMAdmin', '', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::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 (\TYPO3\CMS\Core\Utility\VersionNumberUtility::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
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::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
示例5: unset
}
unset($htmlAreaRteContextHelpFiles);
// Extend TYPO3 User Settings Configuration
if (TYPO3_MODE === 'BE' && \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('setup') && is_array($GLOBALS['TYPO3_USER_SETTINGS'])) {
$GLOBALS['TYPO3_USER_SETTINGS']['columns'] = array_merge($GLOBALS['TYPO3_USER_SETTINGS']['columns'], array('rteWidth' => array('type' => 'text', 'label' => 'LLL:EXT:rtehtmlarea/locallang.xlf:rteWidth', 'csh' => 'xEXT_rtehtmlarea_General:rteWidth'), 'rteHeight' => array('type' => 'text', 'label' => 'LLL:EXT:rtehtmlarea/locallang.xlf:rteHeight', 'csh' => 'xEXT_rtehtmlarea_General:rteHeight'), 'rteResize' => array('type' => 'check', 'label' => 'LLL:EXT:rtehtmlarea/locallang.xlf:rteResize', 'csh' => 'xEXT_rtehtmlarea_General:rteResize'), 'rteMaxHeight' => array('type' => 'text', 'label' => 'LLL:EXT:rtehtmlarea/locallang.xlf:rteMaxHeight', 'csh' => 'xEXT_rtehtmlarea_General:rteMaxHeight'), 'rteCleanPasteBehaviour' => array('type' => 'select', 'label' => 'LLL:EXT:rtehtmlarea/htmlarea/plugins/PlainText/locallang.xlf:rteCleanPasteBehaviour', 'items' => array('plainText' => 'LLL:EXT:rtehtmlarea/htmlarea/plugins/PlainText/locallang.xlf:plainText', 'pasteStructure' => 'LLL:EXT:rtehtmlarea/htmlarea/plugins/PlainText/locallang.xlf:pasteStructure', 'pasteFormat' => 'LLL:EXT:rtehtmlarea/htmlarea/plugins/PlainText/locallang.xlf:pasteFormat'), 'csh' => 'xEXT_rtehtmlarea_PlainText:behaviour')));
$GLOBALS['TYPO3_USER_SETTINGS']['showitem'] .= ',--div--;LLL:EXT:rtehtmlarea/locallang.xlf:rteSettings,rteWidth,rteHeight,rteResize,rteMaxHeight,rteCleanPasteBehaviour';
}
if (TYPO3_MODE === 'BE') {
// Register RTE element browser wizard
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('rtehtmlarea_wizard_element_browser', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod3/');
// Register RTE wizard_select_image
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('rtehtmlarea_wizard_select_image', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod4/');
// Register RTE wizard_user
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('rtehtmlarea_wizard_user', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod5/');
// Register RTE wizard_user
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('rtehtmlarea_wizard_parse_html', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod6/');
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadNewTcaColumnsConfigFiles();
/**
* Extension: sys_note
* File: C:/xampp/htdocs/typo3_6.2.14/typo3/sysext/sys_note/ext_tables.php
*/
$_EXTKEY = 'sys_note';
$_EXTCONF = $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY];
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('sys_note');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_note', 'EXT:sys_note/Resources/Private/Language/locallang_csh_sysnote.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadNewTcaColumnsConfigFiles();
/**
开发者ID:KarlDennisMatthaei1923,项目名称:PierraaDesign,代码行数:31,代码来源:ext_tables_85b0b72e6c389a34572fa3532891d3a4ee21fec7.php
示例6: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
if (TYPO3_MODE === 'BE') {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('tools_install', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod/');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule('tools', 'install', '', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod/');
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['typo3'][] = 'TYPO3\\CMS\\Install\\Report\\InstallStatusReport';
}
示例7: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_gridelements_backend_layout');
if (TYPO3_MODE === 'BE') {
include_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('gridelements') . 'Classes/Backend/TtContent.php';
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript/', 'Gridelements');
// Register backend_layout wizard
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('wizard_gridelements_backend_layout', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Wizard/');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:gridelements/Resources/Private/Language/locallang_db.xml:tt_content.CType_pi1', $_EXTKEY . '_pi1', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'ext_icon.gif'), 'CType');
// Hooks
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['tt_content_drawItem'][] = 'EXT:gridelements/Classes/Hooks/DrawItem.php:GridElementsTeam\\Gridelements\\Hooks\\DrawItem';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms']['db_new_content_el']['wizardItemsHook'][] = 'EXT:gridelements/Classes/Hooks/WizardItems.php:GridElementsTeam\\Gridelements\\Hooks\\WizardItems';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass'][] = 'EXT:gridelements/Classes/Hooks/DataHandler.php:GridElementsTeam\\Gridelements\\Hooks\\DataHandler';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:gridelements/Classes/Hooks/DataHandler.php:GridElementsTeam\\Gridelements\\Hooks\\DataHandler';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['moveRecordClass'][] = 'EXT:gridelements/Classes/Hooks/DataHandler.php:GridElementsTeam\\Gridelements\\Hooks\\DataHandler';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['getFlexFormDSClass'][] = 'EXT:gridelements/Classes/Hooks/BackendUtilityGridelements.php:GridElementsTeam\\Gridelements\\Hooks\\BackendUtilityGridelements';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tx_templavoila_api']['apiIsRunningTCEmain'] = TRUE;
if (TYPO3_MODE === 'BE') {
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-preProcess'][] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Hooks/PageRenderer.php:GridElementsTeam\\Gridelements\\Hooks\\PageRenderer->addJSCSS';
}
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/class.db_list.inc']['makeQueryArray'][] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Hooks/AbstractDatabaseRecordList.php:GridElementsTeam\\Gridelements\\Hooks\\AbstractDatabaseRecordList';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/class.db_list_extra.inc']['actions'][] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Hooks/DatabaseRecordList.php:GridElementsTeam\\Gridelements\\Hooks\\DatabaseRecordList';
$GLOBALS['TYPO3_USER_SETTINGS']['columns']['dragAndDropHideNewElementWizardInfoOverlay'] = array('type' => 'check', 'label' => 'LLL:EXT:gridelements/Resources/Private/Language/locallang_db.xml:dragAndDropHideNewElementWizardInfoOverlay');
$GLOBALS['TYPO3_USER_SETTINGS']['columns']['hideColumnHeaders'] = array('type' => 'check', 'label' => 'LLL:EXT:gridelements/Resources/Private/Language/locallang_db.xml:hideColumnHeaders');
$GLOBALS['TYPO3_USER_SETTINGS']['columns']['hideContentPreview'] = array('type' => 'check', 'label' => 'LLL:EXT:gridelements/Resources/Private/Language/locallang_db.xml:hideContentPreview');
$GLOBALS['TYPO3_USER_SETTINGS']['columns']['showGridInformation'] = array('type' => 'check', 'label' => 'LLL:EXT:gridelements/Resources/Private/Language/locallang_db.xml:showGridInformation');
$GLOBALS['TYPO3_USER_SETTINGS']['showitem'] .= ',--div--;LLL:EXT:gridelements/Resources/Private/Language/locallang_db.xml:gridElements,dragAndDropHideNewElementWizardInfoOverlay,hideColumnHeaders,hideContentPreview,showGridInformation';
示例8: defined
<?php
defined('TYPO3_MODE') or die;
if (TYPO3_MODE == 'BE') {
if (!\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('workspaces')) {
// Register version_click_module
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('web_txversionM1', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'cm1/');
$GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array('name' => \TYPO3\CMS\Version\ClickMenu\VersionClickMenu::class);
}
}
示例9: defined
<?php
defined('TYPO3_MODE') or die;
if (TYPO3_MODE === 'BE') {
// Register record history module
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('record_history', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/RecordHistory/');
// Register file_edit
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('file_edit', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Edit/');
// Register file_newfolder
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('file_newfolder', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Newfolder/');
// Register file_rename
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('file_rename', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Rename/');
// Register file_rename
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('file_upload', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Upload/');
// Register edit wizard
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('wizard_edit', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/EditWizard/');
// Register add wizard
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('wizard_add', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/AddWizard/');
// Register list wizard
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('wizard_list', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/ListWizard/');
// Register table wizard
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('wizard_table', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/TableWizard/');
// Register forms wizard
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('wizard_forms', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/FormsWizard/');
// Register rte wizard
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('wizard_rte', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/RteWizard/');
// Register colorpicker wizard
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('wizard_colorpicker', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/ColorpickerWizard/');
// Register backend_layout wizard
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('wizard_backend_layout', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/BackendLayoutWizard/');
}
示例10: array
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('tce_db', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Database/');
// Register tce_file
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('tce_file', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Administration/');
// Register edit wizard
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('wizard_edit', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/EditWizard/');
// Register add wizard
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('wizard_add', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/AddWizard/');
// Register list wizard
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('wizard_list', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/ListWizard/');
// Register table wizard
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('wizard_table', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/TableWizard/');
// Register rte wizard
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('wizard_rte', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/RteWizard/');
// Register colorpicker wizard
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('wizard_colorpicker', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/ColorpickerWizard/');
// Register backend_layout wizard
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('wizard_backend_layout', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/BackendLayoutWizard/');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule('web', 'layout', 'top', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Layout/', array('script' => '_DISPATCH', 'access' => 'user,group', 'name' => 'web_layout', 'labels' => array('tabs_images' => array('tab' => '../../Resources/Public/Icons/module-page.svg'), 'll_ref' => 'LLL:EXT:backend/Resources/Private/Language/locallang_mod.xlf')));
// Register new record
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('db_new', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/NewRecord/');
// Register new content element module
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('new_content_element', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/NewContentElement/');
// Register move element module
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('move_element', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/MoveElement/');
// Register show item module
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('show_item', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/ShowItem/');
// Register browser
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('browser', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Browser/');
// Register dummy window
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('dummy', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Dummy/');
}
示例11:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui-1.10.x/ui-darkness', 'T3JQUERY Style: UI UI-Darkness');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui-1.10.x/ui-lightness', 'T3JQUERY Style: UI UI-Lightness');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui-1.10.x/vader', 'T3JQUERY Style: UI Vader');
} else {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/blitzer', 'T3JQUERY Style: UI Blitzer');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/cupertino', 'T3JQUERY Style: UI Cupertino');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/dark-hive', 'T3JQUERY Style: UI Dark-Hive');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/eggplant', 'T3JQUERY Style: UI Eggplant');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/excite-bike', 'T3JQUERY Style: UI Excite-Bike');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/flick', 'T3JQUERY Style: UI Flick');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/hot-sneaks', 'T3JQUERY Style: UI Hot-Sneaks');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/humanity', 'T3JQUERY Style: UI Humanity');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/le-frog', 'T3JQUERY Style: UI Le-Frog');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/overcast', 'T3JQUERY Style: UI Overcast');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/pepper-grinder', 'T3JQUERY Style: UI Pepper-Grinder');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/redmond', 'T3JQUERY Style: UI Redmond');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/smoothness', 'T3JQUERY Style: UI Smoothness');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/south-street', 'T3JQUERY Style: UI South-Street');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/start', 'T3JQUERY Style: UI Start');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/sunny', 'T3JQUERY Style: UI Sunny');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/typo3', 'T3JQUERY Style: UI Typo3');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/ui-darkness', 'T3JQUERY Style: UI UI-Darkness');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/ui-lightness', 'T3JQUERY Style: UI UI-Lightness');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Resources/Public/Static/ui/vader', 'T3JQUERY Style: UI Vader');
}
}
if (!$confArr['integrateFromCDN']) {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('tools_txt3jqueryM1', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Module/');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule('tools', 'txt3jqueryM1', '', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Module/');
}
}
示例12: defined
<?php
defined('TYPO3_MODE') or die;
if (TYPO3_MODE === 'BE') {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('web_list', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod1/');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule('web', 'list', '', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod1/', array('script' => '_DISPATCH', 'access' => 'user,group', 'name' => 'web_list', 'labels' => array('tabs_images' => array('tab' => '../Resources/Public/Icons/module-list.png'), 'll_ref' => 'LLL:EXT:lang/locallang_mod_web_list.xlf')));
// Register element browser wizard
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('wizard_element_browser', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/ElementBrowserWizard/');
}
示例13: defined
<?php
defined('TYPO3_MODE') || die;
if (TYPO3_MODE === 'BE') {
if (version_compare(TYPO3_version, '7.6', '<')) {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('xMOD_tximageautoresize', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod1/');
}
}
示例14: defined
<?php
defined('TYPO3_MODE') or die;
// Register static TypoScript resource
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('form', 'Configuration/TypoScript/', 'Default TS');
if (TYPO3_MODE === 'BE') {
// Register form wizard as backend module
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('wizard_form', 'EXT:form/Modules/Wizards/FormWizard/');
}
示例15: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\HDNET\Autoloader\Loader::extTables('HDNET', 'focuspoint');
$icons = array('focuspoint' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('focuspoint') . 'ext_icon.png');
// Gives the $icon array to the sprite manager
\TYPO3\CMS\Backend\Sprite\SpriteManager::addSingleIcons($icons, 'focuspoint');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('focuspoint', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/Focuspoint/');
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['focuspoint_test'] = 'image,image_ratio';