t3lib_extMgm::allowTableOnStandardPages('tx_myquizpoll_result'); $TCA['tx_myquizpoll_result'] = array('ctrl' => array('title' => 'LLL:EXT:myquizpoll/locallang_db.xml:tx_myquizpoll_result', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'default_sortby' => 'ORDER BY crdate', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_myquizpoll_result.gif')); t3lib_extMgm::allowTableOnStandardPages('tx_myquizpoll_relation'); $TCA['tx_myquizpoll_relation'] = array('ctrl' => array('title' => 'LLL:EXT:myquizpoll/locallang_db.xml:tx_myquizpoll_relation', 'label' => 'uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'default_sortby' => 'ORDER BY crdate', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_myquizpoll_relation.gif')); t3lib_extMgm::allowTableOnStandardPages('tx_myquizpoll_category'); $TCA['tx_myquizpoll_category'] = array('ctrl' => array('title' => 'LLL:EXT:myquizpoll/locallang_db.xml:tx_myquizpoll_category', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY name', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_myquizpoll_category.gif')); $version = class_exists('t3lib_utility_VersionNumber') ? t3lib_utility_VersionNumber::convertVersionNumberToInteger(TYPO3_version) : t3lib_div::int_from_ver(TYPO3_version); if ($version < 4008000) { t3lib_div::loadTCA('tt_content'); } $TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key,recursive'; $TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform'; t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:' . $_EXTKEY . '/flexform.xml'); t3lib_extMgm::addPlugin(array('LLL:EXT:myquizpoll/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'), 'list_type'); if (TYPO3_MODE == 'BE') { $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_myquizpoll_pi1_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'pi1/class.tx_myquizpoll_pi1_wizicon.php'; } t3lib_extMgm::addStaticFile($_EXTKEY, 'pi1/static/', 'My quiz and poll: default styles'); t3lib_extMgm::addStaticFile($_EXTKEY, 'static/defaultsettings/', 'My quiz and poll: default settings'); t3lib_extMgm::addStaticFile($_EXTKEY, 'static/starrating/', 'My quiz and poll: star rating (question type)'); t3lib_extMgm::addStaticFile($_EXTKEY, 'static/uistars/', 'My quiz and poll: star rating (rating)'); $TCA['pages']['columns']['module']['config']['items'][] = array('My Quiz and Poll', 'myquizpoll', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon_myquizpoll_folder.gif'); if ($version >= 4004000) { t3lib_SpriteManager::addTcaTypeIcon('pages', 'contains-myquizpoll', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon_myquizpoll_folder.gif'); } else { $ICON_TYPES['myquizpoll'] = array('icon' => t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon_myquizpoll_folder.gif'); } if (TYPO3_MODE == 'BE') { t3lib_extMgm::addModulePath('web_txmyquizpollM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/'); t3lib_extMgm::addModule('web', 'txmyquizpollM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/'); }
} \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'MOOX social'); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_mooxsocial_domain_model_facebook', 'EXT:moox_social/Resources/Private/Language/locallang_csh_tx_mooxsocial_domain_model_facebook.xlf'); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_mooxsocial_domain_model_facebook'); $TCA['tx_mooxsocial_domain_model_facebook'] = array('ctrl' => array('title' => 'LLL:EXT:moox_social/Resources/Private/Language/locallang_db.xlf:tx_mooxsocial_domain_model_facebook', 'label' => 'api_uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'sortby' => 'sorting', 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'title,api_uid,summary,text,description,caption,shared_title,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Facebook.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_mooxsocial_domain_model_facebook.gif')); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_mooxsocial_domain_model_twitter', 'EXT:moox_social/Resources/Private/Language/locallang_csh_tx_mooxsocial_domain_model_twitter.xlf'); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_mooxsocial_domain_model_twitter'); $TCA['tx_mooxsocial_domain_model_twitter'] = array('ctrl' => array('title' => 'LLL:EXT:moox_social/Resources/Private/Language/locallang_db.xlf:tx_mooxsocial_domain_model_twitter', 'label' => 'api_uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'sortby' => 'sorting', 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'title,api_uid,summary,text,description,caption,shared_title,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Twitter.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_mooxsocial_domain_model_twitter.gif')); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_mooxsocial_domain_model_youtube', 'EXT:moox_social/Resources/Private/Language/locallang_csh_tx_mooxsocial_domain_model_youtube.xlf'); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_mooxsocial_domain_model_youtube'); $TCA['tx_mooxsocial_domain_model_youtube'] = array('ctrl' => array('title' => 'LLL:EXT:moox_social/Resources/Private/Language/locallang_db.xlf:tx_mooxsocial_domain_model_youtube', 'label' => 'api_uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'sortby' => 'sorting', 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'title,api_uid,summary,text,description,caption,shared_title,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Youtube.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_mooxsocial_domain_model_youtube.gif')); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_mooxsocial_domain_model_flickr', 'EXT:moox_social/Resources/Private/Language/locallang_csh_tx_mooxsocial_domain_model_flickr.xlf'); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_mooxsocial_domain_model_flickr'); $TCA['tx_mooxsocial_domain_model_flickr'] = array('ctrl' => array('title' => 'LLL:EXT:moox_social/Resources/Private/Language/locallang_db.xlf:tx_mooxsocial_domain_model_flickr', 'label' => 'api_uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'sortby' => 'sorting', 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'title,summary,text,description,caption,shared_title,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Flickr.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_mooxsocial_domain_model_flickr.gif')); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_mooxsocial_domain_model_slideshare', 'EXT:moox_social/Resources/Private/Language/locallang_csh_tx_mooxsocial_domain_model_slideshare.xlf'); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_mooxsocial_domain_model_slideshare'); $TCA['tx_mooxsocial_domain_model_slideshare'] = array('ctrl' => array('title' => 'LLL:EXT:moox_social/Resources/Private/Language/locallang_db.xlf:tx_mooxsocial_domain_model_slideshare', 'label' => 'api_uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'sortby' => 'sorting', 'versioningWS' => 2, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'searchFields' => 'title,api_uid,summary,text,description,caption,shared_title,', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Slideshare.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_mooxsocial_domain_model_slideshare.gif')); /*************** * Wizard */ $extensionName = t3lib_div::underscoredToUpperCamelCase($_EXTKEY); $pluginSignature = strtolower($extensionName); if (TYPO3_MODE == 'BE') { $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses'][$pluginSignature . '_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'Resources/Private/Php/class.' . $pluginSignature . '_wizicon.php'; } /*************** * Icon in page tree */ $TCA['pages']['columns']['module']['config']['items'][] = array('MOOX-Social', 'mxsocial', 'EXT:moox_social/ext_icon.gif'); t3lib_SpriteManager::addTcaTypeIcon('pages', 'contains-mxsocial', '../typo3conf/ext/moox_social/ext_icon.gif');
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } t3lib_extMgm::addStaticFile($_EXTKEY, 'static/', 'betatext'); $TCA['tx_webetatext_text'] = array('ctrl' => array('title' => 'LLL:EXT:we_betatext/locallang_db.xml:tx_webetatext_text', 'label' => 'TextID', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'fe_cruser_id' => 'fe_cruser_id', 'default_sortby' => 'ORDER BY crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_webetatext_text.gif')); $TCA['tx_webetatext_comment'] = array('ctrl' => array('title' => 'LLL:EXT:we_betatext/locallang_db.xml:tx_webetatext_comment', 'label' => 'Content', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'fe_cruser_id' => 'fe_cruser_id', 'default_sortby' => 'ORDER BY crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_webetatext_comment.gif')); $TCA['tx_webetatext_vote'] = array('ctrl' => array('title' => 'LLL:EXT:we_betatext/locallang_db.xml:tx_webetatext_vote', 'label' => 'uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'fe_cruser_id' => 'fe_cruser_id', 'default_sortby' => 'ORDER BY crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_webetatext_voting.gif')); $TCA['tx_webetatext_process'] = array('ctrl' => array('title' => 'LLL:EXT:we_betatext/locallang_db.xml:tx_webetatext_process', 'label' => 'StepIndex', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY sort', 'sortby' => 'sort', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_webetatext_process.gif')); t3lib_extMgm::allowTableOnStandardPages("tx_webetatext_process"); $addColumns = array('tx_webetatext_logo' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:fe_users.tx_webetatext_logo', 'config' => array('type' => 'group', 'internal_type' => 'file', 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'], 'max_size' => 1000, 'uploadfolder' => 'uploads/tx_webetatext', 'show_thumbs' => 1, 'size' => 1, 'minitems' => 0, 'maxitems' => 1)), 'tx_webetatext_verified' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:fe_users.tx_webetatext_verified', 'config' => array('type' => 'check', 'default' => '1')), 'tx_webetatext_verification_requested' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:fe_users.tx_webetatext_verification_requested', 'config' => array('type' => 'check', 'default' => '0'))); t3lib_extMgm::addTCAcolumns('fe_users', $addColumns, true); t3lib_extMgm::addToAllTCATypes('fe_users', '--div--;betatext,tx_webetatext_logo,tx_webetatext_verification_requested,tx_webetatext_verified;;;;1-1-1'); /* Seiteneinstellungen */ $TCA['pages']['columns']['doktype']['config']['items'][] = array('betatext: kommentierbare Seite', 124, 'EXT:we_betatext/icons/bbt-page.gif'); t3lib_SpriteManager::addTcaTypeIcon('pages', '124', '../typo3conf/ext/we_betatext/icons/bbt-page.png'); $addColumns = array('tx_webetatext_enable' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:pages.tx_webetatext_enable', 'config' => array('type' => 'check', 'default' => '0')), 'tx_webetatext_infomail_to' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:pages.tx_webetatext_infomail_to', 'config' => array('type' => 'input', 'size' => '20', 'max' => '50', 'eval' => 'trim', 'default' => '')), 'tx_webetatext_pstep_title' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:pages.tx_webetatext_pstep_title', 'config' => array('type' => 'input', 'size' => '20', 'max' => '50', 'eval' => 'trim', 'default' => ''))); t3lib_extMgm::addTCAcolumns('pages', $addColumns, true); t3lib_extMgm::addToAllTCAtypes('pages', '--div--;betatext,tx_webetatext_enable,tx_webetatext_infomail_to,tx_webetatext_pstep_title;;;;1-1-1'); if (TYPO3_MODE == 'BE') { t3lib_extMgm::addModulePath('web_txwwbbtM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/'); t3lib_extMgm::addModule('web', 'txwwbbtM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/'); }
/*************** * Default TypoScript */ t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'News'); /*************** * Wizard pi1 */ if (TYPO3_MODE == 'BE') { $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses'][$pluginSignature . '_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'Resources/Private/Php/class.' . $_EXTKEY . '_wizicon.php'; } /*************** * News icon in page tree */ if (TYPO3_MODE == 'BE') { unset($ICON_TYPES['news']); t3lib_SpriteManager::addTcaTypeIcon('pages', 'contains-news', '../typo3conf/ext/news/Resources/Public/Icons/folder.gif'); $addNewsToModuleSelection = TRUE; foreach ($GLOBALS['TCA']['pages']['columns']['module']['config']['items'] as $item) { if ($item[1] === 'news') { $addNewsToModuleSelection = FALSE; continue; } } if ($addNewsToModuleSelection) { $GLOBALS['TCA']['pages']['columns']['module']['config']['items'][] = array(0 => 'LLL:EXT:news/Resources/Private/Language/locallang_be.xml:news-folder', 1 => 'news', 2 => '../typo3conf/ext/news/Resources/Public/Icons/folder.gif'); } } /*************** * Show news table in page module */ if ($configuration->getPageModuleFieldsNews()) {
// Spickzettel: // // TCA für tt_content: // typo3/sysext/cms/tbl_tt_content.php // // ----------------------------------------------------------------------- t3lib_div::loadTCA("tt_content"); t3lib_div::loadTCA("pages"); // ----------------------------------------------------------------------- // Dropdown Menü // ----------------------------------------------------------------------- // SysFolder: "Enthält Erweiterung..." Option zum Dropdown hinzufügen $TCA['pages']['columns']['module']['config']['items'][] = array('Dropdown-Menü (ddmenu)', 'ddmenu'); if (TYPO3_MODE == 'BE') { // Icon statt Seiten-Icon verwenden, wenn "Enthält Erweiterung" gewählt wurde t3lib_SpriteManager::addTcaTypeIcon('pages', 'contains-ddmenu', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'ddmenu_icon.gif'); $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_t3pimper_pi1_wizicon'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'pi1/class.tx_t3pimper_pi1_wizicon.php'; } $TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key'; \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:t3pimper/locallang.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'ext_icon.gif'), 'list_type'); // add flexform to pi1 $TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform'; $TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key,pages,recursive'; \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:t3pimper/pi1/flexform.xml'); // ----------------------------------------------------------------------- // Headline Farbe // ----------------------------------------------------------------------- $tempColumns = array("tx_t3pimper_headercolor" => array('exclude' => 1, 'label' => 'LLL:EXT:t3pimper/locallang_db.xml:tt_content.tx_t3pimper_headercolor', 'config' => array('type' => 'select', 'items' => array(array('LLL:EXT:t3pimper/locallang_db.xml:tt_content.tx_t3pimper_headercolor.l.0', '0'), array('LLL:EXT:t3pimper/locallang_db.xml:tt_content.tx_t3pimper_headercolor.l.1', '1'), array('LLL:EXT:t3pimper/locallang_db.xml:tt_content.tx_t3pimper_headercolor.l.6', '6')), 'default' => '0'))); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns("tt_content", $tempColumns, 1); //\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes("tt_content","tx_t3pimper_headercolor;;;;1-1-1", "", "after:header_layout"); $GLOBALS['TCA']['tt_content']['palettes']['header']['showitem'] = str_replace(', header_layout', ',tx_t3pimper_headercolor;;;;1-1-1, header_layout', $GLOBALS['TCA']['tt_content']['palettes']['header']['showitem']);
t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_filedelete', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_filedelete.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filedelete.title'); t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_filecopy', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_filecopymove.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filecopy.title'); t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_filemove', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_filecopymove.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filemove.title'); t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_filenew', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_filenew.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filenew.title'); // folder command modules (invisible) t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_foldernew', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_foldernew.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_foldernew.title'); t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_folderdelete', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_folderdelete.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filerename.title'); t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_folderrename', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_folderrename.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filerename.title'); // add context menu $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array('name' => 'tx_dam_cm_record', 'path' => PATH_txdam . 'binding/be/class.tx_dam_cm_record.php'); $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array('name' => 'tx_dam_cm_file', 'path' => PATH_txdam . 'binding/be/class.tx_dam_cm_file.php'); // media folder type and icon if (t3lib_div::int_from_ver(TYPO3_version) < 4004000) { $ICON_TYPES['dam'] = array('icon' => PATH_txdam_rel . 'modules_dam.gif'); } else { t3lib_SpriteManager::addTcaTypeIcon('pages', 'contains-dam', PATH_txdam_rel . 'modules_dam.gif'); } $TCA['pages']['columns']['module']['config']['items'][] = array('Media', 'dam', PATH_txdam_rel . 'modules_dam.gif'); // language hotlist $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:dam/binding/tce/class.tx_dam_tce_languagehotlist.php:&tx_dam_tce_languagehotlist'; tx_dam::register_action('tx_dam_action_renameFolder', 'EXT:dam/components/class.tx_dam_actionsFolder.php:&tx_dam_action_renameFolder'); tx_dam::register_action('tx_dam_action_deleteFolder', 'EXT:dam/components/class.tx_dam_actionsFolder.php:&tx_dam_action_deleteFolder'); tx_dam::register_action('tx_dam_action_newFolder', 'EXT:dam/components/class.tx_dam_actionsFolder.php:&tx_dam_action_newFolder'); tx_dam::register_action('tx_dam_action_newTextfile', 'EXT:dam/components/class.tx_dam_actionsFile.php:&tx_dam_action_newTextfile'); tx_dam::register_action('tx_dam_action_editFileRecord', 'EXT:dam/components/class.tx_dam_actionsFile.php:&tx_dam_action_editFileRecord'); tx_dam::register_action('tx_dam_action_viewFile', 'EXT:dam/components/class.tx_dam_actionsFile.php:&tx_dam_action_viewFile'); tx_dam::register_action('tx_dam_action_copyFile', 'EXT:dam/components/class.tx_dam_actionsFile.php:&tx_dam_action_copyFile'); tx_dam::register_action('tx_dam_action_editFile', 'EXT:dam/components/class.tx_dam_actionsFile.php:&tx_dam_action_editFile'); tx_dam::register_action('tx_dam_action_infoFile', 'EXT:dam/components/class.tx_dam_actionsFile.php:&tx_dam_action_infoFile'); tx_dam::register_action('tx_dam_action_moveFile', 'EXT:dam/components/class.tx_dam_actionsFile.php:&tx_dam_action_moveFile'); tx_dam::register_action('tx_dam_action_renameFile', 'EXT:dam/components/class.tx_dam_actionsFile.php:&tx_dam_action_renameFile');
/** * Backwards compatibility methods, log usage to deprecation log. * Will be removed in 4.7 * * @return void */ private function compatibilityCalls() { // Fallback for $TYPE_ICONS "contains-module" icons foreach ((array) $GLOBALS['ICON_TYPES'] as $module => $icon) { $iconFile = $icon['icon']; t3lib_div::deprecationLog('Usage of $ICON_TYPES is deprecated since 4.4.' . LF . 'The extTables.php entry $ICON_TYPES[\'' . $module . '\'] = \'' . $iconFile . '\'; should be replaced with' . LF . 't3lib_SpriteManager::addTcaTypeIcon(\'pages\', \'contains-' . $module . '\', \'' . $iconFile . '\');' . LF . 'instead.'); t3lib_SpriteManager::addTcaTypeIcon('pages', 'contains-' . $module, $iconFile); } // Fallback for $PAGE_TYPES icons foreach ((array) $GLOBALS['PAGES_TYPES'] as $type => $icon) { if (isset($icon['icon'])) { $iconFile = $icon['icon']; t3lib_div::deprecationLog('Usage of $PAGES_TYPES[\'icon\'] is deprecated since 4.4.' . LF . 'The extTables.php entry $PAGE_TYPES[\'' . $type . '\'][\'icon\'] = \'' . $iconFile . '\'; should be replaced with' . LF . 't3lib_SpriteManager::addTcaTypeIcon(\'pages\', \'' . $type . '\', \'' . $iconFile . '\');' . LF . 'instead.'); t3lib_SpriteManager::addTcaTypeIcon('pages', $module, $iconFile); } } }
switch (true) { case $llStatic == 'de': $TCA['pages']['columns']['module']['config']['items'][] = array('PDF-Controller: User Interface', 'pdfctrlg', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'); $TCA['pages']['columns']['module']['config']['items'][] = array('PDF-Controller: Button', 'pdfctrlb', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'); break; default: $TCA['pages']['columns']['module']['config']['items'][] = array('PDF Controller: User Interface', 'pdfctrlg', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'); $TCA['pages']['columns']['module']['config']['items'][] = array('PDF Controller: Button', 'pdfctrlb', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'); } // #34858, 120315, Rene Staecker- //$ICON_TYPES['pdfctrlg'] = array('icon' => t3lib_extMgm::extRelPath($_EXTKEY).'ext_icon.gif'); //$ICON_TYPES['pdfctrlb'] = array('icon' => t3lib_extMgm::extRelPath($_EXTKEY).'ext_icon.gif'); // #34858, 120315, Rene Staecker- // #34858, 120315, Rene Staecker+ t3lib_SpriteManager::addTcaTypeIcon('pages', 'contains-pdfctrlg', '../typo3conf/ext/pdfcontroller/ext_icon.gif'); t3lib_SpriteManager::addTcaTypeIcon('pages', 'contains-pdfctrlb', '../typo3conf/ext/pdfcontroller/ext_icon.gif'); // #34858, 120315, Rene Staecker+ // Add pagetree icons //////////////////////////////////////////////////////////////////////////// // // Enables the Include Static Templates // Case $llStatic switch (true) { case $llStatic == 'de': // German // t3lib_extMgm::addStaticFile($_EXTKEY,'static/pi1/', 'PDF-Controller: User-Interface'); t3lib_extMgm::addStaticFile($_EXTKEY, 'static/pi2/', 'PDF Controller: Button'); break; default: // English // t3lib_extMgm::addStaticFile($_EXTKEY,'static/pi1/', 'PDF Controller: User Interface');
// Case $beLanguage switch (true) { case $beLanguage == 'de': // German $TCA['pages']['columns']['module']['config']['items'][] = array('Deal!', 'deal', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'); $TCA['pages']['columns']['module']['config']['items'][] = array('Deal! ebay', 'dealebay', t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Images/Marketplaces/ebay/ext_icon.gif'); $TCA['pages']['columns']['module']['config']['items'][] = array('Deal! immobilienscout24', 'dealimmo24', t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Images/Marketplaces/Immo24/ext_icon.gif'); break; default: // English $TCA['pages']['columns']['module']['config']['items'][] = array('Deal!', 'deal', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'); $TCA['pages']['columns']['module']['config']['items'][] = array('Deal! ebay', 'dealebay', t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Images/Marketplaces/ebay/ext_icon.gif'); $TCA['pages']['columns']['module']['config']['items'][] = array('Deal! immobilienscout24', 'dealimmo24', t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Images/Marketplaces/Immo24/ext_icon.gif'); } // Case $beLanguage t3lib_SpriteManager::addTcaTypeIcon('pages', 'contains-deal', '../typo3conf/ext/deal/ext_icon.gif'); t3lib_SpriteManager::addTcaTypeIcon('pages', 'contains-dealebay', '../typo3conf/ext/deal/Resources/Public/Images/Marketplaces/ebay/ext_icon.gif'); t3lib_SpriteManager::addTcaTypeIcon('pages', 'contains-dealimmo24', '../typo3conf/ext/deal/Resources/Public/Images/Marketplaces/Immo24/ext_icon.gif'); // Add pagetree icons /////////////////////////////////////////////////////////// // // Methods for backend workflows //require_once(t3lib_extMgm::extPath($_EXTKEY).'lib/flexform/class.tx_deal_flexform.php'); require_once t3lib_extMgm::extPath($_EXTKEY) . 'lib/userfunc/class.tx_deal_userfunc.php'; // Methods for backend workflows // /////////////////////////////////////////////////////////// // // TCA for tx_quickshop_products require_once t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tx_quickshop_products/Marketplace/ebay/ext_tables.php'; // TCA for tx_quickshop_products
t3lib_extMgm::addTCAcolumns('be_users', $tempColumns, 1); t3lib_extMgm::addToAllTCAtypes('be_users', 'tt_news_categorymounts;;;;1-1-1'); if (TYPO3_MODE == 'BE') { // if (tx_ttnews_compatibility::getInstance()->int_from_ver(TYPO3_version) >= 4000000) { // if (tx_ttnews_compatibility::getInstance()->int_from_ver(TYPO3_version) >= 4002000) { t3lib_extMgm::addModule('web', 'txttnewsM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/'); $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables'][$_EXTKEY][0]['fList'] = 'uid,title,author,category,datetime,archivedate,tstamp'; $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables'][$_EXTKEY][0]['icon'] = TRUE; // } // register contextmenu for the tt_news category manager $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array('name' => 'tx_ttnewscatmanager_cm1', 'path' => t3lib_extMgm::extPath($_EXTKEY) . 'cm1/class.tx_ttnewscatmanager_cm1.php'); // } // Adds a tt_news wizard icon to the content element wizard. $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_ttnews_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'pi/class.tx_ttnews_wizicon.php'; // add folder icon // if (tx_ttnews_compatibility::getInstance()->int_from_ver(TYPO3_version) < 4004000) { // $ICON_TYPES['news'] = array('icon' => t3lib_extMgm::extRelPath($_EXTKEY) . 'res/gfx/ext_icon_ttnews_folder.gif'); // } else { t3lib_SpriteManager::addTcaTypeIcon('pages', 'contains-news', t3lib_extMgm::extRelPath($_EXTKEY) . 'res/gfx/ext_icon_ttnews_folder.gif'); // } if (TYPO3_UseCachingFramework || tx_ttnews_compatibility::getInstance()->int_from_ver(TYPO3_version) >= 6000000) { // register the cache in BE so it will be cleared with "clear all caches" try { $GLOBALS['typo3CacheFactory']->create('tt_news_cache', $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['tt_news_cache']['frontend'], $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['tt_news_cache']['backend'], $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['tt_news_cache']['options']); } catch (t3lib_cache_exception_DuplicateIdentifier $e) { // do nothing, a tt_news_cache cache already exists } } } // register HTML template for the tt_news BackEnd Module $GLOBALS['TBE_STYLES']['htmlTemplates']['mod_ttnews_admin.html'] = t3lib_extMgm::extRelPath('tt_news') . 'mod1/mod_ttnews_admin.html';