本文整理汇总了PHP中t3lib_extMgm::addUserTSConfig方法的典型用法代码示例。如果您正苦于以下问题:PHP t3lib_extMgm::addUserTSConfig方法的具体用法?PHP t3lib_extMgm::addUserTSConfig怎么用?PHP t3lib_extMgm::addUserTSConfig使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类t3lib_extMgm
的用法示例。
在下文中一共展示了t3lib_extMgm::addUserTSConfig方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
t3lib_extMgm::addPItoST43($_EXTKEY, 'pi1/class.tx_odsosm_pi1.php', '_pi1', 'list_type', 1);
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_odsosm_track=1
');
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:ods_osm/class.tx_odsosm_tcemain.php:tx_odsosm_tcemain';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tce']['formevals']['tx_lonlat'] = 'EXT:ods_osm/class.tx_lonlat.php';
示例2:
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass'][] = 'Tx_Solr_IndexQueue_RecordMonitor';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'Tx_Solr_IndexQueue_RecordMonitor';
// hooking into TCE Main to monitor record updates that may require deleting documents from the index
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass'][] = '&Tx_Solr_GarbageCollector';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = '&Tx_Solr_GarbageCollector';
}
# ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- #
// register click menu item to initialize the Solr connections for a single site
// visible for admin users only
t3lib_extMgm::addUserTSConfig('
[adminUser = 1]
options.contextMenu.table.pages.items.850 = ITEM
options.contextMenu.table.pages.items.850 {
name = Tx_Solr_initializeSolrConnections
label = Initialize Solr Connections
icon = ' . t3lib_div::locationHeaderUrl($GLOBALS['PATHrel_solr'] . 'Resources/Images/cache-init-solr-connections.png') . '
displayCondition = getRecord|is_siteroot = 1
callbackAction = initializeSolrConnections
}
options.contextMenu.table.pages.items.851 = DIVIDER
[global]
');
t3lib_extMgm::registerExtDirectComponent('TYPO3.Solr.ContextMenuActionController', $GLOBALS['PATHrel_solr'] . 'Classes/ContextMenuActionController.php:Tx_Solr_ContextMenuActionController', 'web', 'admin');
// include JS in backend
$GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems']['Solr.ContextMenuInitializeSolrConnectionsAction'] = $GLOBALS['PATH_solr'] . 'Classes/BackendItem/ContextMenuActionJavascriptRegistration.php';
# ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- #
// replace the built-in search content element
t3lib_extMgm::addPiFlexFormValue('*', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/Results.xml', 'search');
$TCA['tt_content']['types']['search']['showitem'] = '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.plugin,
示例3: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_eonieuwsbrief_nieuwsbrief=1
');
$TYPO3_CONF_VARS['FE']['eID_include']['eonieuwsbrief_ajax'] = 'EXT:' . $_EXTKEY . '/class.tx_eonieuwsbrief_eid.php';
## Extending TypoScript from static template uid=43 to set up userdefined tag:
t3lib_extMgm::addTypoScript($_EXTKEY, 'editorcfg', 'tt_content.CSS_editor.ch.tx_eonieuwsbrief_pi1 = < plugin.tx_eonieuwsbrief_pi1.CSS_editor', 43);
t3lib_extMgm::addPItoST43($_EXTKEY, 'pi1/class.tx_eonieuwsbrief_pi1.php', '_pi1', 'list_type', 1);
示例4: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
t3lib_extMgm::addUserTSConfig('options.saveDocNew.tx_rlmpflashdetection_flashmovie=1');
$TYPO3_CONF_VARS['EXTCONF']['cms']['db_layout']['addTables']['tx_rlmpflashdetection_flashmovie'][0] = array('fList' => 'description,width,height,flashmovie', 'icon' => TRUE);
## Extending TypoScript from static template uid=43 to set up userdefined tag:
t3lib_extMgm::addTypoScript($_EXTKEY, 'editorcfg', "tt_content.CSS_editor.ch.tx_rlmpflashdetection_pi1 = < plugin.tx_rlmpflashdetection_pi1.CSS_editor", 43);
t3lib_extMgm::addPItoST43($_EXTKEY, 'pi1/class.tx_rlmpflashdetection_pi1.php', "_pi1", 'list_type', 1);
示例5: die
<?php
# TYPO3 SVN ID: $Id$
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
t3lib_extMgm::addUserTSConfig('
options.saveDocView = 1
options.saveDocNew = 1
options.saveDocNew.pages = 0
options.saveDocNew.pages_language_overlay = 0
');
t3lib_extMgm::addPageTSConfig('
mod.wizards.newContentElement.wizardItems {
common.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common
common.elements {
text {
icon = gfx/c_wiz/regular_text.gif
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_regularText_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_regularText_description
tt_content_defValues {
CType = text
}
}
textpic {
icon = gfx/c_wiz/text_image_right.gif
title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_textImage_title
description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_textImage_description
tt_content_defValues {
CType = textpic
imageorient = 17
示例6: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
## Extending TypoScript from static template uid=43 to set up userdefined tag:
t3lib_extMgm::addTypoScript($_EXTKEY, 'editorcfg', '
tt_content.CSS_editor.ch.tx_rgsmoothgallery_pi1 = < plugin.tx_rgsmoothgallery_pi1.CSS_editor
', 43);
t3lib_extMgm::addPItoST43($_EXTKEY, 'pi1/class.tx_rgsmoothgallery_pi1.php', '_pi1', 'list_type', 1);
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_rgsmoothgallery_image=1
');
// hook for tt_news
if (TYPO3_MODE == 'FE') {
require_once t3lib_extMgm::extPath($_EXTKEY) . 'class.tx_rgsmoothgallery_fe.php';
}
$TYPO3_CONF_VARS['EXTCONF']['tt_news']['extraItemMarkerHook'][] = 'tx_rgsmoothgallery_fe';
#$TYPO3_CONF_VARS['EXTCONF']['tt_news']['extraGlobalMarkerHook'][] = 'tx_rgsmoothgallery_fe';
示例7: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
$workspaceSelectorToolbarItemClassPath = t3lib_extMgm::extPath('workspaces', 'Classes/BackendUserInterface/WorkspaceSelectorToolbarItem.php');
$GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems'][] = $workspaceSelectorToolbarItemClassPath;
}
// Register the autopublishing task
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_Workspaces_Service_AutoPublishTask'] = array('extension' => $_EXTKEY, 'title' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml:autopublishTask.name', 'description' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml:autopublishTask.description');
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass']['workspaces'] = 'EXT:workspaces/Classes/Service/Tcemain.php:tx_Workspaces_Service_Tcemain';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['viewOnClickClass']['workspaces'] = 'EXT:workspaces/Classes/Service/Tcemain.php:tx_Workspaces_Service_Befunc';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['hook_eofe']['workspaces'] = 'EXT:workspaces/Classes/Service/Fehooks.php:tx_Workspaces_Service_Fehooks->hook_eofe';
if ($GLOBALS['TYPO3_CONF_VARS']['SYS']['useCachingFramework']) {
// Initialize the caching framework. The caching framework is asking it self if it is initialized already before initializing.
t3lib_cache::initializeCachingFramework();
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['sys_workspace_cache']['frontend'] = 't3lib_cache_frontend_VariableFrontend';
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['sys_workspace_cache']['backend'] = 't3lib_cache_backend_DbBackend';
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['sys_workspace_cache']['options'] = array('cacheTable' => 'sys_workspace_cache', 'tagsTable' => 'sys_workspace_cache_tags');
}
t3lib_extMgm::addUserTSConfig('options.workspaces.considerReferences = 1');
示例8: die
<?php
if (!defined("TYPO3_MODE")) {
die("Access denied.");
}
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_SBumfrage_list=1
');
## Extending TypoScript from static template uid=43 to set up userdefined tag:
t3lib_extMgm::addTypoScript($_EXTKEY, "editorcfg", "\n\ttt_content.CSS_editor.ch.tx_SBumfrage_pi1 = < plugin.tx_SBumfrage_pi1.CSS_editor\n", 43);
t3lib_extMgm::addPItoST43($_EXTKEY, "pi1/class.tx_SBumfrage_pi1.php", "_pi1", "list_type", 1);
示例9: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_mailformplusadmin_standardforms=1
');
//Novo starts
//$TYPO3_CONF_VARS['BE']['AJAX']['mailformplus_admin::setOk'] = t3lib_extMgm::extPath('mailformplus_admin').'mod1/mailform_ajax.php:mailform_ajax->setOk';
$TYPO3_CONF_VARS['BE']['AJAX']['mailformplus_admin::ajaxFunctions'] = t3lib_extMgm::extPath('mailformplus_admin') . 'mod1/mailform_ajax.php:mailform_ajax->ajaxFunctions';
$TYPO3_CONF_VARS['FE']['eID_include']['tx_mailformplusadmin'] = 'EXT:mailformplus_admin/ajax.php';
$TYPO3_CONF_VARS['FE']['eID_include']['formhandler'] = 'EXT:formhandler/Classes/Utils/Tx_Formhandler_Utils_AjaxValidate.php';
$TYPO3_CONF_VARS['FE']['eID_include']['formhandler-removefile'] = 'EXT:formhandler/Classes/Utils/Tx_Formhandler_Utils_AjaxRemoveFile.php';
$TYPO3_CONF_VARS['FE']['eID_include']['formhandler-ajaxsubmit'] = 'EXT:formhandler/Classes/Utils/Tx_Formhandler_Utils_AjaxSubmit.php';
//Novo ends
t3lib_extMgm::addPItoST43($_EXTKEY, 'pi2/class.tx_mailformplusadmin_pi2.php', '_pi2', 'list_type', 1);
//Add as a new type
t3lib_extMgm::addPlugin(array('LLL:EXT:mailformplus_admin/locallang_db.xml:tt_content.CType_pi2', $_EXTKEY . '_pi2', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'), 'CType');
示例10: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_dmmjobcontrol_job=1
');
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_dmmjobcontrol_sector=1
');
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_dmmjobcontrol_category=1
');
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_dmmjobcontrol_discipline=1
');
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_dmmjobcontrol_region=1
');
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_dmmjobcontrol_education=1
');
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_dmmjobcontrol_contact=1
');
## Extending TypoScript from static template uid=43 to set up userdefined tag:
t3lib_extMgm::addTypoScript($_EXTKEY, 'editorcfg', '
tt_content.CSS_editor.ch.tx_dmmjobcontrol_pi1 = < plugin.tx_dmmjobcontrol_pi1.CSS_editor
', 43);
t3lib_extMgm::addPItoST43($_EXTKEY, 'pi1/class.tx_dmmjobcontrol_pi1.php', '_pi1', 'list_type', 0);
示例11: die
<?php
if (!defined("TYPO3_MODE")) {
die("Access denied.");
}
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_vm19keynumbers_unities=1
');
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_vm19keynumbers_numbers=1
');
## WOP:[pi][1][addType] / [pi][1][tag_name]
## Extending TypoScript from static template uid=43 to set up userdefined tag:
t3lib_extMgm::addTypoScript($_EXTKEY, "editorcfg", "\n\ttt_content.CSS_editor.ch.tx_vm19keynumbers_pi1 = < plugin.tx_vm19keynumbers_pi1.CSS_editor\n", 43);
## WOP:[pi][1][addType]
t3lib_extMgm::addPItoST43($_EXTKEY, "pi1/class.tx_vm19keynumbers_pi1.php", "_pi1", "list_type", 1);
## WOP:[pi][1][...]
t3lib_extMgm::addTypoScript($_EXTKEY, "setup", "\n\ttt_content.shortcut.20.0.conf.tx_vm19keynumbers_numbers = < plugin." . t3lib_extMgm::getCN($_EXTKEY) . "_pi1\n\ttt_content.shortcut.20.0.conf.tx_vm19keynumbers_numbers.CMD = singleView\n", 43);
示例12:
# tab = general
# }
# colspan {
# type = int
# tab = general
# }
# rowspan {
# type = int
# tab = general
# }
# height {
# type = size
# tab = general
# }
# width {
# type = size
# tab = general
# }
# nowrap {
# type = empty
# tab = general
# }
# }
# }
# }
}
');
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_thexttable_styles = 1
');
t3lib_extMgm::addPItoST43($_EXTKEY, "pi1/class.tx_thexttable_pi1.php", "_pi1", "CType", 0);
示例13: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_medbootstraptools_buttonstyles=1
');
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_medbootstraptools_colors=1
');
// TemplaVoilà Field Hook
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['templavoila']['cm1']['eTypesConfGen']['t3bootstrap_bootstrapicons'] = 'typo3conf/ext/medbootstraptools/lib/class.tx_medbootstraptools_eTypesConfGen.php:&tx_medbootstraptools_eTypesConfGen->bootstrapFields';
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['templavoila']['cm1']['eTypesConfGen']['t3bootstrap_slider'] = 'typo3conf/ext/medbootstraptools/lib/class.tx_medbootstraptools_eTypesConfGen.php:&tx_medbootstraptools_eTypesConfGen->bootstrapFields';
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['templavoila']['cm1']['eTypesConfGen']['t3bootstrap_offsetSlider'] = 'typo3conf/ext/medbootstraptools/lib/class.tx_medbootstraptools_eTypesConfGen.php:&tx_medbootstraptools_eTypesConfGen->bootstrapFields';
// t3_less Hook
$extConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['medbootstraptools']);
$pathArr = explode(",", $extConf['less_path']);
// Only process hook if at least one path is defined
if ($pathArr) {
foreach ($pathArr as $p) {
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['t3less']['addForeignLessFiles'][] = $p;
}
}
require_once t3lib_extMgm::extPath('medbootstraptools') . 'lib/class.tx_medbootstraptools_extraFields.php';
// Install Tool additional step
//$TYPO3_CONF_VARS['SC_OPTIONS']['ext/install/mod/class.tx_install.php']['stepOutput'][] = 'EXT:'.$_EXTKEY.'/Classes/Controller/Controller.php:&tx_medbootstraptools_controller';
//$TYPO3_CONF_VARS['SC_OPTIONS']['ext/install/mod/class.tx_install.php']['additionalSteps'][] = 'EXT:'.$_EXTKEY.'/Classes/Controller/AdditionalStepsController.php:&tx_medbootstraptools_additionalstepscontroller';
示例14: die
<?php
if (!defined("TYPO3_MODE")) {
die("Access denied.");
}
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_veguestbook_entries=1
');
t3lib_extMgm::addPageTSConfig('
# ***************************************************************************************
# CONFIGURATION of RTE in table "tx_veguestbook_entries", field "entry"
# ***************************************************************************************
RTE.config.tx_veguestbook_entries.entry {
hidePStyleItems = H1, H4, H5, H6
proc.exitHTMLparser_db=1
proc.exitHTMLparser_db {
keepNonMatchedTags=1
tags.font.allowedAttribs= color
tags.font.rmTagIfNoAttrib = 1
tags.font.nesting = global
}
}
');
## Extending TypoScript from static template uid=43 to set up userdefined tag:
t3lib_extMgm::addTypoScript($_EXTKEY, "editorcfg", "\n\ttt_content.CSS_editor.ch.tx_veguestbook_pi1 = < plugin.tx_veguestbook_pi1.CSS_editor\n", 43);
t3lib_extMgm::addPItoST43($_EXTKEY, 'pi1/class.tx_veguestbook_pi1.php', '_pi1', 'list_type', 1);
t3lib_extMgm::addTypoScript($_EXTKEY, "setup", "\n\ttt_content.shortcut.20.0.conf.tx_veguestbook_entries = < plugin." . t3lib_extMgm::getCN($_EXTKEY) . "_pi1\n\ttt_content.shortcut.20.0.conf.tx_veguestbook_entries.CMD = singleView\n", 43);
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['list_type_Info']['ve_guestbook_pi1'][] = 'EXT:ve_guestbook/class.tx_veguestbook_cms_layout.php:tx_veguestbook_cms_layout->getExtensionSummary';
示例15:
options.saveDocNew.tx_seminars_checkboxes=1
');
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_seminars_lodgings=1
');
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_seminars_foods=1
');
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_seminars_target_groups=1
');
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_seminars_categories=1
');
t3lib_extMgm::addUserTSConfig('
options.saveDocNew.tx_seminars_skills=1
');
// Adds our custom function to a hook in t3lib/class.t3lib_tcemain.php
// Used for post-validation of fields in back-end forms.
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:seminars/class.tx_seminars_tcemain.php:tx_seminars_tcemainprocdm';
t3lib_extMgm::addPItoST43($_EXTKEY, 'FrontEnd/DefaultController.php', '_pi1', 'list_type', 0);
t3lib_extMgm::addTypoScript($_EXTKEY, 'setup', '
plugin.' . t3lib_extMgm::getCN($_EXTKEY) . '_pi1.userFunc = tx_seminars_FrontEnd_DefaultController->main
', 43);
if (t3lib_utility_VersionNumber::convertVersionNumberToInteger(TYPO3_version) >= 6002000) {
t3lib_extMgm::addTypoScript($_EXTKEY, 'setup', '
tt_content.shortcut.20.conf.tx_seminars_seminars = < plugin.' . t3lib_extMgm::getCN($_EXTKEY) . '_pi1
tt_content.shortcut.20.conf.tx_seminars_seminars.CMD = singleView
', 43);
} else {
t3lib_extMgm::addTypoScript($_EXTKEY, 'setup', '