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


PHP t3lib_extMgm::addTypoScript方法代码示例

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


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

示例1:

<?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_tgfilemanager_pi1 = < plugin.tx_tgfilemanager_pi1.CSS_editor
',43);


t3lib_extMgm::addPItoST43($_EXTKEY,'pi1/class.tx_tgfilemanager_pi1.php','_pi1','list_type',1);
?>
开发者ID:blumenbach,项目名称:blumenbach-online.de,代码行数:11,代码来源:ext_localconf.php

示例2: die

<?php

if (!defined("TYPO3_MODE")) {
    die("Access denied.");
}
t3lib_extMgm::addUserTSConfig('
	options.saveDocNew.tx_vm19hnlinks_urls=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_vm19hnlinks_pi1 = < plugin.tx_vm19hnlinks_pi1.CSS_editor\n", 43);
t3lib_extMgm::addPItoST43($_EXTKEY, "pi1/class.tx_vm19hnlinks_pi1.php", "_pi1", "list_type", 1);
t3lib_extMgm::addTypoScript($_EXTKEY, "setup", "\n\ttt_content.shortcut.20.0.conf.tx_vm19hnlinks_urls = < plugin." . t3lib_extMgm::getCN($_EXTKEY) . "_pi1\n\ttt_content.shortcut.20.0.conf.tx_vm19hnlinks_urls.CMD = singleView\n", 43);
开发者ID:BackupTheBerlios,项目名称:stypo3dext,代码行数:12,代码来源:ext_localconf.php

示例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);
开发者ID:hkremer,项目名称:Publieke-Omroep-Typo3,代码行数:12,代码来源:ext_localconf.php

