if (!defined('TYPO3_MODE')) { die('Access denied.'); } // avoid that this block is loaded in the frontend or within the upgrade-wizards if (TYPO3_MODE == 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) { /** * Registers a Backend Module */ Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'web', 'workspaces', 'before:info', array('Review' => 'index,fullIndex,singleIndex', 'Preview' => 'index,newPage'), array('access' => 'user,group', 'icon' => 'EXT:workspaces/Resources/Public/Images/moduleicon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml', 'navigationComponentId' => 'typo3-pagetree')); // register ExtDirect $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ExtDirect']['TYPO3.Workspaces.ExtDirect'] = t3lib_extMgm::extPath($_EXTKEY) . 'Classes/ExtDirect/Server.php:tx_Workspaces_ExtDirect_Server'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ExtDirect']['TYPO3.Workspaces.ExtDirectActions'] = t3lib_extMgm::extPath($_EXTKEY) . 'Classes/ExtDirect/ActionHandler.php:tx_Workspaces_ExtDirect_ActionHandler'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ExtDirect']['TYPO3.Workspaces.ExtDirectMassActions'] = t3lib_extMgm::extPath($_EXTKEY) . 'Classes/ExtDirect/MassActionHandler.php:tx_Workspaces_ExtDirect_MassActionHandler'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ExtDirect']['TYPO3.Ajax.ExtDirect.ToolbarMenu'] = t3lib_extMgm::extPath($_EXTKEY) . 'Classes/ExtDirect/ToolbarMenu.php:tx_Workspaces_ExtDirect_ToolbarMenu'; // register the reports statusprovider $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['configuration'][] = 'Tx_Workspaces_Reports_StatusProvider'; } /** * Table "sys_workspace": */ $TCA['sys_workspace'] = array('ctrl' => array('label' => 'title', 'tstamp' => 'tstamp', 'title' => 'LLL:EXT:lang/locallang_tca.xml:sys_workspace', 'adminOnly' => 1, 'rootLevel' => 1, 'delete' => 'deleted', 'iconfile' => 'sys_workspace.png', 'typeicon_classes' => array('default' => 'mimetypes-x-sys_workspace'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'versioningWS_alwaysAllowLiveEdit' => true, 'dividers2tabs' => true)); /** * Table "sys_workspace_stage": * Defines single custom stages which are related to sys_workspace table to create complex working processes * This is only the 'header' part (ctrl). The full configuration is found in t3lib/stddb/tbl_be.php */ $TCA['sys_workspace_stage'] = array('ctrl' => array('label' => 'title', 'tstamp' => 'tstamp', 'sortby' => 'sorting', 'title' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xml:sys_workspace_stage', 'adminOnly' => 1, 'rootLevel' => 1, 'hideTable' => TRUE, 'delete' => 'deleted', 'iconfile' => 'sys_workspace.png', 'typeicon_classes' => array('default' => 'mimetypes-x-sys_workspace'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'versioningWS_alwaysAllowLiveEdit' => true)); // todo move icons to Core sprite or keep them here and remove the todo note ;) $icons = array('sendtonextstage' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Images/version-workspace-sendtonextstage.png', 'sendtoprevstage' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Images/version-workspace-sendtoprevstage.png', 'generatepreviewlink' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Images/generate-ws-preview-link.png'); t3lib_SpriteManager::addSingleIcons($icons, $_EXTKEY); t3lib_extMgm::addLLrefForTCAdescr('sys_workspace_stage', 'EXT:workspaces/Resources/Private/Language/locallang_csh_sysws_stage.xml');
<?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/'); }
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/'); }
// 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']);
} \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');
// Setting roll-over background color for click menus: // Notice, this line uses the the 'scriptIDindex' feature to override another value in this array (namely $TBE_STYLES['mainColors']['bgColor5']), for a specific script "typo3/alt_clickmenu.php" $TBE_STYLES['scriptIDindex']['typo3/alt_clickmenu.php']['mainColors']['bgColor5'] = '#dedede'; // Setting up auto detection of alternative icons: $TBE_STYLES['skinImgAutoCfg'] = array('absDir' => t3lib_extMgm::extPath($_EXTKEY) . 'icons/', 'relDir' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icons/', 'forceFileExtension' => 'gif', 'iconSizeWidth' => 16, 'iconSizeHeight' => 16); // Changing icon for filemounts, needs to be done here as overwriting the original icon would also change the filelist tree's root icon $TCA['sys_filemounts']['ctrl']['iconfile'] = '_icon_ftp_2.gif'; // Adding flags to sys_language t3lib_div::loadTCA('sys_language'); $TCA['sys_language']['ctrl']['typeicon_column'] = 'flag'; $TCA['sys_language']['ctrl']['typeicon_classes'] = array('default' => 'mimetypes-x-sys_language', 'mask' => 'flags-###TYPE###'); $flagNames = array('multiple', 'ad', 'ae', 'af', 'ag', 'ai', 'al', 'am', 'an', 'ao', 'ar', 'as', 'at', 'au', 'aw', 'ax', 'az', 'ba', 'bb', 'bd', 'be', 'bf', 'bg', 'bh', 'bi', 'bj', 'bm', 'bn', 'bo', 'br', 'bs', 'bt', 'bv', 'bw', 'by', 'bz', 'ca', 'catalonia', 'cc', 'cd', 'cf', 'cg', 'ch', 'ci', 'ck', 'cl', 'cm', 'cn', 'co', 'cr', 'cs', 'cu', 'cv', 'cx', 'cy', 'cz', 'de', 'dj', 'dk', 'dm', 'do', 'dz', 'ec', 'ee', 'eg', 'eh', 'england', 'er', 'es', 'et', 'europeanunion', 'fam', 'fi', 'fj', 'fk', 'fm', 'fo', 'fr', 'ga', 'gb', 'gd', 'ge', 'gf', 'gh', 'gi', 'gl', 'gm', 'gn', 'gp', 'gq', 'gr', 'gs', 'gt', 'gu', 'gw', 'gy', 'hk', 'hm', 'hn', 'hr', 'ht', 'hu', 'id', 'ie', 'il', 'in', 'io', 'iq', 'ir', 'is', 'it', 'jm', 'jo', 'jp', 'ke', 'kg', 'kh', 'ki', 'km', 'kn', 'kp', 'kr', 'kw', 'ky', 'kz', 'la', 'lb', 'lc', 'li', 'lk', 'lr', 'ls', 'lt', 'lu', 'lv', 'ly', 'ma', 'mc', 'md', 'me', 'mg', 'mh', 'mk', 'ml', 'mm', 'mn', 'mo', 'mp', 'mq', 'mr', 'ms', 'mt', 'mu', 'mv', 'mw', 'mx', 'my', 'mz', 'na', 'nc', 'ne', 'nf', 'ng', 'ni', 'nl', 'no', 'np', 'nr', 'nu', 'nz', 'om', 'pa', 'pe', 'pf', 'pg', 'ph', 'pk', 'pl', 'pm', 'pn', 'pr', 'ps', 'pt', 'pw', 'py', 'qa', 'qc', 're', 'ro', 'rs', 'ru', 'rw', 'sa', 'sb', 'sc', 'scotland', 'sd', 'se', 'sg', 'sh', 'si', 'sj', 'sk', 'sl', 'sm', 'sn', 'so', 'sr', 'st', 'sv', 'sy', 'sz', 'tc', 'td', 'tf', 'tg', 'th', 'tj', 'tk', 'tl', 'tm', 'tn', 'to', 'tr', 'tt', 'tv', 'tw', 'tz', 'ua', 'ug', 'um', 'us', 'uy', 'uz', 'va', 'vc', 've', 'vg', 'vi', 'vn', 'vu', 'wales', 'wf', 'ws', 'ye', 'yt', 'za', 'zm', 'zw'); foreach ($flagNames as $flagName) { $TCA['sys_language']['columns']['flag']['config']['items'][] = array($flagName, $flagName, 'EXT:t3skin/images/flags/' . $flagName . '.png'); } // Manual setting up of alternative icons. This is mainly for module icons which has a special prefix: $TBE_STYLES['skinImg'] = array_merge($presetSkinImgs, array('gfx/ol/blank.gif' => array('clear.gif', 'width="18" height="16"'), 'MOD:web/website.gif' => array($temp_eP . 'icons/module_web.gif', 'width="24" height="24"'), 'MOD:web_layout/layout.gif' => array($temp_eP . 'icons/module_web_layout.gif', 'width="24" height="24"'), 'MOD:web_view/view.gif' => array($temp_eP . 'icons/module_web_view.png', 'width="24" height="24"'), 'MOD:web_list/list.gif' => array($temp_eP . 'icons/module_web_list.gif', 'width="24" height="24"'), 'MOD:web_info/info.gif' => array($temp_eP . 'icons/module_web_info.png', 'width="24" height="24"'), 'MOD:web_perm/perm.gif' => array($temp_eP . 'icons/module_web_perms.png', 'width="24" height="24"'), 'MOD:web_func/func.gif' => array($temp_eP . 'icons/module_web_func.png', 'width="24" height="24"'), 'MOD:web_ts/ts1.gif' => array($temp_eP . 'icons/module_web_ts.gif', 'width="24" height="24"'), 'MOD:web_modules/modules.gif' => array($temp_eP . 'icons/module_web_modules.gif', 'width="24" height="24"'), 'MOD:web_txversionM1/cm_icon.gif' => array($temp_eP . 'icons/module_web_version.gif', 'width="24" height="24"'), 'MOD:file/file.gif' => array($temp_eP . 'icons/module_file.gif', 'width="22" height="24"'), 'MOD:file_list/list.gif' => array($temp_eP . 'icons/module_file_list.gif', 'width="22" height="24"'), 'MOD:file_images/images.gif' => array($temp_eP . 'icons/module_file_images.gif', 'width="22" height="22"'), 'MOD:user/user.gif' => array($temp_eP . 'icons/module_user.gif', 'width="22" height="22"'), 'MOD:user_task/task.gif' => array($temp_eP . 'icons/module_user_taskcenter.gif', 'width="22" height="22"'), 'MOD:user_setup/setup.gif' => array($temp_eP . 'icons/module_user_setup.gif', 'width="22" height="22"'), 'MOD:user_doc/document.gif' => array($temp_eP . 'icons/module_doc.gif', 'width="22" height="22"'), 'MOD:user_ws/sys_workspace.gif' => array($temp_eP . 'icons/module_user_ws.gif', 'width="22" height="22"'), 'MOD:tools/tool.gif' => array($temp_eP . 'icons/module_tools.gif', 'width="25" height="24"'), 'MOD:tools_beuser/beuser.gif' => array($temp_eP . 'icons/module_tools_user.gif', 'width="24" height="24"'), 'MOD:tools_em/em.gif' => array($temp_eP . 'icons/module_tools_em.png', 'width="24" height="24"'), 'MOD:tools_em/install.gif' => array($temp_eP . 'icons/module_tools_em.gif', 'width="24" height="24"'), 'MOD:tools_dbint/db.gif' => array($temp_eP . 'icons/module_tools_dbint.gif', 'width="25" height="24"'), 'MOD:tools_config/config.gif' => array($temp_eP . 'icons/module_tools_config.gif', 'width="24" height="24"'), 'MOD:tools_install/install.gif' => array($temp_eP . 'icons/module_tools_install.gif', 'width="24" height="24"'), 'MOD:tools_log/log.gif' => array($temp_eP . 'icons/module_tools_log.gif', 'width="24" height="24"'), 'MOD:tools_txphpmyadmin/thirdparty_db.gif' => array($temp_eP . 'icons/module_tools_phpmyadmin.gif', 'width="24" height="24"'), 'MOD:tools_isearch/isearch.gif' => array($temp_eP . 'icons/module_tools_isearch.gif', 'width="24" height="24"'), 'MOD:help/help.gif' => array($temp_eP . 'icons/module_help.gif', 'width="23" height="24"'), 'MOD:help_about/info.gif' => array($temp_eP . 'icons/module_help_about.gif', 'width="25" height="24"'), 'MOD:help_aboutmodules/aboutmodules.gif' => array($temp_eP . 'icons/module_help_aboutmodules.gif', 'width="24" height="24"'), 'MOD:help_cshmanual/about.gif' => array($temp_eP . 'icons/module_help_cshmanual.gif', 'width="25" height="24"'), 'MOD:help_txtsconfighelpM1/moduleicon.gif' => array($temp_eP . 'icons/module_help_ts.gif', 'width="25" height="24"'))); // Logo at login screen $TBE_STYLES['logo_login'] = $temp_eP . 'images/login/typo3logo-white-greyback.gif'; // extJS theme $TBE_STYLES['extJS']['theme'] = $temp_eP . 'extjs/xtheme-t3skin.css'; // Adding HTML template for login screen $TBE_STYLES['htmlTemplates']['templates/login.html'] = 'sysext/t3skin/templates/login.html'; $GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems'][] = t3lib_extMgm::extPath('t3skin') . 'registerIe6Stylesheet.php'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/template.php']['preHeaderRenderHook'][] = t3lib_extMgm::extPath('t3skin') . 'pngfix/class.tx_templatehook.php:tx_templatehook->registerPngFix'; $GLOBALS['TBE_STYLES']['stylesheets']['admPanel'] = t3lib_extMgm::siteRelPath('t3skin') . 'stylesheets/standalone/admin_panel.css'; foreach ($flagNames as $flagName) { t3lib_SpriteManager::addIconSprite(array('flags-' . $flagName, 'flags-' . $flagName . '-overlay')); } unset($flagNames, $flagName); }
/*************** * 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()) {
/** * 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); } } }
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');
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } if (TYPO3_MODE === 'BE') { t3lib_extMgm::addModule('tools', 'em', '', t3lib_extMgm::extPath($_EXTKEY) . 'classes/'); // register Ext.Direct $TYPO3_CONF_VARS['SC_OPTIONS']['ExtDirect']['TYPO3.EM.ExtDirect'] = t3lib_extMgm::extPath($_EXTKEY) . 'classes/connection/class.tx_em_connection_extdirectserver.php:tx_em_Connection_ExtDirectServer'; $TYPO3_CONF_VARS['SC_OPTIONS']['ExtDirect']['TYPO3.EMSOAP.ExtDirect'] = t3lib_extMgm::extPath($_EXTKEY) . 'classes/connection/class.tx_em_connection_extdirectsoap.php:tx_em_Connection_ExtDirectSoap'; // register reports check $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['Extension Manager'][] = 'tx_em_reports_ExtensionStatus'; $icons = array('extension-required' => t3lib_extMgm::extRelPath('em') . 'res/icons/extension-required.png'); t3lib_SpriteManager::addSingleIcons($icons, 'em'); }
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';
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } $TCA['tx_contexts_contexts'] = array('ctrl' => array('title' => 'LLL:EXT:contexts/Resources/Private/Language/locallang_db.xml:tx_contexts_contexts', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'disabled'), 'requestUpdate' => 'type', 'adminOnly' => 1, 'rootLevel' => -1, 'dividers2tabs' => 1, 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_contexts_contexts.gif')); t3lib_extMgm::addLLrefForTCAdescr('tx_contexts_contexts.type_conf.combination', 'EXT:contexts/Resources/Private/csh/Combination.xml'); require_once t3lib_extMgm::extPath($_EXTKEY) . 'tca.php'; if (TYPO3_MODE == 'BE') { //all other modes did load it already include_once t3lib_extMgm::extPath($_EXTKEY) . 'ext_contexts.php'; } $dir = t3lib_extMgm::extRelPath($_EXTKEY); $icons = array('status-overlay-contexts' => $dir . 'overlay-contexts.png'); t3lib_SpriteManager::addSingleIcons($icons, 'contexts'); $GLOBALS['TBE_STYLES']['spriteIconApi']['spriteIconRecordOverlayPriorities'][150] = 'contexts'; $GLOBALS['TBE_STYLES']['spriteIconApi']['spriteIconRecordOverlayNames']['contexts'] = 'extensions-contexts-status-overlay-contexts';