<?php /*************************************************************** * Copyright notice * * (c) 2011 Nicolas Forgerit <*****@*****.**> * 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 2 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 (TYPO3_MODE === 'BE') { Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'tools', 'tx_t3tt_mod1', '', array('Index' => 'index, step1, step2, step3, downloadOutputFile'), array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.png', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml')); }
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } // Add module to the BE // Avoid loading the module when in the frontend or the Install Tool if (TYPO3_MODE == 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) { // Register the backend module Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'tools', 'svconnector', '', array('Testing' => 'default'), array('access' => 'admin', 'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Images/moduleIcon.png', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xml')); }
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } if (TYPO3_MODE === 'BE') { /** * Registers a Backend Module */ Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'tools', 'composer', '', array('Package' => 'list, show, new, create, edit, update, delete, install, installAssets'), array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_composer.xml')); } #t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Cundd Composer'); // t3lib_extMgm::addLLrefForTCAdescr('tx_cunddcomposer_domain_model_package', 'EXT:cundd_composer/Resources/Private/Language/locallang_csh_tx_cunddcomposer_domain_model_package.xml'); // t3lib_extMgm::allowTableOnStandardPages('tx_cunddcomposer_domain_model_package'); // $TCA['tx_cunddcomposer_domain_model_package'] = array( // 'ctrl' => array( // 'title' => 'LLL:EXT:cundd_composer/Resources/Private/Language/locallang_db.xml:tx_cunddcomposer_domain_model_package', // 'label' => 'name', // 'tstamp' => 'tstamp', // 'crdate' => 'crdate', // 'cruser_id' => 'cruser_id', // 'dividers2tabs' => TRUE, // 'versioningWS' => 2, // 'versioning_followPages' => TRUE, // 'origUid' => 't3_origuid', // 'languageField' => 'sys_language_uid', // 'transOrigPointerField' => 'l10n_parent', // 'transOrigDiffSourceField' => 'l10n_diffsource', // 'delete' => 'deleted', // 'enablecolumns' => array( // 'disabled' => 'hidden',
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } // ========== Register BE Modules if (TYPO3_MODE == 'BE') { Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'web', 'tx_newsletter_m1', 'before:info', array('Module' => 'index', 'Newsletter' => 'list, listPlanned, create, statistics', 'Email' => 'list', 'Link' => 'list', 'BounceAccount' => 'list', 'RecipientList' => 'list, listRecipient'), array('access' => 'user,group', 'icon' => 'EXT:newsletter/Resources/Public/Icons/tx_newsletter.png', 'labels' => 'LLL:EXT:newsletter/Resources/Private/Language/locallang_module.xml')); } \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_newsletter_domain_model_newsletter', 'EXT:newsletter/Resources/Private/Language/locallang_csh_tx_newsletter_domain_model_newsletter.xml'); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_newsletter_domain_model_newsletter'); $TCA['tx_newsletter_domain_model_newsletter'] = array('ctrl' => array('title' => 'LLL:EXT:newsletter/Resources/Private/Language/locallang_db.xml:tx_newsletter_domain_model_newsletter', 'label' => 'planned_time', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Newsletter.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_newsletter_domain_model_newsletter.gif')); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_newsletter_domain_model_bounceaccount', 'EXT:newsletter/Resources/Private/Language/locallang_csh_tx_newsletter_domain_model_bounceaccount.xml'); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_newsletter_domain_model_bounceaccount'); $TCA['tx_newsletter_domain_model_bounceaccount'] = array('ctrl' => array('title' => 'LLL:EXT:newsletter/Resources/Private/Language/locallang_db.xml:tx_newsletter_domain_model_bounceaccount', 'label' => 'email', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/BounceAccount.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_newsletter_domain_model_bounceaccount.gif')); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_newsletter_domain_model_recipientlist', 'EXT:newsletter/Resources/Private/Language/locallang_csh_tx_newsletter_domain_model_recipientlist.xml'); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_newsletter_domain_model_recipientlist'); $TCA['tx_newsletter_domain_model_recipientlist'] = array('ctrl' => array('title' => 'LLL:EXT:newsletter/Resources/Private/Language/locallang_db.xml:tx_newsletter_domain_model_recipientlist', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'delete' => 'deleted', 'type' => 'type', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/RecipientList.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_newsletter_domain_model_recipientlist.gif', 'type' => 'type')); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_newsletter_domain_model_email', 'EXT:newsletter/Resources/Private/Language/locallang_csh_tx_newsletter_domain_model_email.xml'); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_newsletter_domain_model_email'); $TCA['tx_newsletter_domain_model_email'] = array('ctrl' => array('title' => 'LLL:EXT:newsletter/Resources/Private/Language/locallang_db.xml:tx_newsletter_domain_model_email', 'label' => 'recipient_address', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Email.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_newsletter_domain_model_email.gif')); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_newsletter_domain_model_link', 'EXT:newsletter/Resources/Private/Language/locallang_csh_tx_newsletter_domain_model_link.xml'); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_newsletter_domain_model_link'); $TCA['tx_newsletter_domain_model_link'] = array('ctrl' => array('title' => 'LLL:EXT:newsletter/Resources/Private/Language/locallang_db.xml:tx_newsletter_domain_model_link', 'label' => 'url', 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Link.php', 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_newsletter_domain_model_link.gif'));
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } // Avoid loading the module when in the frontend or the Install Tool if (TYPO3_MODE == 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) { // Register the backend module Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'user', 'external_import', '', array('Listing' => 'sync,noSync'), array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Images/moduleIcon.png', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xml')); }
$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')); t3lib_extMgm::allowTableOnStandardPages('tx_blogexample_domain_model_post'); $TCA['tx_blogexample_domain_model_post'] = array('ctrl' => array('title' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_post', 'label' => 'title', 'label_alt' => 'author', 'label_alt_force' => TRUE, '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/Post.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_blogexample_domain_model_post.gif')); t3lib_extMgm::allowTableOnStandardPages('tx_blogexample_domain_model_comment'); $TCA['tx_blogexample_domain_model_comment'] = array('ctrl' => array('title' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_comment', 'label' => 'date', 'label_alt' => 'author', 'label_alt_force' => TRUE, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Comment.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_blogexample_domain_model_comment.gif')); t3lib_extMgm::allowTableOnStandardPages('tx_blogexample_domain_model_person'); $TCA['tx_blogexample_domain_model_person'] = array('ctrl' => array('title' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_person', 'label' => 'lastname', 'label_alt' => 'firstname', 'label_alt_force' => TRUE, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'versioningWS' => 2, 'versioning_followPages' => true, 'origUid' => 't3_origuid', 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xml:LGL.prependAtCopy', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Person.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_blogexample_domain_model_person.gif'));
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_eventsubscribe'; $TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform'; t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_eventsubscribe.xml'); Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Eventuserpanel', 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_be.xlf:plugin.Eventuserpanel'); $pluginSignature = str_replace('_', '', $_EXTKEY) . '_eventuserpanel'; $TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform'; t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_eventuserpanel.xml'); Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Eventgeniusbar', 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_be.xlf:plugin.Eventgeniusbar'); $pluginSignature = str_replace('_', '', $_EXTKEY) . '_eventgeniusbar'; $TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform'; t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_eventgeniusbar.xml'); if (TYPO3_MODE === 'BE') { /** * Registers a Backend Module */ Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'web', 'woehrlseminare', '', array('Event' => 'beList, beCopy, show, new, create, edit, update, delete, listOwn', 'Category' => '', 'Subscriber' => 'beIcsInvitation, list, beList, beOnlineSurvey', 'Location' => ''), array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_woehrlseminare.xlf')); } t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'WÖHRL Akademie | Seminare'); t3lib_extMgm::addLLrefForTCAdescr('tx_woehrlseminare_domain_model_event', 'EXT:woehrl_seminare/Resources/Private/Language/locallang_csh_tx_woehrlseminare_domain_model_event.xlf'); t3lib_extMgm::allowTableOnStandardPages('tx_woehrlseminare_domain_model_event'); $TCA['tx_woehrlseminare_domain_model_event'] = array('ctrl' => array('title' => 'LLL:EXT:woehrl_seminare/Resources/Private/Language/locallang_db.xlf:tx_woehrlseminare_domain_model_event', 'label' => 'title', '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,start_date_time,all_day,end_date_time,sub_end_date_time,teaser,description,min_subscriber,max_subscriber,audience,categories,subscribers,location,discipline,kompetenzkriterie,', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Event.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_woehrlseminare_domain_model_event.gif', 'requestUpdate' => 'genius_bar')); t3lib_extMgm::addLLrefForTCAdescr('tx_woehrlseminare_domain_model_category', 'EXT:woehrl_seminare/Resources/Private/Language/locallang_csh_tx_woehrlseminare_domain_model_category.xlf'); t3lib_extMgm::allowTableOnStandardPages('tx_woehrlseminare_domain_model_category'); $TCA['tx_woehrlseminare_domain_model_category'] = array('ctrl' => array('title' => 'LLL:EXT:woehrl_seminare/Resources/Private/Language/locallang_db.xlf:tx_woehrlseminare_domain_model_category', 'label' => 'title', '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,parent,', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Category.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_woehrlseminare_domain_model_category.gif', 'requestUpdate' => 'genius_bar,sys_language_uid')); t3lib_extMgm::addLLrefForTCAdescr('tx_woehrlseminare_domain_model_subscriber', 'EXT:woehrl_seminare/Resources/Private/Language/locallang_csh_tx_woehrlseminare_domain_model_subscriber.xlf'); t3lib_extMgm::allowTableOnStandardPages('tx_woehrlseminare_domain_model_subscriber'); $TCA['tx_woehrlseminare_domain_model_subscriber'] = array('ctrl' => array('title' => 'LLL:EXT:woehrl_seminare/Resources/Private/Language/locallang_db.xlf:tx_woehrlseminare_domain_model_subscriber', 'label' => 'name', 'label_alt' => 'vorname, haus, customerid', 'label_alt_force' => 1, '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' => 'name,email,telephone,customerid,number,editcode,', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Subscriber.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_woehrlseminare_domain_model_subscriber.gif')); t3lib_extMgm::addLLrefForTCAdescr('tx_woehrlseminare_domain_model_location', 'EXT:woehrl_seminare/Resources/Private/Language/locallang_csh_tx_woehrlseminare_domain_model_location.xlf'); t3lib_extMgm::allowTableOnStandardPages('tx_woehrlseminare_domain_model_location'); $TCA['tx_woehrlseminare_domain_model_location'] = array('ctrl' => array('title' => 'LLL:EXT:woehrl_seminare/Resources/Private/Language/locallang_db.xlf:tx_woehrlseminare_domain_model_location', 'label' => 'name', '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' => 'name,description,link,parent,', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Location.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_woehrlseminare_domain_model_location.gif', 'requestUpdate' => 'sys_language_uid')); t3lib_extMgm::addLLrefForTCAdescr('tx_woehrlseminare_domain_model_discipline', 'EXT:woehrl_seminare/Resources/Private/Language/locallang_csh_tx_woehrlseminare_domain_model_discipline.xlf');
/** * Registers a Backend Module */ Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'web', 'stage', '', array('Content' => 'compare, view, push', 'Review' => 'list, reviewed, reinitialize, new, create, edit, update, delete'), array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_stage.xml', 'navigationComponentId' => 'typo3-pagetree')); /** * Registers a Backend Module */ Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'web', 'stageSnapshots', '', array('Snapshot' => 'list, create, delete, revert'), array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_stageSnapshots.xml', 'navigationComponentId' => 'typo3-pagetree')); /** * Registers a Backend Module */ Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'web', 'stageInit', '', array('Initialize' => 'show, doInitialize'), array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_stageInit.xml', 'navigationComponentId' => 'typo3-pagetree')); /** * Registers a Backend Module */ Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'web', 'stageFederated', '', array('Federated' => 'show, doFederated'), array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_stageFederated.xml', 'navigationComponentId' => 'typo3-pagetree')); /** * History/undo xclass to show publish of reviews. */ //require_once(t3lib_extMgm::extPath('contentstage', 'Classes/Xclass/RecordHistory.php')); } t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Content staging'); t3lib_extMgm::addLLrefForTCAdescr('tx_contentstage_domain_model_review', 'EXT:contentstage/Resources/Private/Language/locallang_csh_tx_contentstage_domain_model_review.xml'); t3lib_extMgm::allowTableOnStandardPages('tx_contentstage_domain_model_review'); $TCA['tx_contentstage_domain_model_review'] = array('ctrl' => array('hideTable' => 0, 'title' => 'LLL:EXT:contentstage/Resources/Private/Language/locallang_db.xml:tx_contentstage_domain_model_review', 'label' => 'crdate', 'label_alt' => 'pid,levels', 'label_alt_force' => 1, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'sortby' => 'crdate', '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' => 'created,page,levels,required,debug,reviewed,creator,changes,state,', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Review.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_contentstage_domain_model_review.gif')); t3lib_extMgm::addLLrefForTCAdescr('tx_contentstage_domain_model_reviewed', 'EXT:contentstage/Resources/Private/Language/locallang_csh_tx_contentstage_domain_model_reviewed.xml'); t3lib_extMgm::allowTableOnStandardPages('tx_contentstage_domain_model_reviewed'); $TCA['tx_contentstage_domain_model_reviewed'] = array('ctrl' => array('hideTable' => 0, 'title' => 'LLL:EXT:contentstage/Resources/Private/Language/locallang_db.xml:tx_contentstage_domain_model_reviewed', 'label' => 'reviewed', 'label_alt' => 'reviewer,ok', 'label_alt_force' => 1, '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' => 'reviewed,ok,reviewer,', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Reviewed.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_contentstage_domain_model_reviewed.gif')); t3lib_extMgm::addLLrefForTCAdescr('tx_contentstage_domain_model_dbrecord', 'EXT:contentstage/Resources/Private/Language/tx_contentstage_domain_model_dbrecord.xml'); t3lib_extMgm::allowTableOnStandardPages('tx_contentstage_domain_model_dbrecord'); $TCA['tx_contentstage_domain_model_dbrecord'] = array('ctrl' => array('hideTable' => 0, 'title' => 'LLL:EXT:contentstage/Resources/Private/Language/locallang_db.xml:tx_contentstage_domain_model_dbrecord', 'label' => 'dbrecord', 'label_alt' => 'tablename,recorduid', 'label_alt_force' => 1, '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' => 'tablename,recorduid', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Dbrecord.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_contentstage_domain_model_dbrecord.gif'));
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } if (TYPO3_MODE === 'BE') { $columnArray = array('pages' => array('tx_tablecleaner_exclude' => array('exclude' => TRUE, 'label' => 'LLL:EXT:tablecleaner/Resources/Private/Language/locallang_db.xml:pages.tx_tablecleaner_exclude', 'config' => array('type' => 'check', 'default' => 0, 'items' => array(array('LLL:EXT:lang/locallang_core.xml:labels.enabled', 1)))), 'tx_tablecleaner_exclude_branch' => array('exclude' => TRUE, 'label' => 'LLL:EXT:tablecleaner/Resources/Private/Language/locallang_db.xml:pages.tx_tablecleaner_exclude_branch', 'config' => array('type' => 'check', 'default' => 0, 'items' => array(array('LLL:EXT:lang/locallang_core.xml:labels.enabled', 1)))))); t3lib_extMgm::addTCAcolumns('pages', $columnArray['pages']); if (isset($GLOBALS['TCA']['pages']['palettes']['visibility'])) { t3lib_extMgm::addFieldsToPalette('pages', 'visibility', 'tx_tablecleaner_exclude', 'after:nav_hide'); t3lib_extMgm::addFieldsToPalette('pages', 'visibility', 'tx_tablecleaner_exclude_branch', 'after:tx_tablecleaner_exclude'); } else { t3lib_extMgm::addToAllTCAtypes('pages', 'tx_tablecleaner_exclude', '', 'after:nav_hide'); t3lib_extMgm::addToAllTCAtypes('pages', 'tx_tablecleaner_exclude_branch', '', 'after:tx_tablecleaner_exclude'); } t3lib_extMgm::addLLrefForTCAdescr('tablecleaner', 'EXT:tablecleaner/Resources/Private/Language/ContextSensitiveHelp.xml'); t3lib_extMgm::addLLrefForTCAdescr('pages', 'EXT:tablecleaner/Resources/Private/Language/ContextSensitiveHelpPages.xml'); /** * Register the Backend Module */ Tx_Extbase_Utility_Extension::registerModule('tablecleaner', 'web', 'Tx_Tablecleaner_InfoModule', 'after:info', array('InfoModule' => 'index'), array('access' => 'user,group', 'icon' => 'EXT:tablecleaner/ext_icon.gif', 'labels' => 'LLL:EXT:tablecleaner/Resources/Private/Language/locallang.xml')); }
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'TemplaVoila Toolbox'); if (TYPO3_MODE === 'BE') { /** * Registers a Backend Module */ Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'web', 'sf_tv2fluidge', '', array('Tv2fluidge' => 'index,indexDeleteUnreferencedElements,deleteUnreferencedElements,indexConvertReferenceElements,convertReferenceElements,indexMigrateFce,migrateFce,indexMigrateContent,migrateContent,indexConvertMultilangContent,convertMultilangContent,indexFixSorting,fixSorting'), array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xml')); }
$_EXTKEY, 'Pi2', 'Powermail_Frontend' ); /** * Include Backend Module */ if (TYPO3_MODE === 'BE' && !$confArr['disableBackendModule'] && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) { Tx_Extbase_Utility_Extension::registerModule( $_EXTKEY, 'web', // Make module a submodule of 'web' 'm1', // Submodule key '', // Position array( 'Module' => 'listBe, checkBe, exportBe, reportingBe, reportingFormBe, reportingMarketingBe' ), array( 'access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml', ) ); } /** * Include Flexform */ // Pi1 $pluginSignature = str_replace('_', '', $_EXTKEY) . '_pi1'; $TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform'; t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_pi1.xml');
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } if (TYPO3_MODE === 'BE') { /** * Registers a Backend Module */ Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'tools', 'dbs', '', array('Sync' => 'show, list, new, create, edit, update, delete, syncAll', 'FileMeta' => '', 'OAuth' => 'connectRequest, connectResponse, disconnectDropbox'), array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_dbs.xml')); } t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Dropbox Sync'); t3lib_extMgm::addLLrefForTCAdescr('tx_dldropboxsync_domain_model_syncconfiguration', 'EXT:dl_dropboxsync/Resources/Private/Language/locallang_csh_tx_dldropboxsync_domain_model_syncconfiguration.xml'); t3lib_extMgm::allowTableOnStandardPages('tx_dldropboxsync_domain_model_syncconfiguration'); $TCA['tx_dldropboxsync_domain_model_syncconfiguration'] = array('ctrl' => array('title' => 'LLL:EXT:dl_dropboxsync/Resources/Private/Language/locallang_db.xml:tx_dldropboxsync_domain_model_syncconfiguration', 'label' => 'identifier', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, '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'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/SyncConfiguration.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_dldropboxsync_domain_model_syncconfiguration.gif')); t3lib_extMgm::addLLrefForTCAdescr('tx_dldropboxsync_domain_model_filemeta', 'EXT:dl_dropboxsync/Resources/Private/Language/locallang_csh_tx_dldropboxsync_domain_model_filemeta.xml'); t3lib_extMgm::allowTableOnStandardPages('tx_dldropboxsync_domain_model_filemeta'); $TCA['tx_dldropboxsync_domain_model_filemeta'] = array('ctrl' => array('title' => 'LLL:EXT:dl_dropboxsync/Resources/Private/Language/locallang_db.xml:tx_dldropboxsync_domain_model_filemeta', 'label' => 'mime_type', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, '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'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/FileMeta.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_dldropboxsync_domain_model_filemeta.gif'));
<?php 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('smoothmigration', 'tools', 'smoothmigration', 'after:reports', array('Report' => 'checks,show,extension,reportOverview,pageIdList', 'Ajax' => 'runTest,getResults,clearTestResults'), array('access' => 'user,group', 'icon' => 'EXT:smoothmigration/Resources/Public/Images/ModuleIcon.png', 'labels' => 'LLL:EXT:smoothmigration/Resources/Private/Language/locallang_mod.xml')); $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers']['smoothMigration'] = 'Tx_Smoothmigration_Controller_SmoothmigrationCommandController'; } $TCA['tx_smoothmigration_domain_model_issue'] = array('ctrl' => array('title' => 'Recognized upgrade issues', 'label' => 'title', 'default_sortby' => 'ORDER BY extension, inspection', 'label_userFunc' => t3lib_extMgm::extPath('smoothmigration') . 'Classes/UserFunctions/Tca.php:Tx_smoothmigration_UserFunctions_Tca->issueTitle', 'dynamicConfigFile' => t3lib_extMgm::extPath('smoothmigration') . 'Configuration/TCA/tx_smoothmigration_domain_model_issue.php', 'iconfile' => t3lib_extMgm::extRelPath('smoothmigration') . 'ext_icon.gif')); // allow test results on normal pages t3lib_extMgm::allowTableOnStandardPages('tx_smoothmigration_domain_model_issue'); $TCA['tx_smoothmigration_domain_model_deprecation'] = array('ctrl' => array('title' => 'Deprecated methods', 'label' => 'title', 'default_sortby' => 'ORDER BY class, interface, method', 'dynamicConfigFile' => t3lib_extMgm::extPath('smoothmigration') . 'Configuration/TCA/tx_smoothmigration_domain_model_deprecation.php', 'iconfile' => t3lib_extMgm::extRelPath('smoothmigration') . 'ext_icon.gif')); // enable label_userFunc only for TYPO3 v 4.1 and higher if (t3lib_div::int_from_ver(TYPO3_version) >= 4001000) { $TCA['tx_smoothmigration_domain_model_deprecation']['ctrl']['label_userFunc'] = 'Tx_smoothmigration_UserFunctions_Tca->deprecationTitle'; $TCA['tx_smoothmigration_domain_model_issue']['ctrl']['label_userFunc'] = 'Tx_smoothmigration_UserFunctions_Tca->issueTitle'; } // allow test results on normal pages t3lib_extMgm::allowTableOnStandardPages('tx_smoothmigration_domain_model_deprecation');
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } /** * Register Backend Module */ Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'tools', 'extensionbuilder', '', array('BuilderModule' => 'index,domainmodelling,dispatchRpc'), array('access' => 'user,group', 'icon' => 'EXT:extension_builder/ext_icon.gif', 'labels' => 'LLL:EXT:extension_builder/Resources/Private/Language/locallang_mod.xml'));
<?php 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');
Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'web', 'tx_news_m1', '', array('Import' => 'index, runJob, jobInfo'), array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/import_module.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml')); // show tt_news importer only if tt_news is installed if (t3lib_extMgm::isLoaded('tt_news')) { Tx_News_Utility_ImportJob::register('Tx_News_Jobs_TTNewsNewsImportJob', 'LLL:EXT:news/Resources/Private/Language/locallang_be.xml:ttnews_importer_title', ''); Tx_News_Utility_ImportJob::register('Tx_News_Jobs_TTNewsCategoryImportJob', 'LLL:EXT:news/Resources/Private/Language/locallang_be.xml:ttnewscategory_importer_title', ''); } if (t3lib_extMgm::isLoaded('t3blog')) { Tx_News_Utility_ImportJob::register('Tx_News_Jobs_T3BlogNewsImportJob', 'LLL:EXT:news/Resources/Private/Language/locallang_be.xml:t3blog_importer_title', ''); Tx_News_Utility_ImportJob::register('Tx_News_Jobs_T3BlogCategoryImportJob', 'LLL:EXT:news/Resources/Private/Language/locallang_be.xml:t3blogcategory_importer_title', ''); } } /* =========================================================================== Register BE-Module for Administration =========================================================================== */ if (TYPO3_MODE === 'BE' && $configuration->getShowAdministrationModule()) { Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'web', 'tx_news_m2', '', array('Administration' => 'index,newNews,newCategory,newsPidListing'), array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/folder.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_modadministration.xml')); } /* =========================================================================== Ajax call to save tags =========================================================================== */ if (TYPO3_MODE == 'BE') { $GLOBALS['TYPO3_CONF_VARS']['BE']['AJAX']['News::createTag'] = 'typo3conf/ext/news/Classes/Hooks/SuggestReceiverCall.php:Tx_News_Hooks_SuggestReceiverCall->createTag'; } /* =========================================================================== Default configuration =========================================================================== */ $GLOBALS['TYPO3_CONF_VARS']['EXT']['news']['orderByCategory'] = 'uid,title,tstamp,sorting'; $GLOBALS['TYPO3_CONF_VARS']['EXT']['news']['orderByNews'] = 'tstamp,datetime,crdate,title'; $GLOBALS['TYPO3_CONF_VARS']['EXT']['news']['orderByTag'] = 'tstamp,crdate,title'; $GLOBALS['TYPO3_CONF_VARS']['EXT']['news']['switchableControllerActions']['list'] = $configuration->getRemoveListActionFromFlexforms(); /* ===========================================================================
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } /** ********************************************************************************** * Backen-Modul ********************************************************************************** **/ if (TYPO3_MODE === 'BE') { /** * Registers a Backend Module */ Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'web', 'tx_kiddognews_m1', '', array('Backend' => 'index,overview'), array('access' => 'admin', 'icon' => 'EXT:kiddog_news/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml')); } /** ********************************************************************************** * Frontend-Plugin ********************************************************************************** **/ Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi1', 'News-System'); t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'News-System'); t3lib_extMgm::allowTableOnStandardPages('tx_kiddognews_domain_model_post'); $TCA['tx_kiddognews_domain_model_post'] = array('ctrl' => array('title' => 'Post', '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/tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_kiddognews_domain_model_post.png')); t3lib_extMgm::allowTableOnStandardPages('tx_kiddognews_domain_model_comment'); $TCA['tx_kiddognews_domain_model_comment'] = array('ctrl' => array('title' => 'Comment', 'label' => 'date', '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/tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_kiddognews_domain_model_comment.png')); t3lib_extMgm::allowTableOnStandardPages('tx_kiddognews_domain_model_category'); $TCA['tx_kiddognews_domain_model_category'] = array('ctrl' => array('title' => 'Category', 'label' => 'name', '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/tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_kiddognews_domain_model_category.png')); t3lib_extMgm::allowTableOnStandardPages('tx_kiddognews_domain_model_tag'); $TCA['tx_kiddognews_domain_model_tag'] = array('ctrl' => array('title' => 'Tag', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_kiddognews_domain_model_tag.png')); t3lib_extMgm::allowTableOnStandardPages('tx_kiddognews_domain_model_file'); $TCA['tx_kiddognews_domain_model_file'] = array('ctrl' => array('title' => 'File', '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/tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_kiddognews_domain_model_file.png')); t3lib_extMgm::allowTableOnStandardPages('tx_kiddognews_domain_model_image'); $TCA['tx_kiddognews_domain_model_image'] = array('ctrl' => array('title' => 'Image', '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/tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_kiddognews_domain_model_image.png'));
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } t3lib_extMgm::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:countrymanager/Configuration/TSconfig/defaultlanguage.txt">'); Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Country', 'Display current country'); Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Countries', 'Display list of countries'); Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Languages', 'Display list of languages'); t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/ExtensionConfiguration', 'Country Manager – Extension Configuration'); // moved to ext_typoscript_setup.txt t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/AutomaticLanguageConfiguration', 'Country Manager – Automatic Language Configuration (optional)'); if (TYPO3_MODE === 'BE') { /** * Registers a Backend Module */ Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'tools', 'countrymanagertsupdate', '', array('Backend' => 'updatetyposcript'), array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_countrymanagertsupdate.xml')); } $tmp_countrymanager_columns = array('title' => array('exclude' => 1, 'label' => 'LLL:EXT:countrymanager/Resources/Private/Language/locallang_db.xml:tx_countrymanager_domain_model_countrylanguage.title', 'config' => array('type' => 'input', 'size' => 15, 'eval' => 'trim,required')), 'language' => array('exclude' => 1, 'label' => 'LLL:EXT:countrymanager/Resources/Private/Language/locallang_db.xml:tx_countrymanager_domain_model_countrylanguage.language', 'config' => array('type' => 'group', 'internal_type' => 'db', 'allowed' => 'static_languages', 'size' => '1', 'maxitems' => '1', 'minitems' => '1', 'show_thumbs' => '1', 'wizards' => array('suggest' => array('type' => 'suggest')))), 'menulabel' => array('exclude' => 1, 'label' => 'LLL:EXT:countrymanager/Resources/Private/Language/locallang_db.xml:tx_countrymanager_domain_model_countrylanguage.menulabel', 'config' => array('type' => 'input', 'size' => 30, 'eval' => 'trim,required')), 'country' => array('exclude' => 1, 'label' => 'LLL:EXT:countrymanager/Resources/Private/Language/locallang_db.xml:tx_countrymanager_domain_model_countrylanguage.country', 'config' => array('type' => 'group', 'internal_type' => 'db', 'allowed' => 'static_countries', 'size' => '1', 'maxitems' => '1', 'minitems' => '1', 'show_thumbs' => '1', 'wizards' => array('suggest' => array('type' => 'suggest'))))); t3lib_extMgm::addTCAcolumns('sys_language', $tmp_countrymanager_columns, 1); t3lib_extMgm::addToAllTCAtypes('sys_language', 'title,language,country,menulabel', '', 'after:title');
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Testplugin', 'Test plugin'); if (TYPO3_MODE === 'BE') { /** * Registers a Backend Module */ Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'web', 'testmodule', '', array('Main' => 'list, show, new, create, edit, update, delete'), array('access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_testmodule.xml')); } t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Compatibility Test Extension Version 1.0'); t3lib_extMgm::addLLrefForTCAdescr('tx_testextension_domain_model_main', 'EXT:test_extension/Resources/Private/Language/locallang_csh_tx_testextension_domain_model_main.xml'); t3lib_extMgm::allowTableOnStandardPages('tx_testextension_domain_model_main'); $TCA['tx_testextension_domain_model_main'] = array('ctrl' => array('title' => 'LLL:EXT:test_extension/Resources/Private/Language/locallang_db.xml:tx_testextension_domain_model_main', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, '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' => 'name,identifier,child1,children2,child3,children4,', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Main.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_testextension_domain_model_main.gif')); t3lib_extMgm::addLLrefForTCAdescr('tx_testextension_domain_model_child1', 'EXT:test_extension/Resources/Private/Language/locallang_csh_tx_testextension_domain_model_child1.xml'); t3lib_extMgm::allowTableOnStandardPages('tx_testextension_domain_model_child1'); $TCA['tx_testextension_domain_model_child1'] = array('ctrl' => array('title' => 'LLL:EXT:test_extension/Resources/Private/Language/locallang_db.xml:tx_testextension_domain_model_child1', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, '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' => 'name,', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Child1.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_testextension_domain_model_child1.gif')); t3lib_extMgm::addLLrefForTCAdescr('tx_testextension_domain_model_child2', 'EXT:test_extension/Resources/Private/Language/locallang_csh_tx_testextension_domain_model_child2.xml'); t3lib_extMgm::allowTableOnStandardPages('tx_testextension_domain_model_child2'); $TCA['tx_testextension_domain_model_child2'] = array('ctrl' => array('title' => 'LLL:EXT:test_extension/Resources/Private/Language/locallang_db.xml:tx_testextension_domain_model_child2', 'label' => 'uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, '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' => '', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Child2.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_testextension_domain_model_child2.gif')); t3lib_extMgm::addLLrefForTCAdescr('tx_testextension_domain_model_child3', 'EXT:test_extension/Resources/Private/Language/locallang_csh_tx_testextension_domain_model_child3.xml'); t3lib_extMgm::allowTableOnStandardPages('tx_testextension_domain_model_child3'); $TCA['tx_testextension_domain_model_child3'] = array('ctrl' => array('title' => 'LLL:EXT:test_extension/Resources/Private/Language/locallang_db.xml:tx_testextension_domain_model_child3', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, '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' => 'name,', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Child3.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_testextension_domain_model_child3.gif')); t3lib_extMgm::addLLrefForTCAdescr('tx_testextension_domain_model_child4', 'EXT:test_extension/Resources/Private/Language/locallang_csh_tx_testextension_domain_model_child4.xml'); t3lib_extMgm::allowTableOnStandardPages('tx_testextension_domain_model_child4'); $TCA['tx_testextension_domain_model_child4'] = array('ctrl' => array('title' => 'LLL:EXT:test_extension/Resources/Private/Language/locallang_db.xml:tx_testextension_domain_model_child4', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, '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' => 'name,', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Child4.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_testextension_domain_model_child4.gif'));
'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'delete' => 'deleted', 'enablecolumns' => array( 'disabled' => 'hidden' ), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Test.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_asd_domain_model_test.gif' ) ); /** * Registers a Backend Module */ Tx_Extbase_Utility_Extension::registerModule( $_EXTKEY, 'web', // Make module a submodule of "Admin tools" 'tx_asd', // Submodule key 'top', array( 'Standard' => 'index', ), array( 'access' => 'user,group', 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif', 'labels' => 'LLL:EXT:dre_cct/Resources/Private/Language/locallang_backend_mod.xml', ) ); ?>