示例4: die

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_rggooglemap_pi1 = < plugin.tx_rggooglemap_pi1.CSS_editor
', 43);
t3lib_extMgm::addPItoST43($_EXTKEY, 'pi1/class.tx_rggooglemap_pi1.php', '_pi1', 'list_type', 0);
## Extending TypoScript from static template uid=43 to set up userdefined tag:
t3lib_extMgm::addTypoScript($_EXTKEY, 'setup', '
	tt_content.text.20.parseFunc.tags.map = < plugin.' . t3lib_extMgm::getCN($_EXTKEY) . '_pi2
', 43);
t3lib_extMgm::addPItoST43($_EXTKEY, 'pi2/class.tx_rggooglemap_pi2.php', '_pi2', '', 1);
## Extending TypoScript from static template uid=43 to set up userdefined tag:
t3lib_extMgm::addTypoScript($_EXTKEY, 'setup', '
	tt_content.text.20.parseFunc.tags.mapcat = < plugin.' . t3lib_extMgm::getCN($_EXTKEY) . '_pi3
', 43);
t3lib_extMgm::addPItoST43($_EXTKEY, 'pi3/class.tx_rggooglemap_pi3.php', '_pi3', '', 1);
$PATH_rggm = t3lib_extMgm::extPath('rggooglemap');
// for hook
if (TYPO3_MODE == 'FE') {
    require_once $PATH_rggm . 'class.tx_rggm_fe.php';
}
// register hooks for ve_guestbook
#$TYPO3_CONF_VARS['EXTCONF']['ve_guestbook']['extraItemMarkerHook'][]   = 'tx_rggm_fe';
#$TYPO3_CONF_VARS['EXTCONF']['ve_guestbook']['preEntryInsertHook'][]    = 'tx_rggm_fe';
#$TYPO3_CONF_VARS['EXTCONF']['th_mailformplus']['extraItemMarkerHook'][]   = 'tx_rggm_fe';
#$TYPO3_CONF_VARS['EXTCONF']['tt_news']['extraItemMarkerHook'][]   = 'tx_rggm_fe';
#$TYPO3_CONF_VARS['EXTCONF']['tt_news']['extraGlobalMarkerHook'][]   = 'tx_rggm_fe';
#$TYPO3_CONF_VARS['EXTCONF']['ve_guestbook']['postEntryInsertedHook'][] = 'tx_rggm_fe';
#$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:myextension/class.myextension_tcemainprocdm.php:tx_myextension_tcemainprocdm';
开发者ID:raimundlandig,项目名称:winkel.de-DEV,代码行数:31,代码来源:ext_localconf.php

示例5:

t3lib_extMgm::addTypoScript($_EXTKEY, 'setup', '
		includeLibs.tx_cssfilelinks = EXT:css_filelinks/class.tx_cssfilelinks.php
		' . $tempDefaultCss . '
		
		tt_content.uploads.20 >
		tt_content.uploads.20=USER
		tt_content.uploads.20{
			userFunc=tx_cssfilelinks->renderFileLinks
			fileList{
				field=media
				path=uploads/media/
				' . $tempAllowReadFromPath . '
			}
			title.trimExt=0
			
			description.field=imagecaption
			description_ifElementEmpty=
			additionalClass{
				image=bmp,gif,ico,jpg,png,tif,psd
				video=wmv,avi,asf,mpg,mov,mpeg
				audio=mp3,wav,mid
			}
			classes{
				addFirst=1
				addLast=1
				addOdd=1
				addEven=1
				ext.prefixIfFirstNumber=
			}
			layout{
				global=<div class="filelinks filelinks_layout_###LAYOUT###"><span class="filecount">There are ###FILECOUNT### files.</span>###FILE###</div>
				file=<div class="###CLASS###"><span><a href="###URL###">###TITLE###</a> ###FILESIZE### ###CRID### ###MYMARK###</span><span>###DESCRIPTION###</span></div>
				fileSize{
					layout=(###SIZE### ###SIZEFORMAT###)
					char=lower
					format=auto
					desc=b|kb|mb
					round=2
					decimalPoint=.
				}
				hideNotProcessedMarkers=1
			}
			linkProc {
				target = _blank
				jumpurl = {$styles.content.uploads.jumpurl} 
				jumpurl.secure = {$styles.content.uploads.jumpurl_secure}
		
				removePrependedNumbers = 1
				
				alternativeIconPath=
		
				iconCObject = IMAGE
				iconCObject.makeThumbs=0
				iconCObject.file.import.data = register : ICON_REL_PATH
				iconCObject.file.width = 150
			}
			stdWrap{
				editIcons = tt_content: media, layout, filelink_size
				editIcons.iconTitle.data=LLL:EXT:css_styled_content/pi1/locallang.php:eIcon.filelist
				prefixComment = 2 | File list:
			};
		}
	', 43);
开发者ID:raimundlandig,项目名称:winkel.de-DEV,代码行数:63,代码来源:ext_localconf.php

示例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", "\n\ttt_content.CSS_editor.ch.tx_iframe2_pi1 = < plugin.tx_iframe2_pi1.CSS_editor\n", 43);
t3lib_extMgm::addPItoST43($_EXTKEY, "pi1/class.tx_iframe2_pi1.php", "_pi1", "list_type", 0);
开发者ID:blumenbach,项目名称:bb-online.neu,代码行数:8,代码来源:ext_localconf.php

示例7: 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_ketroubletickets_pi1 = < plugin.tx_ketroubletickets_pi1.CSS_editor
', 43);
t3lib_extMgm::addPItoST43($_EXTKEY, 'pi1/class.tx_ketroubletickets_pi1.php', '_pi1', 'list_type', 0);
t3lib_extMgm::addPItoST43($_EXTKEY, 'pi2/class.tx_ketroubletickets_pi2.php', '_pi2', 'list_type', 0);
t3lib_extMgm::addTypoScript($_EXTKEY, 'setup', '
	tt_content.shortcut.20.0.conf.tx_ketroubletickets_tickets = < plugin.' . t3lib_extMgm::getCN($_EXTKEY) . '_pi1
	tt_content.shortcut.20.0.conf.tx_ketroubletickets_tickets.CMD = singleView
', 43);
t3lib_extMgm::addPageTSConfig('

	# ***************************************************************************************
	# CONFIGURATION of RTE in table "tx_ketroubletickets_tickets", field "description"
	# ***************************************************************************************
RTE.config.tx_ketroubletickets_tickets.description {
  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
  }
}
');
开发者ID:tiggr,项目名称:ke_troubletickets,代码行数:31,代码来源:ext_localconf.php

示例8:

    t3lib_extMgm::addTypoScript($_EXTKEY, 'setup', '
		includeLibs.tx_damttcontent = EXT:dam/lib/class.tx_dam_tsfe.php

		temp.tx_dam.fileList < tt_content.image.20.imgList

		tt_content.image.20.imgList >
		tt_content.image.20.imgList.cObject = USER
		tt_content.image.20.imgList.cObject {
			userFunc = tx_dam_tsfe->fetchFileList

			refField = tx_damttcontent_files
			refTable = tt_content

			additional.fileList < temp.tx_dam.fileList
			additional.filePath < tt_content.image.20.imgPath
			' . ($GLOBALS['T3_VAR']['ext'][$_EXTKEY]['setup']['ctype_image_add_orig_field'] ? '' : 'additional >') . '
		}
		tt_content.image.20.imgPath >
		tt_content.image.20.imgPath =


		temp.tx_dam.fileList < tt_content.textpic.20.imgList

		tt_content.textpic.20.imgList >
		tt_content.textpic.20.imgList.cObject = USER
		tt_content.textpic.20.imgList.cObject {
			userFunc = tx_dam_tsfe->fetchFileList

			refField = tx_damttcontent_files
			refTable = tt_content

			additional.fileList < temp.tx_dam.fileList
			additional.filePath < tt_content.textpic.20.imgPath
			' . ($GLOBALS['T3_VAR']['ext'][$_EXTKEY]['setup']['ctype_textpic_add_orig_field'] ? '' : 'additional >') . '
		}
		tt_content.textpic.20.imgPath >
		tt_content.textpic.20.imgPath =

		', 43);
开发者ID:NaveedWebdeveloper,项目名称:Test,代码行数:39,代码来源:ext_localconf.php

示例9: configurePlugin

    /**
     * Add auto-generated TypoScript to configure the Extbase Dispatcher.
     *
     * When adding a frontend plugin you will have to add both an entry to the TCA definition
     * of tt_content table AND to the TypoScript template which must initiate the rendering.
     * Since the static template with uid 43 is the "content.default" and practically always
     * used for rendering the content elements it's very useful to have this function automatically
     * adding the necessary TypoScript for calling the appropriate controller and action of your plugin.
     * It will also work for the extension "css_styled_content"
     * FOR USE IN ext_localconf.php FILES
     * Usage: 2
     *
     * @param string $extensionName The extension name (in UpperCamelCase) or the extension key (in lower_underscore)
     * @param string $pluginName must be a unique id for your plugin in UpperCamelCase (the string length of the extension key added to the length of the plugin name should be less than 32!)
     * @param string $controllerActions is an array of allowed combinations of controller and action stored in an array (controller name as key and a comma separated list of action names as value, the first controller and its first action is chosen as default)
     * @param string $nonCachableControllerActions is an optional array of controller name and  action names which should not be cached (array as defined in $controllerActions)
     * @param string $defaultControllerAction is an optional array controller name (as array key) and action name (as array value) that should be called as default
     * @return void
     */
    public static function configurePlugin($extensionName, $pluginName, array $controllerActions, array $nonCachableControllerActions = array())
    {
        if (empty($pluginName)) {
            throw new InvalidArgumentException('The plugin name must not be empty', 1239891987);
        }
        if (empty($extensionName)) {
            throw new InvalidArgumentException('The extension name was invalid (must not be empty and must match /[A-Za-z][_A-Za-z0-9]/)', 1239891989);
        }
        $extensionName = str_replace(' ', '', ucwords(str_replace('_', ' ', $extensionName)));
        $pluginSignature = strtolower($extensionName) . '_' . strtolower($pluginName);
        $controllerCounter = 1;
        $hasMultipleActionsCounter = 0;
        $controllers = '';
        foreach ($controllerActions as $controller => $actionsList) {
            $controllers .= '
		' . $controllerCounter . '.controller = ' . $controller . '
		' . $controllerCounter . '.actions = ' . $actionsList;
            $controllerCounter++;
            if (strpos($actionsList, ',') !== FALSE) {
                $hasMultipleActionsCounter++;
            }
        }
        $switchableControllerActions = '';
        if ($controllerCounter > 1 || $hasMultipleActionsCounter > 0) {
            $switchableControllerActions = '
	switchableControllerActions {' . $controllers . '
	}';
        }
        reset($controllerActions);
        $defaultController = key($controllerActions);
        $controller = '
	controller = ' . $defaultController;
        $defaultAction = array_shift(t3lib_div::trimExplode(',', current($controllerActions)));
        $action = '
	action = ' . $defaultAction;
        $nonCachableActions = array();
        if (!empty($nonCachableControllerActions[$defaultController])) {
            $nonCachableActions = t3lib_div::trimExplode(',', $nonCachableControllerActions[$defaultController]);
        }
        $cachableActions = array_diff(t3lib_div::trimExplode(',', $controllerActions[$defaultController]), $nonCachableActions);
        $contentObjectType = in_array($defaultAction, $nonCachableActions) ? 'USER_INT' : 'USER';
        $conditions = '';
        foreach ($controllerActions as $controllerName => $actionsList) {
            if (!empty($nonCachableControllerActions[$controllerName])) {
                $nonCachableActions = t3lib_div::trimExplode(',', $nonCachableControllerActions[$controllerName]);
                $cachableActions = array_diff(t3lib_div::trimExplode(',', $controllerActions[$controllerName]), $nonCachableActions);
                if ($contentObjectType == 'USER' && count($nonCachableActions) > 0 || $contentObjectType == 'USER_INT' && count($cachableActions) > 0) {
                    $conditions .= '
[globalString = GP:tx_' . $pluginSignature . '|controller = ' . $controllerName . '] && [globalString = GP:tx_' . $pluginSignature . '|action = /' . implode('|', $contentObjectType === 'USER' ? $nonCachableActions : $cachableActions) . '/]
tt_content.list.20.' . $pluginSignature . ' = ' . ($contentObjectType === 'USER' ? 'USER_INT' : 'USER') . '
[global]
';
                }
            }
        }
        $pluginTemplate = 'plugin.tx_' . strtolower($extensionName) . ' {
	settings {
	}
	persistence {
		storagePid =
		classes {
		}
	}
	view {
		templateRootPath =
		layoutRootPath =
		partialRootPath =
	}
}';
        t3lib_extMgm::addTypoScript($extensionName, 'setup', '
# Setting ' . $extensionName . ' plugin TypoScript
' . $pluginTemplate);
        $pluginContent = trim('
tt_content.list.20.' . $pluginSignature . ' = ' . $contentObjectType . '
tt_content.list.20.' . $pluginSignature . ' {
	userFunc = tx_extbase_dispatcher->dispatch
	pluginName = ' . $pluginName . '
	extensionName = ' . $extensionName . '
	' . $controller . $action . $switchableControllerActions . '

	settings =< plugin.tx_' . strtolower($extensionName) . '.settings
//.........这里部分代码省略.........
开发者ID:zsolt-molnar,项目名称:TYPO3-4.5-trunk,代码行数:101,代码来源:Extension.php

示例10: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
// Extending TypoScript from static template uid=43 to set up parsing of custom attribute "txdam" on img tag:
t3lib_extMgm::addTypoScript($_EXTKEY, 'setup', '
	#******************************************************
	# Including library for processing of custom attribute "txdam" on img tag
	#******************************************************
	includeLibs.tx_dam_tsfeimgtag = EXT:dam/binding/imgtag/class.tx_dam_tsfeimgtag.php
	
	lib.parseFunc_RTE {
		tags.img = TEXT
		tags.img {
			current = 1
			preUserFunc = tx_dam_tsfeimgtag->renderTxdamAttribute
		}
		nonTypoTagStdWrap.HTMLparser.tags.img.fixAttrib {
			txdam.unset = 1
		}
	}
', 43);
开发者ID:NaveedWebdeveloper,项目名称:Test,代码行数:23,代码来源:ext_localconf.php

示例11: 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';
开发者ID:protos1575,项目名称:rgsmoothgallery,代码行数:19,代码来源:ext_localconf.php

示例12: unserialize

}
// unserializing the configuration so we can use it here:
$_EXTCONF = unserialize($_EXTCONF);
// Adding the two plugins TypoScript:
t3lib_extMgm::addPItoST43($_EXTKEY, 'pi1/class.tx_templavoila_pi1.php', '_pi1', 'CType', 1);
$tvSetup = array('plugin.tx_templavoila_pi1.disableExplosivePreview = 1');
if (!$_EXTCONF['enable.']['renderFCEHeader']) {
    $tvSetup[] = 'tt_content.templavoila_pi1.10 >';
}
//sectionIndex replacement
$tvSetup[] = 'tt_content.menu.20.3 = USER
	tt_content.menu.20.3.userFunc = tx_templavoila_pi1->tvSectionIndex
	tt_content.menu.20.3.select.where >
	tt_content.menu.20.3.indexField.data = register:tx_templavoila_pi1.current_field
';
t3lib_extMgm::addTypoScript($_EXTKEY, 'setup', implode(PHP_EOL, $tvSetup), 43);
// Use templavoila's wizard instead the default create new page wizard
t3lib_extMgm::addPageTSConfig('
    mod.web_list.newPageWiz.overrideWithExtension = templavoila
	mod.web_list.newContentWiz.overrideWithExtension = templavoila
	mod.web_txtemplavoilaM2.templatePath = templates,default/templates
	mod.web_txtemplavoilaM1.enableDeleteIconForLocalElements = 0
	mod.web_txtemplavoilaM1.enableContentAccessWarning = 1
	mod.web_txtemplavoilaM1.enableLocalizationLinkForFCEs = 0
	mod.web_txtemplavoilaM1.useLiveWorkspaceForReferenceListUpdates = 1
');
// Use templavoila instead of the default page module
t3lib_extMgm::addUserTSConfig('
 	options.overridePageModule = web_txtemplavoilaM1
	mod.web_txtemplavoilaM1.sideBarEnable = 1
 ');
开发者ID:rod86,项目名称:t3sandbox,代码行数:31,代码来源:ext_localconf.php

示例13: array

tx_solr_CommandResolver::registerPluginCommand('results', 'faceting', 'tx_solr_pi_results_FacetingCommand', tx_solr_PluginCommand::REQUIREMENT_HAS_SEARCHED + tx_solr_PluginCommand::REQUIREMENT_HAS_RESULTS);
tx_solr_CommandResolver::registerPluginCommand('search, results', 'form', 'tx_solr_pi_results_FormCommand', tx_solr_PluginCommand::REQUIREMENT_NONE);
tx_solr_CommandResolver::registerPluginCommand('results', 'no_results', 'tx_solr_pi_results_NoResultsCommand', tx_solr_PluginCommand::REQUIREMENT_HAS_SEARCHED + tx_solr_PluginCommand::REQUIREMENT_NO_RESULTS);
tx_solr_CommandResolver::registerPluginCommand('results', 'results', 'tx_solr_pi_results_ResultsCommand', tx_solr_PluginCommand::REQUIREMENT_HAS_SEARCHED + tx_solr_PluginCommand::REQUIREMENT_HAS_RESULTS);
tx_solr_CommandResolver::registerPluginCommand('results', 'sorting', 'tx_solr_pi_results_SortingCommand', tx_solr_PluginCommand::REQUIREMENT_HAS_SEARCHED + tx_solr_PluginCommand::REQUIREMENT_HAS_RESULTS);
# ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- #
// registering with the "crawler" extension:
$TYPO3_CONF_VARS['EXTCONF']['crawler']['procInstructions']['tx_solr_reindex'] = 'Solr Re-indexing';
# ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- #
// adding scheduler tasks
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_solr_scheduler_OptimizeTask'] = array('extension' => $_EXTKEY, 'title' => 'LLL:EXT:solr/lang/locallang.xml:scheduler_optimizer_title', 'description' => 'LLL:EXT:solr/lang/locallang.xml:scheduler_optimizer_description', 'additionalFields' => 'tx_solr_scheduler_OptimizeTaskSolrServerField');
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_solr_scheduler_CommitTask'] = array('extension' => $_EXTKEY, 'title' => 'LLL:EXT:solr/lang/locallang.xml:scheduler_commit_title', 'description' => 'LLL:EXT:solr/lang/locallang.xml:scheduler_commit_description', 'additionalFields' => 'tx_solr_scheduler_CommitTaskSolrServerField');
# ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- #
// TODO move into pi_results, initializeSearch, add only when highlighting is activated
$TYPO3_CONF_VARS['EXTCONF']['solr']['modifySearchForm']['spellcheck'] = 'EXT:solr/pi_results/class.tx_solr_pi_results_spellcheckformmodifier.php:tx_solr_pi_results_SpellcheckFormModifier';
# ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- #
// registering the eID script for auto suggest
$TYPO3_CONF_VARS['FE']['eID_include']['tx_solr_suggest'] = 'EXT:solr/eid_suggest/suggest.php';
# ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- #
// replace the built-in search content element
$searchReplacementTypoScript = trim('
tt_content.search = COA
tt_content.search {
	10 = < lib.stdheader
	20 >
	20 = < plugin.tx_solr_pi_results
	30 >
}
');
t3lib_extMgm::addTypoScript($_EXTKEY, 'setup', '# Setting ' . $_EXTKEY . ' plugin TypoScript' . $searchReplacementTypoScript, 43);
开发者ID:hkremer,项目名称:Publieke-Omroep-Typo3,代码行数:30,代码来源:ext_localconf.php

示例14: die

<?php

# TYPO3 CVS ID: $Id: ext_localconf.php 5928 2007-07-12 11:20:33Z kasper $
if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
// Adding the two plugins TypoScript:
t3lib_extMgm::addPItoST43($_EXTKEY, 'pi1/class.tx_templavoila_pi1.php', '_pi1', 'CType', 1);
t3lib_extMgm::addTypoScript($_EXTKEY, 'setup', 'tt_content.templavoila_pi1.10 >', 43);
// Use templavoila's wizard instead the default create new page wizard
t3lib_extMgm::addPageTSConfig('
    mod.web_list.newPageWiz.overrideWithExtension = templavoila
	mod.web_list.newContentWiz.overrideWithExtension = templavoila
');
// Use templavoila instead of the default page module
t3lib_extMgm::addUserTSConfig('
 	options.overridePageModule = web_txtemplavoilaM1
	mod.web_txtemplavoilaM1.sideBarEnable = 1
 ');
// Adding Page Template Selector Fields to root line:
$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] .= ',tx_templavoila_ds,tx_templavoila_to,tx_templavoila_next_ds,tx_templavoila_next_to';
// Register our classes at a the hooks:
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['templavoila'] = 'EXT:templavoila/class.tx_templavoila_tcemain.php:tx_templavoila_tcemain';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass']['templavoila'] = 'EXT:templavoila/class.tx_templavoila_tcemain.php:tx_templavoila_tcemain';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['moveRecordClass']['templavoila'] = 'EXT:templavoila/class.tx_templavoila_tcemain.php:tx_templavoila_tcemain';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauthgroup.php']['recordEditAccessInternals']['templavoila'] = 'EXT:templavoila/class.tx_templavoila_access.php:&tx_templavoila_access->recordEditAccessInternals';
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['lowlevel']['cleanerModules']['tx_templavoila_unusedce'] = array('EXT:templavoila/class.tx_templavoila_unusedce.php:tx_templavoila_unusedce');
开发者ID:NaveedWebdeveloper,项目名称:Test,代码行数:27,代码来源:ext_localconf.php

示例15: array

$TYPO3_CONF_VARS['BE']['RTE_reg'][$_EXTKEY] = array('objRef' => 'EXT:' . $_EXTKEY . '/class.tx_tinymce_rte_base.php:&tx_tinymce_rte_base');
// load default PageTS config from static
t3lib_extMgm::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/static/pageTSConfig.ts">');
// Get extension configuration
$extConf = unserialize($_EXTCONF);
// set default if value is undefined (for backward compatibility as most users will have it set empty)
if ($extConf['pageLoadConfigFile'] === '') {
    $extConf['pageLoadConfigFile'] = 'EXT:tinymce_rte/static/pageLoad.ts';
}
// load mandatory pageLoadConfigFile
t3lib_extMgm::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:' . $extConf['pageLoadConfigFile'] . '">');
if ($extConf['loadConfig'] !== '') {
    t3lib_extMgm::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:' . $extConf['loadConfig'] . '">');
}
// load default SetupTS config from static
t3lib_extMgm::addTypoScript($_EXTKEY, 'setup', '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/static/setupTSConfig.ts">', 43);
//add linkhandler for "record"
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['typolinkLinkHandler']['record'] = 'EXT:tinymce_rte/hooks/class.tx_tinymce_rte_handler.php:&tx_tinymce_rte_handler';
// Enable preStartPageHook hook
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/template.php']['preStartPageHook'][] = 'EXT:' . $_EXTKEY . '/hooks/class.tx_tinymce_rte_header.php:&tx_tinymce_rte_header->preStartPageHook';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['EXT:feeditadvanced/view/class.tx_feeditadvanced_adminpanel.php']['addIncludes'][] = 'EXT:' . $_EXTKEY . '/hooks/class.tx_tinymce_rte_feeditadv.php:&tx_tinymce_rte_feeditadv';
// user function to force typolink creation of every link
if (!class_exists('user_tinymce_rte', false)) {
    class user_tinymce_rte
    {
        function isNotAnchor($content, $conf)
        {
            return preg_match('/\\s*href\\s*=\\s*"[^"]+"\\s*/i', $content) ? 1 : 0;
        }
        function getHref($content, $conf)
        {
开发者ID:NaveedWebdeveloper,项目名称:Test,代码行数:31,代码来源:ext_localconf.php


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