<?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');
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';
// 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');
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } t3lib_extMgm::addStaticFile($_EXTKEY, 'static/page_browser/', 'Page browser'); // Add pi1 plugin $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:pagebrowse/pi1/locallang.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1'), 'list_type'); t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:pagebrowse/pi1/flexform_ds.xml');
<?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'; }
<?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')));
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');
* * 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');
<?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');
// 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);
# ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- # 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,
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']);
<?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'; }
<?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'; ?>
// 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');
<?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');
* 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.'); } $extensionName = t3lib_div::underscoredToUpperCamelCase($_EXTKEY); /** * Register uploads plugin */ Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Upload', 'File-Uploading for frontend users'); $pluginSignature = strtolower($extensionName) . '_upload'; $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'select_key'; Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Download', 'Downloading of uploaded files from frontend users'); Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Folder', 'Folder structure for frontend users'); $pluginSignature = strtolower($extensionName) . '_download'; $extConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY]); $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'select_key'; $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform'; t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForm/download.xml'); t3lib_div::loadTCA('fe_users'); t3lib_extMgm::allowTableOnStandardPages('tx_feupload_domain_model_file'); t3lib_extMgm::allowTableOnStandardPages('tx_feupload_domain_model_folder'); $TCA['tx_feupload_domain_model_file'] = array('ctrl' => array('title' => 'LLL:EXT:feupload/Resources/Private/Language/tca.xml:tx_feupload_domain_model_file', 'label' => 'title', 'crdate' => 'crdate', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/File.php', 'dividers2tabs' => true, 'searchFields' => 'title,file', 'requestUpdate' => 'visibility', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Private/Icons/default.png')); $TCA['tx_feupload_domain_model_folder'] = array('ctrl' => array('title' => 'LLL:EXT:feupload/Resources/Private/Language/tca.xml:tx_feupload_domain_model_folder', 'label' => 'title', 'crdate' => 'crdate', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Folder.php', 'dividers2tabs' => true, 'searchFields' => 'title', 'requestUpdate' => 'visibility', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Private/Icons/folder.png')); t3lib_div::loadTCA('fe_groups'); t3lib_extMgm::addToAllTCAtypes('fe_groups', 'feupload_storage_pid;;;;1-1-1'); t3lib_extMgm::addToAllTCAtypes('fe_groups', 'feupload_append_group_ids;;;;1-1-1'); $TCA['fe_groups']['columns'] += array('feupload_storage_pid' => array('exclude' => 1, 'label' => 'LLL:EXT:feupload/Resources/Private/Language/tca.xml:fe_groups.storage_pid', 'config' => array('type' => 'group', 'internal_type' => 'db', 'allowed' => 'pages', 'size' => 1, 'minitems' => 0, 'maxitems' => 1, 'wizards' => array('suggest' => array('type' => 'suggest'))))); t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/default/', 'FE Upload default settings');
<?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'; $TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform'; t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:tipafriend_plus/flexform_ds.xml'); t3lib_extMgm::addPlugin(array('LLL:EXT:tipafriend_plus/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1'), 'list_type'); if (TYPO3_MODE == 'BE') { $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_tipafriendplus_pi1_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'pi1/class.tx_tipafriendplus_pi1_wizicon.php'; }
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi1', 'New Years Header'); t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'New Years Header'); $extensionName = strtolower(t3lib_div::underscoredToUpperCamelCase($_EXTKEY)); $pluginName = strtolower('pi1'); $pluginSignature = $extensionName . '_' . $pluginName; $TCA['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'layout,select_key,pages,recursive'; $TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform'; t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/NewYearsHeader.xml');
$lng = $serviceObj->getTable('lng'); $cat = $serviceObj->getTable('rggmcat'); t3lib_div::loadTCA($singleTable); $TCA[$singleTable]['columns'][$lng]['config']['wizards'] = array('_POSITION' => 'right', 'googlemap' => array('title' => 'LLL:EXT:rggooglemap/locallang_db.xml:wizard.title', 'icon' => $BACK_PATH . t3lib_extMgm::extRelPath('rggooglemap') . 'mod1/moduleicon.gif', 'type' => 'popup', 'script' => 'EXT:rggooglemap/class.tx_rggooglemap_wizard.php', 'JSopenParams' => 'height=630,width=800,status=0,menubar=0,scrollbars=0', 'lat_field' => $lat, 'lng_field' => $lng)); $TCA[$singleTable]['columns'][$lat]['config']['wizards'] = array('_POSITION' => 'right', 'googlemap' => array('title' => 'LLL:EXT:rggooglemap/locallang_db.xml:wizard.title', 'icon' => $BACK_PATH . t3lib_extMgm::extRelPath('rggooglemap') . 'mod1/moduleicon.gif', 'type' => 'popup', 'script' => 'EXT:rggooglemap/class.tx_rggooglemap_wizard.php', 'JSopenParams' => 'height=630,width=800,status=0,menubar=0,scrollbars=0', 'lat_field' => $lat, 'lng_field' => $lng)); $TCA[$singleTable]['columns'][$cat]['config'] = array('type' => 'select', 'form_type' => 'user', 'userFunc' => 'tx_rggm_treeview->displayCategoryTree', 'treeView' => 1, 'treeName' => 'txchtreeviewexample', 'foreign_table' => 'tx_rggooglemap_cat', 'size' => 5, 'autoSizeMax' => 10, 'minitems' => 0, 'maxitems' => 10, 'wizards' => array()); } break; } } } #echo t3lib_div::view_array($TCA['tt_news']['columns']); t3lib_div::loadTCA('tt_content'); $TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key, pages'; t3lib_extMgm::addPlugin(array('LLL:EXT:rggooglemap/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1'), 'list_type'); t3lib_extMgm::addStaticFile($_EXTKEY, "pi1/static/", "Google Map"); $TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform'; t3lib_extMgm::addPiFlexFormValue('rggooglemap_pi1', 'FILE:EXT:rggooglemap/flexform_ds.xml'); // Wizicon if (TYPO3_MODE == "BE") { $TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_rggooglemap_pi1_wizicon"] = t3lib_extMgm::extPath($_EXTKEY) . 'pi1/class.tx_rggooglemap_pi1_wizicon.php'; } // Be Module if (TYPO3_MODE == "BE") { t3lib_extMgm::addModule("web", "txrggooglemapM1", "", t3lib_extMgm::extPath($_EXTKEY) . "mod1/"); } // Category $TCA["tx_rggooglemap_cat"] = array("ctrl" => array('title' => 'LLL:EXT:rggooglemap/locallang_db.xml:tx_rggooglemap_cat', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', "default_sortby" => "ORDER BY crdate", "delete" => "deleted", 'treeParentField' => 'parent_uid', "enablecolumns" => array("disabled" => "hidden"), "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "icon_tx_rggooglemap_cat.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden, title, parent_uid")); /* $TCA["tx_rggooglemap_generic"] = array ( "ctrl" => array (
<?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,pages,recursive'; $TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform'; t3lib_extMgm::addPlugin(array('LLL:EXT:typoscript_code/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'), 'list_type'); t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:typoscript_code/flexform_ds_pi1.xml'); if (TYPO3_MODE == 'BE') { $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_typoscriptcode_pi1_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'pi1/class.tx_typoscriptcode_pi1_wizicon.php'; include_once t3lib_extMgm::extPath($_EXTKEY) . 'classes/class.tx_typoscriptcode_TCAform.php'; }
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } $typo3Version = t3lib_utility_VersionNumber::convertVersionNumberToInteger(TYPO3_version); if (TYPO3_MODE == 'BE' && !$loadTcaAdditions) { t3lib_extMgm::addStaticFile(SR_FEUSER_REGISTER_EXT, 'static/css_styled/', 'FE User Registration CSS-styled'); if ($typo3Version < 6001000) { t3lib_div::loadTCA('tt_content'); } $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][SR_FEUSER_REGISTER_EXT . '_pi1'] = 'layout,select_key'; $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][SR_FEUSER_REGISTER_EXT . '_pi1'] = 'pi_flexform'; t3lib_extMgm::addPiFlexFormValue(SR_FEUSER_REGISTER_EXT . '_pi1', 'FILE:EXT:' . SR_FEUSER_REGISTER_EXT . '/pi1/flexform_ds_pi1.xml'); t3lib_extMgm::addPlugin(array('LLL:EXT:' . SR_FEUSER_REGISTER_EXT . '/locallang_db.xml:tt_content.list_type', SR_FEUSER_REGISTER_EXT . '_pi1'), 'list_type'); } /** * Setting up country, country subdivision, preferred language, first_name and last_name in fe_users table * Adjusting some maximum lengths to conform to specifications of payment gateways (ref.: Authorize.net) */ if ($typo3Version < 6001000) { t3lib_div::loadTCA('fe_users'); } $GLOBALS['TCA']['fe_users']['columns']['username']['config']['eval'] = 'nospace,uniqueInPid,required'; $GLOBALS['TCA']['fe_users']['columns']['name']['config']['max'] = '100'; $GLOBALS['TCA']['fe_users']['columns']['company']['config']['max'] = '50'; $GLOBALS['TCA']['fe_users']['columns']['city']['config']['max'] = '40'; $GLOBALS['TCA']['fe_users']['columns']['country']['config']['max'] = '60'; $GLOBALS['TCA']['fe_users']['columns']['zip']['config']['size'] = '15'; $GLOBALS['TCA']['fe_users']['columns']['zip']['config']['max'] = '20'; $GLOBALS['TCA']['fe_users']['columns']['email']['config']['max'] = '255';
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } t3lib_div::loadTCA('tt_content'); $TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform'; t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:hi_surveystats/flexform/pi1.xml'); $TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key'; t3lib_extMgm::addPlugin(array('LLL:EXT:hi_surveystats/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'), 'list_type');
<?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'; $TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key, pages, recursive'; $TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform'; t3lib_extMgm::addPlugin(array('LLL:EXT:fb_magento/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1'), 'list_type'); t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:fb_magento/pi1/flexform.xml'); t3lib_extMgm::addStaticFile($_EXTKEY, "pi1/static/", "TypoGento"); if (TYPO3_MODE == "BE") { $TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_fbmagento_pi1_wizicon"] = t3lib_extMgm::extPath($_EXTKEY) . 'pi1/class.tx_fbmagento_pi1_wizicon.php'; } $tempColumns = array("firstname" => array("exclude" => 0, "label" => "LLL:EXT:fb_magento/locallang_db.xml:fe_users.tx_fbmagento_firstname", "config" => array("type" => "input", "size" => "30")), "tx_fbmagento_id" => array("exclude" => 1, "label" => "LLL:EXT:fb_magento/locallang_db.xml:fe_users.tx_fbmagento_id", "config" => array("type" => "input", "size" => "30"))); t3lib_div::loadTCA("fe_users"); t3lib_extMgm::addTCAcolumns("fe_users", $tempColumns, 1); t3lib_extMgm::addToAllTCAtypes("fe_users", "firstname;;;;1-1-1"); t3lib_extMgm::addToAllTCAtypes("fe_users", "tx_fbmagento_id;;;;1-1-1"); // add store mapping $tempColumns = array("tx_fbmagento_store" => array("exclude" => 0, "label" => "LLL:EXT:fb_magento/locallang_db.xml:sys_language.tx_fbmagento_store", "config" => array("type" => "select", "itemsProcFunc" => "EXT:fb_magento/lib/class.tx_fbmagento_tcafields.php:tx_fbmagento_tcafields->itemsProcFunc_languages", "maxitems" => 1))); t3lib_div::loadTCA("sys_language"); t3lib_extMgm::addTCAcolumns("sys_language", $tempColumns, 1); t3lib_extMgm::addToAllTCAtypes("sys_language", "tx_fbmagento_store;;;;1-1-1"); // add group mapping $tempColumns = array("tx_fbmagento_group" => array("exclude" => 0, "label" => "LLL:EXT:fb_magento/locallang_db.xml:be_users.tx_fbmagento_group", "config" => array("type" => "select", "items" => array(array('LLL:EXT:fb_magento/locallang_db.xml:be_users.tx_fbmagento_group.0', '')), "itemsProcFunc" => "EXT:fb_magento/lib/class.tx_fbmagento_tcafields.php:tx_fbmagento_tcafields->itemsProcFunc_usergroups", "maxitems" => 1))); t3lib_div::loadTCA("be_users"); t3lib_extMgm::addTCAcolumns("be_users", $tempColumns, 1); t3lib_extMgm::addToAllTCAtypes("be_users", "tx_fbmagento_group;;;;1-1-1"); if (TYPO3_MODE == "BE") {
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi1', 'Flickr Feed integration'); t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Default config for ' . $_EXTKEY); $extensionName = strtolower(t3lib_div::underscoredToLowerCamelCase($_EXTKEY)); $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$extensionName . '_pi1'] = 'layout,select_key,recursive,pages'; $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$extensionName . '_pi1'] = 'pi_flexform'; t3lib_extMgm::addPiFlexFormValue($extensionName . '_pi1', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_list.xml');
<?php /** * DB-Felder, die im BE bearbeitbar sind. * @package tx_mkmarketplace * @subpackage tx_mkmarketplace_ */ /** * alle benötigten Klassen einbinden etc. */ if (!defined('TYPO3_MODE')) { die('Access denied.'); } $_EXTKEY = 'mklib'; //TCAs einbinden require t3lib_extMgm::extPath($_EXTKEY) . 'tca/ext_tables.php'; // initalize 'context sensitive help' (csh) require_once t3lib_extMgm::extPath($_EXTKEY) . 'res/help/ext_csh.php'; //////////////////////////////// // Plugin anmelden //////////////////////////////// // Einige Felder ausblenden $TCA['tt_content']['types']['list']['subtypes_excludelist']['tx_mklib'] = 'layout,select_key,pages'; // Das tt_content-Feld pi_flexform einblenden $TCA['tt_content']['types']['list']['subtypes_addlist']['tx_mklib'] = 'pi_flexform'; t3lib_extMgm::addPiFlexFormValue('tx_mklib', 'FILE:EXT:' . $_EXTKEY . '/flexform_main.xml'); t3lib_extMgm::addPlugin(array('LLL:EXT:' . $_EXTKEY . '/locallang_db.php:plugin.mklib.label', 'tx_mklib', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif')); t3lib_extMgm::addStaticFile($_EXTKEY, 'static/basic/', 'MK Lib - Basics'); t3lib_extMgm::addStaticFile($_EXTKEY, 'static/development/', 'MK Lib - Development');
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'select_key'; $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform,recursive'; t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_list.xml'); } else { t3lib_div::loadTCA('tt_content'); // These dividers are a little trick to group these items in the plugin selector $TCA['tt_content']['columns']['list_type']['config']['items'][] = array('Blog Example', '--div--', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'); Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'BlogList', 'List of Blogs (BlogExample)'); Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'PostList', 'List of Posts (BlogExample)'); Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'PostSingle', 'Single Post (BlogExample)'); Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'BlogAdmin', 'Admin Plugin (BlogExample)'); $TCA['tt_content']['columns']['list_type']['config']['items'][] = array('', '--div--'); $pluginSignature = strtolower($extensionName) . '_postlist'; $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'select_key'; $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform,recursive'; t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_list.xml'); } if (TYPO3_MODE === 'BE') { /** * Registers a Backend Module */ Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'web', 'tx_blogexample_m1', '', array('Blog' => 'index,new,create,delete,deleteAll,edit,update,populate', 'Post' => 'index,show,new,create,delete,edit,update', 'Comment' => 'create,delete,deleteAll'), array('access' => 'user,group', 'icon' => 'EXT:blog_example/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml')); } /** * Add labels for context sensitive help (CSH) */ t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_BlogExampleTxBlogexampleM1', 'EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_csh.xml'); t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'BlogExample setup'); t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/DefaultStyles', 'BlogExample CSS Styles (optional)'); t3lib_extMgm::allowTableOnStandardPages('tx_blogexample_domain_model_blog'); $TCA['tx_blogexample_domain_model_blog'] = array('ctrl' => array('title' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_blog', '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', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Blog.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_blogexample_domain_model_blog.gif'));
component while the other one want to have this other one. I think it is very challenging to come up with an extension that is features reach without overloading the code basis. Formhandler solves the problem by having a very modular approach. The extension is piloted mainly by some nice TypoScript where is is possible to define exactly what to implement. You may want to play with some interceptor, finisher, logger, validators etc... For more information, you should have a look into the folder "Examples" of the extension which refers many interesting samples. Latest development version on http://forge.typo3.org/repositories/show/extension-formhandler */ if (!defined('TYPO3_MODE')) { die('Access denied.'); } if (TYPO3_MODE == 'BE') { # dynamic flexform include_once t3lib_extMgm::extPath($_EXTKEY) . '/Resources/PHP/class.tx_dynaflex.php'; t3lib_div::loadTCA('tt_content'); $TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key,pages'; // Add flexform field to plugin options $TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform'; $file = 'FILE:EXT:' . $_EXTKEY . '/Resources/XML/flexform_ds.xml'; // Add flexform DataStructure t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', $file); t3lib_extMgm::addModule('web', 'txformhandlermoduleM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'Classes/Controller/Module/'); $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_formhandler_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'Resources/PHP/class.tx_formhandler_wizicon.php'; } t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/Settings/', 'Example Configuration'); t3lib_extMgm::addPlugin(array('Formhandler', $_EXTKEY . '_pi1'), 'list_type'); $TCA['tx_formhandler_log'] = array('ctrl' => array('title' => 'LLL:EXT:formhandler/Resources/Language/locallang_db.xml:tx_formhandler_log', 'label' => 'uid', 'default_sortby' => 'ORDER BY crdate DESC', 'crdate' => 'crdate', 'tstamp' => 'tstamp', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'readOnly' => 1)); t3lib_extMgm::allowTableOnStandardPages('tx_formhandler_log');
<?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,pages'; $TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = ''; t3lib_extMgm::addPlugin(array('LLL:EXT:user_azeliz_contacts/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'), 'list_type'); // Ajout FLexForm $TCA["tt_content"]["types"]["list"]["subtypes_addlist"][$_EXTKEY . "_pi1"] = "pi_flexform"; t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:' . $_EXTKEY . '/flexform_ds.xml'); if (TYPO3_MODE == 'BE') { $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['user_azelizcontacts_pi1_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'pi1/class.user_azelizcontacts_pi1_wizicon.php'; }
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } $tempColumns = array('tx_ajaxlogin_forgotHash' => array('label' => 'LLL:EXT:ajaxlogin/Resources/Private/Language/locallang_db.xml:fe_users.tx_ajaxlogin_forgotHash', 'displayCond' => 'HIDE_FOR_NON_ADMINS', 'exclude' => true, 'config' => array('type' => 'input', 'size' => 20, 'max' => 32, 'eval' => 'md5')), 'tx_ajaxlogin_verificationHash' => array('label' => 'LLL:EXT:ajaxlogin/Resources/Private/Language/locallang_db.xml:fe_users.tx_ajaxlogin_verificationHash', 'displayCond' => 'HIDE_FOR_NON_ADMINS', 'exclude' => true, 'config' => array('type' => 'input', 'size' => 32, 'readOnly' => true)), 'tx_ajaxlogin_forgotHashValid' => array('label' => 'LLL:EXT:ajaxlogin/Resources/Private/Language/locallang_db.xml:fe_users.tx_ajaxlogin_forgotHashValid', 'displayCond' => 'HIDE_FOR_NON_ADMINS', 'exclude' => true, 'config' => array('type' => 'input', 'size' => '8', 'eval' => 'datetime'))); t3lib_div::loadTCA("fe_users"); t3lib_extMgm::addTCAcolumns("fe_users", $tempColumns, 1); t3lib_extMgm::addToAllTCAtypes('fe_users', '--div--;Ajaxlogin,tx_ajaxlogin_verificationHash,tx_ajaxlogin_forgotHash,tx_ajaxlogin_forgotHashValid'); $pagesTempColumns = array('tx_ajaxlogin_sectionreload' => array('label' => 'After signing in or out', 'config' => array('type' => 'check', 'items' => array(array('Reload the pages in this section', 1))))); include_once t3lib_extMgm::extPath($_EXTKEY) . 'Classes/Tca/FlexForm.php'; $GLOBALS['TCA']['fe_users']['columns']['country']['config'] = array('type' => 'select', 'itemsProcFunc' => 'Tx_Ajaxlogin_Tca_FlexForm->country', 'foreign_table' => 'static_countries', 'foreign_table_where' => 'ORDER BY static_countries.cn_short_en', 'foreign_table_uid_field' => 'cn_short_en', 'size' => 1, 'minitems' => 0, 'maxitems' => 1, 'allowNonIdValues' => true); t3lib_div::loadTCA("pages"); t3lib_extMgm::addTCAcolumns("pages", $pagesTempColumns, 1); t3lib_extMgm::addFieldsToPalette('pages', 'miscellaneous', 'tx_ajaxlogin_sectionreload'); Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Profile', 'Ajaxlogin'); $extensionName = strtolower(t3lib_div::underscoredToUpperCamelCase($_EXTKEY)); $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$extensionName . '_profile'] = 'pages,recursive,layout,select_key'; $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$extensionName . '_profile'] = 'pi_flexform'; t3lib_extMgm::addPiFlexFormValue($extensionName . '_profile', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/Profile.xml'); t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'AJAX login');