本文整理汇总了PHP中t3lib_extMgm::addPiFlexFormValue方法的典型用法代码示例。如果您正苦于以下问题:PHP t3lib_extMgm::addPiFlexFormValue方法的具体用法?PHP t3lib_extMgm::addPiFlexFormValue怎么用?PHP t3lib_extMgm::addPiFlexFormValue使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类t3lib_extMgm
的用法示例。
在下文中一共展示了t3lib_extMgm::addPiFlexFormValue方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Iframe', 'html5iframe');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'HTML5 Iframe Extension');
t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_iframe'] = 'layout,select_key';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_iframe'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_iframe', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_iframe.xml');
t3lib_extMgm::addLLrefForTCAdescr('tx_iframes_domain_model_iframe', 'EXT:iframes/Resources/Private/Language/locallang_csh_tx_html5iframe_domain_model_iframe.xml');
示例2:
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,
pi_flexform;;;;1-1-1,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.behaviour,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended';
示例3: array
// array(
// 'access' => 'user,group',
// 'icon' => 'EXT:cz_simple_cal/ext_icon.gif',
// 'labels' => 'LLL:EXT:'.$_EXTKEY.'/Resources/Private/Language/locallang_mod.xml'
// )
// );
//
//}
// default typoscript
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/main', 'Simple calendar using Extbase');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/customaddress', 'Use custom address extension');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/ics', 'ICS configuration');
// init flexform for plugin
$TCA['tt_content']['types']['list']['subtypes_addlist']['czsimplecal_pi1'] = 'pi_flexform';
$TCA['tt_content']['types']['list']['subtypes_excludelist']['czsimplecal_pi1'] = 'layout,select_key';
t3lib_extMgm::addPiFlexFormValue('czsimplecal_pi1', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform.xml');
// hook into the post storing process to update the index of recurring events
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:' . $_EXTKEY . '/Legacy/class.tx_czsimplecal_getDatamapHook.php:tx_czsimplecal_getDatamapHook';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass'][] = 'EXT:' . $_EXTKEY . '/Legacy/class.tx_czsimplecal_getCmdmapHook.php:tx_czsimplecal_getCmdmapHook';
// TCA config
t3lib_extMgm::addLLrefForTCAdescr('tx_czsimplecal_domain_model_event', 'EXT:cz_simple_cal/Resources/Private/Language/locallang_csh_tx_czsimplecal_domain_model_event.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_czsimplecal_domain_model_event');
$TCA['tx_czsimplecal_domain_model_event'] = array('ctrl' => array('title' => 'LLL:EXT:cz_simple_cal/Resources/Private/Language/locallang_db.xml:tx_czsimplecal_domain_model_event', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'default_sortby' => 'ORDER BY start_day DESC, start_time DESC', 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dividers2tabs' => 1, 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Event.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_czsimplecal_domain_model_event.gif'));
$TCA['tx_czsimplecal_domain_model_eventindex'] = array('ctrl' => array('title' => 'LLL:EXT:cz_simple_cal/Resources/Private/Language/locallang_db.xml:tx_czsimplecal_domain_model_event', 'label' => '', 'hideTable' => true, 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/EventIndex.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_czsimplecal_domain_model_event_index.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_czsimplecal_domain_model_exception', 'EXT:cz_simple_cal/Resources/Private/Language/locallang_csh_tx_czsimplecal_domain_model_exception.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_czsimplecal_domain_model_exception');
$TCA['tx_czsimplecal_domain_model_exception'] = array('ctrl' => array('title' => 'LLL:EXT:cz_simple_cal/Resources/Private/Language/locallang_db.xml:tx_czsimplecal_domain_model_exception', 'label' => 'title', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Exception.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_czsimplecal_domain_model_exception.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_czsimplecal_domain_model_exceptiongroup', 'EXT:cz_simple_cal/Resources/Private/Language/locallang_csh_tx_czsimplecal_domain_model_exceptiongroup.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_czsimplecal_domain_model_exceptiongroup');
$TCA['tx_czsimplecal_domain_model_exceptiongroup'] = array('ctrl' => array('title' => 'LLL:EXT:cz_simple_cal/Resources/Private/Language/locallang_db.xml:tx_czsimplecal_domain_model_exceptiongroup', 'label' => 'title', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/ExceptionGroup.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_czsimplecal_domain_model_exceptiongroup.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_czsimplecal_domain_model_category', 'EXT:cz_simple_cal/Resources/Private/Language/locallang_csh_tx_czsimplecal_domain_model_category.xml');
示例4: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
$confArr = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['wt_gallery']);
// Get backandconfig
t3lib_extMgm::addStaticFile($_EXTKEY, 'files/static/', 'Add default CSS');
t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key,pages';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
t3lib_extMgm::addPlugin(array('LLL:EXT:wt_gallery/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'), 'list_type');
if ($confArr['picturePathTextField'] != 1) {
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:wt_gallery/be/flexform_ds_pi1.xml');
} else {
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:wt_gallery/be/flexform_ds_pi1_old.xml');
}
if (TYPO3_MODE == 'BE') {
$TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_wtgallery_pi1_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'pi1/class.tx_wtgallery_pi1_wizicon.php';
}
示例5: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
$_EXTCONF = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['felogin']);
t3lib_div::loadTCA('tt_content');
if (t3lib_div::int_from_ver(TYPO3_version) >= 4002000) {
t3lib_extMgm::addPiFlexFormValue('*', 'FILE:EXT:' . $_EXTKEY . '/flexform.xml', 'login');
} else {
t3lib_extMgm::addPiFlexFormValue('default', 'FILE:EXT:' . $_EXTKEY . '/flexform.xml');
}
#replace login
$TCA['tt_content']['types']['login']['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,
pi_flexform;;;;1-1-1,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.behaviour,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended';
// Adds the redirect field to the fe_groups table
$tempColumns = array('felogin_redirectPid' => array('exclude' => 1, 'label' => 'LLL:EXT:felogin/locallang_db.xml:felogin_redirectPid', 'config' => array('type' => 'group', 'internal_type' => 'db', 'allowed' => 'pages', 'size' => 1, 'minitems' => 0, 'maxitems' => 1)));
t3lib_div::loadTCA('fe_groups');
t3lib_extMgm::addTCAcolumns('fe_groups', $tempColumns, 1);
t3lib_extMgm::addToAllTCAtypes('fe_groups', 'felogin_redirectPid;;;;1-1-1');
// Adds the redirect field and the forgotHash field to the fe_users-table
$tempColumns = array("felogin_redirectPid" => array("exclude" => 1, "label" => "LLL:EXT:felogin/locallang_db.xml:felogin_redirectPid", "config" => array("type" => "group", "internal_type" => "db", "allowed" => "pages", "size" => 1, "minitems" => 0, "maxitems" => 1)), 'felogin_forgotHash' => array('exclude' => 1, 'label' => 'LLL:EXT:felogin/locallang_db.xml:felogin_forgotHash', 'config' => array('type' => 'passthrough')));
示例6: die
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
/**
* Registers a Plugin to be listed in the Backend. You also have to configure the Dispatcher in ext_localconf.php.
*/
$extensionName = t3lib_div::underscoredToUpperCamelCase($_EXTKEY);
$pluginSignature = strtolower($extensionName) . '_pi1';
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi1', 'List of Agencies');
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi2', 'Create agency profile');
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi3', 'Slider view for case studies');
$TCA['tt_content']['types']['list']['subtypes_addlist']['typo3agencies_pi2'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue('typo3agencies_pi2', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/Pi2.xml');
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'layout,select_key,recursive';
#$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'recursive';
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'TYPO3 References');
/**
* TCA configuration
*/
t3lib_extMgm::allowTableOnStandardPages('tx_typo3agencies_domain_model_reference');
t3lib_extMgm::allowTableOnStandardPages('tx_typo3agencies_domain_model_agency');
$TCA['tx_typo3agencies_domain_model_reference'] = array('ctrl' => array('title' => 'LLL:EXT:typo3_agencies/Resources/Private/Language/locallang_db.xml:tx_typo3agencies_domain_model_reference', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'versioningWS' => 2, 'versioning_followPages' => true, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'delete' => 'deleted', 'dividers2tabs' => TRUE, 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tx_typo3agencies_domain_model_reference.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_typo3agencies_domain_model_reference.gif'));
$TCA['tx_typo3agencies_domain_model_agency'] = array('ctrl' => array('title' => 'LLL:EXT:typo3_agencies/Resources/Private/Language/locallang_db.xml:tx_typo3agencies_domain_model_agency', 'label' => 'name', 'label_alt' => 'first_name', 'label_alt_force' => 1, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'default_sortby' => 'name', 'versioningWS' => 2, 'versioning_followPages' => true, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'delete' => 'deleted', 'dividers2tabs' => TRUE, 'enablecolumns' => array('disabled' => 'hidden', 'endtime' => 'endtime'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tx_typo3agencies_domain_model_agency.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_typo3agencies_domain_model_agency.gif'));
$TCA['tx_typo3agencies_domain_model_industry'] = array('ctrl' => array('title' => 'LLL:EXT:typo3_agencies/Resources/Private/Language/locallang_db.xml:tx_typo3agencies_domain_model_reference.industry', 'label' => 'title', 'default_sortby' => 'title', 'dividers2tabs' => TRUE, 'enablecolumns' => array(), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tx_typo3agencies_domain_model_industry.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_typo3agencies_domain_model_agency.gif', 'hideTable' => 1, 'is_static' => 1, 'readOnly' => 1));
$TCA['tx_typo3agencies_domain_model_revenue'] = array('ctrl' => array('title' => 'LLL:EXT:typo3_agencies/Resources/Private/Language/locallang_db.xml:tx_typo3agencies_domain_model_reference.revenue', 'label' => 'title', 'default_sortby' => 'sorting', 'dividers2tabs' => TRUE, 'enablecolumns' => array(), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tx_typo3agencies_domain_model_revenue.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_typo3agencies_domain_model_agency.gif', 'hideTable' => 1, 'is_static' => 1, 'readOnly' => 1));
$TCA['tx_typo3agencies_domain_model_category'] = array('ctrl' => array('title' => 'LLL:EXT:typo3_agencies/Resources/Private/Language/locallang_db.xml:tx_typo3agencies_domain_model_reference.category', 'label' => 'title', 'default_sortby' => 'title', 'dividers2tabs' => TRUE, 'enablecolumns' => array(), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tx_typo3agencies_domain_model_category.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_typo3agencies_domain_model_agency.gif', 'hideTable' => 1, 'is_static' => 1, 'readOnly' => 1));
$extensionName = t3lib_div::underscoredToUpperCamelCase($_EXTKEY);
$pluginSignature = strtolower($extensionName) . '_pi1';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/ControllerActions.xml');
示例7: die
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
//
// Add static typoscript file
//
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript/', 'Sharepoint Formhandler');
//
// Change the flexform file path for formhandler
//
t3lib_extMgm::addPiFlexFormValue('formhandler' . '_pi1', 'FILE:EXT:' . $_EXTKEY . '/Resources/Private/Xml/Flexform.xml');
示例8: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
$TCA['tx_dmmjobcontrol_job'] = array('ctrl' => array('title' => 'LLL:EXT:dmmjobcontrol/locallang_db.xml:tx_dmmjobcontrol_job', 'label' => 'job_title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'default_sortby' => 'ORDER BY crdate DESC', 'sortby' => 'sorting', 'delete' => 'deleted', 'searchFields' => 'job_title, employer,employer_description, location, region, short_job_description, job_description, experience, job_requirements, job_benefits', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_dmmjobcontrol_job.gif'), 'feInterface' => array('fe_admin_fieldList' => 'sys_language_uid, l18n_parent, l18n_diffsource, hidden, starttime, endtime, reference, job_title, employer, employer_description, location, region, short_job_description, job_description, experience, job_requirements, job_benefits, apply_information, salary, job_type, contract_type, sector, category, discipline, education, contact'));
$TCA['tx_dmmjobcontrol_sector'] = array('ctrl' => array('title' => 'LLL:EXT:dmmjobcontrol/locallang_db.xml:tx_dmmjobcontrol_sector', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'default_sortby' => 'ORDER BY name', 'sortby' => 'sorting', 'searchfield' => 'name', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_dmmjobcontrol_sector.gif'), 'feInterface' => array('fe_admin_fieldList' => 'sys_language_uid, l18n_parent, l18n_diffsource, name'));
$TCA['tx_dmmjobcontrol_category'] = array('ctrl' => array('title' => 'LLL:EXT:dmmjobcontrol/locallang_db.xml:tx_dmmjobcontrol_category', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'searchfield' => 'name', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'default_sortby' => 'ORDER BY name', 'sortby' => 'sorting', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_dmmjobcontrol_category.gif'), 'feInterface' => array('fe_admin_fieldList' => 'sys_language_uid, l18n_parent, l18n_diffsource, name'));
$TCA['tx_dmmjobcontrol_discipline'] = array('ctrl' => array('title' => 'LLL:EXT:dmmjobcontrol/locallang_db.xml:tx_dmmjobcontrol_discipline', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'searchfield' => 'name', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'default_sortby' => 'ORDER BY name', 'sortby' => 'sorting', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_dmmjobcontrol_discipline.gif'), 'feInterface' => array('fe_admin_fieldList' => 'sys_language_uid, l18n_parent, l18n_diffsource, name'));
$TCA['tx_dmmjobcontrol_region'] = array('ctrl' => array('title' => 'LLL:EXT:dmmjobcontrol/locallang_db.xml:tx_dmmjobcontrol_region', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'searchfield' => 'name', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'default_sortby' => 'ORDER BY name', 'sortby' => 'sorting', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_dmmjobcontrol_region.gif'), 'feInterface' => array('fe_admin_fieldList' => 'sys_language_uid, l18n_parent, l18n_diffsource, name'));
$TCA['tx_dmmjobcontrol_education'] = array('ctrl' => array('title' => 'LLL:EXT:dmmjobcontrol/locallang_db.xml:tx_dmmjobcontrol_education', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'searchfield' => 'name', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'default_sortby' => 'ORDER BY name', 'sortby' => 'sorting', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_dmmjobcontrol_education.gif'), 'feInterface' => array('fe_admin_fieldList' => 'sys_language_uid, l18n_parent, l18n_diffsource, name'));
$TCA["tx_dmmjobcontrol_contact"] = array("ctrl" => array('title' => 'LLL:EXT:dmmjobcontrol/locallang_db.xml:tx_dmmjobcontrol_contact', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'searchfield' => 'name', 'cruser_id' => 'cruser_id', 'default_sortby' => "ORDER BY name", 'sortby' => 'sorting', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_dmmjobcontrol_contact.gif'), "feInterface" => array("fe_admin_fieldList" => "name, address, phone, email"));
t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
t3lib_extMgm::addPlugin(array('LLL:EXT:dmmjobcontrol/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1'), 'list_type');
t3lib_extMgm::addStaticFile($_EXTKEY, 'pi1/static/', 'JobControl');
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:dmmjobcontrol/flexform_ds.xml');
示例9: array
// Plugin "table of contents".
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_toc'] = 'layout,select_key,pages,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_toc'] = 'pi_flexform';
t3lib_extMgm::addPlugin(array('LLL:EXT:dlf/locallang.xml:tt_content.dlf_toc', $_EXTKEY . '_toc'), 'list_type');
t3lib_extMgm::addStaticFile($_EXTKEY, 'plugins/toc/', 'Table of Contents');
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_toc', 'FILE:EXT:' . $_EXTKEY . '/plugins/toc/flexform.xml');
// Plugin "toolbox".
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_toolbox'] = 'layout,select_key,pages,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_toolbox'] = 'pi_flexform';
t3lib_extMgm::addPlugin(array('LLL:EXT:dlf/locallang.xml:tt_content.dlf_toolbox', $_EXTKEY . '_toolbox'), 'list_type');
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_toolbox', 'FILE:EXT:' . $_EXTKEY . '/plugins/toolbox/flexform.xml');
// Plugin "validator".
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_validator'] = 'layout,select_key,pages,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_validator'] = 'pi_flexform';
t3lib_extMgm::addPlugin(array('LLL:EXT:dlf/locallang.xml:tt_content.dlf_validator', $_EXTKEY . '_validator'), 'list_type');
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_validator', 'FILE:EXT:' . $_EXTKEY . '/plugins/validator/flexform.xml');
// Register modules.
if (TYPO3_MODE == 'BE') {
// Add modules after "web".
if (!isset($TBE_MODULES['txdlfmodules'])) {
$modules = array();
foreach ($TBE_MODULES as $key => $val) {
if ($key == 'web') {
$modules[$key] = $val;
$modules['txdlfmodules'] = '';
} else {
$modules[$key] = $val;
}
}
$TBE_MODULES = $modules;
unset($modules);
示例10: array
# ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- #
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/solr/', 'Apache Solr');
# ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- #
if (TYPO3_MODE == 'BE') {
# t3lib_extMgm::addModulePath('tools_txsolrMAdmin', t3lib_extMgm::extPath($_EXTKEY) . 'mod_admin/');
t3lib_extMgm::addModule('tools', 'txsolrMAdmin', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod_admin/');
// 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_AccessFilterPluginInstalledStatus');
// registering the index report with the reports module
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_solr']['index'] = array('title' => 'LLL:EXT:solr/locallang.xml:report_index_title', 'description' => 'LLL:EXT:solr/locallang.xml:report_index_description', 'report' => 'tx_solr_report_IndexReport', 'icon' => 'EXT:solr/report/tx_solr_report.gif');
// hooking into cache clearing to update detected configuration
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc'][] = 'EXT:solr/classes/class.tx_solr_connectionmanager.php:tx_solr_ConnectionManager->updateConnections';
}
# ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- #
// replace the built-in search content element
t3lib_extMgm::addPiFlexFormValue('*', 'FILE:EXT:' . $_EXTKEY . '/flexforms/pi_results.xml', 'search');
if (t3lib_div::int_from_ver(TYPO3_version) >= 4005000) {
$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,
pi_flexform;;;;1-1-1,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.behaviour,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended';
} else {
$TCA['tt_content']['types']['search']['showitem'] = 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.9, pi_flexform;;;;1-1-1,
示例11: unset
t3lib_extMgm::addPlugin(array('LLL:EXT:caretaker/locallang_db.xml:tt_content.list_type_pi_singleview', $_EXTKEY . '_pi_singleview'), 'list_type');
if (TYPO3_MODE == "BE") {
$TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_caretaker_pi_singleview_wizicon"] = t3lib_extMgm::extPath($_EXTKEY) . 'pi_singleview/class.tx_caretaker_pi_singleview_wizicon.php';
}
// graphreport
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi_graphreport'] = 'layout,select_key,pages';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi_graphreport'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi_graphreport', 'FILE:EXT:' . $_EXTKEY . '/pi_graphreport/flexform_ds.xml');
t3lib_extMgm::addPlugin(array('LLL:EXT:caretaker/locallang_db.xml:tt_content.list_type_pi_graphreport', $_EXTKEY . '_pi_graphreport'), 'list_type');
if (TYPO3_MODE == "BE") {
$TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_caretaker_pi_graphreport_wizicon"] = t3lib_extMgm::extPath($_EXTKEY) . 'pi_graphreport/class.tx_caretaker_pi_graphreport_wizicon.php';
}
// abstract
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi_abstract'] = 'layout,select_key,pages';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi_abstract'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi_abstract', 'FILE:EXT:' . $_EXTKEY . '/pi_abstract/flexform_ds.xml');
t3lib_extMgm::addPlugin(array('LLL:EXT:caretaker/locallang_db.xml:tt_content.list_type_pi_abstract', $_EXTKEY . '_pi_abstract'), 'list_type');
if (TYPO3_MODE == "BE") {
$TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_caretaker_pi_abstract_wizicon"] = t3lib_extMgm::extPath($_EXTKEY) . 'pi_abstract/class.tx_caretaker_pi_abstract_wizicon.php';
}
// register Extension TS templates
t3lib_extMgm::addStaticFile($_EXTKEY, 'res/typoscript/plugin', 'Caretaker Plugin Template');
// register Extension TS templates
t3lib_extMgm::addStaticFile($_EXTKEY, 'res/typoscript/page', 'Caretaker Page Template');
// Register Backend Modules
if (TYPO3_MODE == "BE") {
t3lib_extMgm::addModule("txcaretakerNav", "", "", t3lib_extMgm::extPath($_EXTKEY) . "mod_nav/");
t3lib_extMgm::addModule("txcaretakerNav", "txcaretakerOverview", "", t3lib_extMgm::extPath($_EXTKEY) . "mod_overview/");
if (isset($TBE_MODULES['file'])) {
$caretaker_modconf = $TBE_MODULES['txcaretakerNav'];
unset($TBE_MODULES['txcaretakerNav']);
示例12: die
<?php
if (!defined("TYPO3_MODE")) {
die("Access denied.");
}
t3lib_div::loadTCA('tt_content');
$TCA["tx_veguestbook_entries"] = array("ctrl" => array("title" => "LLL:EXT:ve_guestbook/locallang_db.php:tx_veguestbook_entries", "label" => "entry", "tstamp" => "tstamp", "crdate" => "crdate", "cruser_id" => "cruser_id", "default_sortby" => "ORDER BY crdate DESC", "delete" => "deleted", "enablecolumns" => array("disabled" => "hidden"), "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "ext_icon.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden, sys_language_uid, firstname, surname, email, homepage, place, entry, entrycomment, remote_addr"));
$TCA['tt_content']['types']['list']['subtypes_excludelist']['ve_guestbook_pi1'] = 'layout,select_key,pages,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist']['ve_guestbook_pi1'] = 'pi_flexform';
t3lib_extMgm::addPlugin(array('LLL:EXT:ve_guestbook/locallang_tca.php:ve_guestbook', 've_guestbook_pi1'));
t3lib_extMgm::addPiFlexFormValue('ve_guestbook_pi1', 'FILE:EXT:ve_guestbook/flexform_ds.xml');
t3lib_extMgm::allowTableOnStandardPages("tx_veguestbook_entries");
t3lib_extMgm::addToInsertRecords('tx_veguestbook_entries');
if (TYPO3_MODE == 'BE') {
// Adds wizard icon to the content element wizard.
$TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_veguestbook_pi1_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'pi1/class.tx_veguestbook_pi1_wizicon.php';
}
示例13:
<?php
if (!defined ('TYPO3_MODE')) die ('Access denied.');
t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi1']='layout,select_key';
t3lib_extMgm::addPlugin(Array('LLL:EXT:tg_filemanager/locallang_db.php:tt_content.list_type_pi1', $_EXTKEY.'_pi1'),'list_type');
// flexform for plugin config
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY.'_pi1']='pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY.'_pi1','FILE:EXT:tg_filemanager/flexform_plugin.xml');
t3lib_extMgm::addStaticFile($_EXTKEY,"pi1/static/","TG-Filemanager");
if (TYPO3_MODE=="BE") $TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_tgfilemanager_pi1_wizicon"] = t3lib_extMgm::extPath($_EXTKEY).'pi1/class.tx_tgfilemanager_pi1_wizicon.php';
?>
示例14: die
// Checks the TYPO3 context
if (!defined('TYPO3_MODE')) {
// TYPO3 context cannot be guessed
die('Access denied.');
}
// Load content TCA
t3lib_div::loadTCA('tt_content');
// Plugin options
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout, select_key, pages, recursive';
// Add flexform field to plugin options
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
// Add flexform DataStructure
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:' . $_EXTKEY . '/flex/pi1.xml');
// Add plugin
t3lib_extMgm::addPlugin(array('LLL:EXT:picasa/lang/flex_pi1.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1'), 'list_type');
// Plugin options
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi2'] = 'layout, select_key, pages, recursive';
// Add flexform field to plugin options
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi2'] = 'pi_flexform';
// Add flexform DataStructure
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi2', 'FILE:EXT:' . $_EXTKEY . '/flex/pi2.xml');
// Add plugin
t3lib_extMgm::addPlugin(array('LLL:EXT:picasa/lang/flex_pi2.xml:tt_content.list_type_pi2', $_EXTKEY . '_pi2'), 'list_type');
// Wizard icons
if (TYPO3_MODE === 'BE') {
$TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_picasa_pi1_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'pi1/class.tx_picasa_pi1_wizicon.php';
$TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_picasa_pi2_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'pi2/class.tx_picasa_pi2_wizicon.php';
}
// Static templates
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ts/', 'Picasa - Settings');
示例15: die
<?php
# TYPO3 SVN ID: $Id$
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
// add flexform
t3lib_extMgm::addPiFlexFormValue('*', 'FILE:EXT:css_styled_content/flexform_ds.xml', 'table');
$TCA['tt_content']['types']['table']['showitem'] = 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;4-4-4,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.5, layout;;10;;3-3-3, cols, bodytext;;9;nowrap:wizards[table], text_properties, pi_flexform,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime, fe_group';
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/', 'CSS Styled Content');
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/v3.8/', 'CSS Styled Content TYPO3 v3.8');
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/v3.9/', 'CSS Styled Content TYPO3 v3.9');
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/v4.2/', 'CSS Styled Content TYPO3 v4.2');
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/v4.3/', 'CSS Styled Content TYPO3 v4.3');
$TCA['tt_content']['columns']['section_frame']['config']['items'][0] = array('LLL:EXT:css_styled_content/locallang_db.php:tt_content.tx_cssstyledcontent_section_frame.I.0', '0');
$TCA['tt_content']['columns']['section_frame']['config']['items'][9] = array('LLL:EXT:css_styled_content/locallang_db.php:tt_content.tx_cssstyledcontent_section_frame.I.9', '66');