Exemple #1
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Subscriptionform', 'Subscription Form');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_' . subscriptionform;
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_' . subscriptionform . '.xml');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'hr-interactive Newsletter');
t3lib_div::loadTCA('fe_users');
if (!isset($TCA['fe_users']['ctrl']['type'])) {
    // no type field defined, so we define it here. This will only happen the first time the extension is installed!!
    $TCA['fe_users']['ctrl']['type'] = 'tx_extbase_type';
    $tempColumns = array();
    $tempColumns[$TCA['fe_users']['ctrl']['type']] = array('exclude' => 1, 'label' => 'LLL:EXT:hrinewsletter/Resources/Private/Language/locallang_db.xml:tx_hrinewsletter_domain_model_member.tx_extbase_type', 'config' => array('type' => 'select', 'items' => array(array('LLL:EXT:hrinewsletter/Resources/Private/Language/locallang_db.xml:tx_hrinewsletter_domain_model_member.tx_extbase_type.0', '0')), 'size' => 1, 'maxitems' => 1, 'default' => 'Tx_Hrinewsletter_Member'));
    t3lib_extMgm::addTCAcolumns('fe_users', $tempColumns, 1);
}
$TCA['fe_users']['types']['Tx_Hrinewsletter_Member']['showitem'] = $TCA['fe_users']['types']['Tx_Extbase_Domain_Model_FrontendUser']['showitem'];
$TCA['fe_users']['columns'][$TCA['fe_users']['ctrl']['type']]['config']['items'][] = array('LLL:EXT:hrinewsletter/Resources/Private/Language/locallang_db.xml:tx_hrinewsletter_domain_model_member', 'Tx_Hrinewsletter_Member');
t3lib_extMgm::addToAllTCAtypes('fe_users', $TCA['fe_users']['ctrl']['type'], '', 'after:hidden');
$tmp_hrinewsletter_columns = array();
t3lib_extMgm::addTCAcolumns('fe_users', $tmp_hrinewsletter_columns);
$TCA['fe_users']['columns'][$TCA['fe_users']['ctrl']['type']]['config']['items'][] = array('LLL:EXT:hrinewsletter/Resources/Private/Language/locallang_db.xml:fe_users.tx_extbase_type.Tx_Hrinewsletter_Member', 'Tx_Hrinewsletter_Member');
$TCA['fe_users']['types']['Tx_Hrinewsletter_Member']['showitem'] = $TCA['fe_users']['types']['Tx_Extbase_Domain_Model_FrontendUser']['showitem'];
$TCA['fe_users']['types']['Tx_Hrinewsletter_Member']['showitem'] .= ',--div--;LLL:EXT:hrinewsletter/Resources/Private/Language/locallang_db.xml:tx_hrinewsletter_domain_model_member,';
$TCA['fe_users']['types']['Tx_Hrinewsletter_Member']['showitem'] .= '';
t3lib_extMgm::addLLrefForTCAdescr('tx_hrinewsletter_domain_model_maillog', 'EXT:hrinewsletter/Resources/Private/Language/locallang_csh_tx_hrinewsletter_domain_model_maillog.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_hrinewsletter_domain_model_maillog');
$TCA['tx_hrinewsletter_domain_model_maillog'] = array('ctrl' => array('title' => 'LLL:EXT:hrinewsletter/Resources/Private/Language/locallang_db.xml:tx_hrinewsletter_domain_model_maillog', 'label' => 'm', '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/MailLog.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_hrinewsletter_domain_model_maillog.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_hrinewsletter_domain_model_issue', 'EXT:hrinewsletter/Resources/Private/Language/locallang_csh_tx_hrinewsletter_domain_model_issue.xml');
Exemple #2
0
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'));
t3lib_extMgm::allowTableOnStandardPages('tx_kiddognews_domain_model_link');
$TCA['tx_kiddognews_domain_model_link'] = array('ctrl' => array('title' => 'Link', 'label' => 'link', '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_link.png'));
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi1', 'Simple calendar using Extbase');
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi2', 'Calendar event submission for users');
//if(TYPO3_MODE === 'BE') {
//	Tx_Extbase_Utility_Extension::registerModule(
//		$_EXTKEY,
//		'web',
//		'tx_czsimplecal_m1',
//		'',
//		array(
//			'Event' => 'backendIndex'
//		),
//		array(
//			'access' => 'user,group',
//			'icon' => 'EXT:cz_simple_cal/ext_icon.gif',
//			'labels' => 'LLL:EXT:'.$_EXTKEY.'/Resources/Private/Language/locallang_mod.xml'
//		)
//	);
//
//}
// default typoscript
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/main', 'Simple calendar using Extbase');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/customaddress', 'Use custom address extension');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/ics', 'ICS configuration');
// init flexform for plugin
$TCA['tt_content']['types']['list']['subtypes_addlist']['czsimplecal_pi1'] = 'pi_flexform';
$TCA['tt_content']['types']['list']['subtypes_excludelist']['czsimplecal_pi1'] = 'layout,select_key';
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, '', 'test');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'temp');
t3lib_extMgm::addLLrefForTCAdescr('tx_temp_domain_model_address', 'EXT:temp/Resources/Private/Language/locallang_csh_tx_temp_domain_model_address.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_temp_domain_model_address');
$TCA['tx_temp_domain_model_address'] = array('ctrl' => array('title' => 'LLL:EXT:temp/Resources/Private/Language/locallang_db.xml:tx_temp_domain_model_address', 'label' => 'title', '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' => 'title,static_country,', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Address.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_temp_domain_model_address.gif'));
$tmp_temp_columns = array('name' => array('exclude' => 0, 'label' => 'LLL:EXT:temp/Resources/Private/Language/locallang_db.xml:tx_temp_domain_model_staticcountry.name', 'config' => array('type' => 'input', 'size' => 30, 'eval' => 'trim')));
$tmp_temp_columns['address'] = array('config' => array('type' => 'passthrough'));
t3lib_extMgm::addTCAcolumns('static_countries', $tmp_temp_columns);
$TCA['static_countries']['columns'][$TCA['static_countries']['ctrl']['type']]['config']['items'][] = array('LLL:EXT:temp/Resources/Private/Language/locallang_db.xml:static_countries.tx_extbase_type.Tx_Temp_StaticCountry', 'Tx_Temp_StaticCountry');
$TCA['static_countries']['types']['Tx_Temp_StaticCountry']['showitem'] = $TCA['static_countries']['types']['1']['showitem'];
$TCA['static_countries']['types']['Tx_Temp_StaticCountry']['showitem'] .= ',--div--;LLL:EXT:temp/Resources/Private/Language/locallang_db.xml:tx_temp_domain_model_staticcountry,';
$TCA['static_countries']['types']['Tx_Temp_StaticCountry']['showitem'] .= 'name';
Exemple #5
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Petition', 'Petitions Form');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_petition';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_default.xml');
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'List', 'Petitions List');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_list';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_list.xml');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Petition');
t3lib_extMgm::addLLrefForTCAdescr('tx_petition_domain_model_petitionsentry', 'EXT:petition/Resources/Private/Language/locallang_csh_tx_petition_domain_model_petitionsentry.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_petition_domain_model_petitionsentry');
$TCA['tx_petition_domain_model_petitionsentry'] = array('ctrl' => array('title' => 'LLL:EXT:petition/Resources/Private/Language/locallang_db.xml:tx_petition_domain_model_petitionsentry', 'label' => 'firstname', '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' => 'firstname,lastname,emailadress,country,town,zip,street,petition,', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/PetitionsEntry.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_petition_domain_model_petitionsentry.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_petition_domain_model_petition', 'EXT:petition/Resources/Private/Language/locallang_csh_tx_petition_domain_model_petition.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_petition_domain_model_petition');
$TCA['tx_petition_domain_model_petition'] = array('ctrl' => array('title' => 'LLL:EXT:petition/Resources/Private/Language/locallang_db.xml:tx_petition_domain_model_petition', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'petitionsentries' => 'petitionsentries', '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,', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Petition.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_petition_domain_model_petition.gif'));
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi1', 'New Years Header');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'New Years Header');
$extensionName = strtolower(t3lib_div::underscoredToUpperCamelCase($_EXTKEY));
$pluginName = strtolower('pi1');
$pluginSignature = $extensionName . '_' . $pluginName;
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'layout,select_key,pages,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/NewYearsHeader.xml');
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi1', 'TeamPoint-Supportformular: Formular-Selektor');
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi2', 'TeamPoint-Supportformular: Formular');
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi3', 'TeamPoint-Supportformular: Link zu einem Einzelformular');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'TeamPoint-Supportformular');
t3lib_extMgm::addLLrefForTCAdescr('tx_jhesupportform_domain_model_form', 'EXT:jhe_supportform/Resources/Private/Language/locallang_csh_tx_jhesupportform_domain_model_form.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_jhesupportform_domain_model_form');
$TCA['tx_jhesupportform_domain_model_form'] = array('ctrl' => array('title' => 'LLL:EXT:jhe_supportform/Resources/Private/Language/locallang_db.xml:tx_jhesupportform_domain_model_form', '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/Form.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_jhesupportform_domain_model_form.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_jhesupportform_domain_model_selector', 'EXT:jhe_supportform/Resources/Private/Language/locallang_csh_tx_jhesupportform_domain_model_selector.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_jhesupportform_domain_model_selector');
$TCA['tx_jhesupportform_domain_model_selector'] = array('ctrl' => array('title' => 'LLL:EXT:jhe_supportform/Resources/Private/Language/locallang_db.xml:tx_jhesupportform_domain_model_selector', '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/Selector.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_jhesupportform_domain_model_selector.gif'));
$extensionName = strtolower(t3lib_div::underscoredToUpperCamelCase($_EXTKEY));
$pluginName = strtolower('Pi3');
$pluginSignature = $extensionName . '_' . $pluginName;
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'layout,select_key,pages,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/Flexform/Link.xml');
 */
$confArr = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['powermail']);

/**
 * Include Plugins
 */
	// Pi1
Tx_Extbase_Utility_Extension::registerPlugin(
	$_EXTKEY,
	'Pi1',
	'Powermail'
);
	// Pi2
Tx_Extbase_Utility_Extension::registerPlugin(
	$_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'
		),
Exemple #9
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Showroom', 'Showroom');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Showroom');
t3lib_extMgm::addLLrefForTCAdescr('tx_nxshowroom_domain_model_resource', 'EXT:nxshowroom/Resources/Private/Language/locallang_csh_tx_nxshowroom_domain_model_resource.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_nxshowroom_domain_model_resource');
$TCA['tx_nxshowroom_domain_model_resource'] = array('ctrl' => array('title' => 'LLL:EXT:nxshowroom/Resources/Private/Language/locallang_db.xml:tx_nxshowroom_domain_model_resource', 'label' => 'title', '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/Resource.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_nxshowroom_domain_model_resource.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_nxshowroom_domain_model_attachment', 'EXT:nxshowroom/Resources/Private/Language/locallang_csh_tx_nxshowroom_domain_model_attachment.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_nxshowroom_domain_model_attachment');
$TCA['tx_nxshowroom_domain_model_attachment'] = array('ctrl' => array('title' => 'LLL:EXT:nxshowroom/Resources/Private/Language/locallang_db.xml:tx_nxshowroom_domain_model_attachment', 'label' => 'title', '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/Attachment.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_nxshowroom_domain_model_attachment.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_nxshowroom_domain_model_type', 'EXT:nxshowroom/Resources/Private/Language/locallang_csh_tx_nxshowroom_domain_model_type.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_nxshowroom_domain_model_type');
$TCA['tx_nxshowroom_domain_model_type'] = array('ctrl' => array('title' => 'LLL:EXT:nxshowroom/Resources/Private/Language/locallang_db.xml:tx_nxshowroom_domain_model_type', 'label' => 'title', '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/Type.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_nxshowroom_domain_model_type.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_nxshowroom_domain_model_tags', 'EXT:nxshowroom/Resources/Private/Language/locallang_csh_tx_nxshowroom_domain_model_tags.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_nxshowroom_domain_model_tags');
$TCA['tx_nxshowroom_domain_model_tags'] = array('ctrl' => array('title' => 'LLL:EXT:nxshowroom/Resources/Private/Language/locallang_db.xml:tx_nxshowroom_domain_model_tags', 'label' => 'title', '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/Tags.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_nxshowroom_domain_model_tags.gif'));
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$tempColumns = array('tx_ajaxlogin_forgotHash' => array('label' => 'LLL:EXT:ajaxlogin/Resources/Private/Language/locallang_db.xml:fe_users.tx_ajaxlogin_forgotHash', 'displayCond' => 'HIDE_FOR_NON_ADMINS', 'exclude' => true, 'config' => array('type' => 'input', 'size' => 20, 'max' => 32, 'eval' => 'md5')), 'tx_ajaxlogin_verificationHash' => array('label' => 'LLL:EXT:ajaxlogin/Resources/Private/Language/locallang_db.xml:fe_users.tx_ajaxlogin_verificationHash', 'displayCond' => 'HIDE_FOR_NON_ADMINS', 'exclude' => true, 'config' => array('type' => 'input', 'size' => 32, 'readOnly' => true)), 'tx_ajaxlogin_forgotHashValid' => array('label' => 'LLL:EXT:ajaxlogin/Resources/Private/Language/locallang_db.xml:fe_users.tx_ajaxlogin_forgotHashValid', 'displayCond' => 'HIDE_FOR_NON_ADMINS', 'exclude' => true, 'config' => array('type' => 'input', 'size' => '8', 'eval' => 'datetime')));
t3lib_div::loadTCA("fe_users");
t3lib_extMgm::addTCAcolumns("fe_users", $tempColumns, 1);
t3lib_extMgm::addToAllTCAtypes('fe_users', '--div--;Ajaxlogin,tx_ajaxlogin_verificationHash,tx_ajaxlogin_forgotHash,tx_ajaxlogin_forgotHashValid');
$pagesTempColumns = array('tx_ajaxlogin_sectionreload' => array('label' => 'After signing in or out', 'config' => array('type' => 'check', 'items' => array(array('Reload the pages in this section', 1)))));
include_once t3lib_extMgm::extPath($_EXTKEY) . 'Classes/Tca/FlexForm.php';
$GLOBALS['TCA']['fe_users']['columns']['country']['config'] = array('type' => 'select', 'itemsProcFunc' => 'Tx_Ajaxlogin_Tca_FlexForm->country', 'foreign_table' => 'static_countries', 'foreign_table_where' => 'ORDER BY static_countries.cn_short_en', 'foreign_table_uid_field' => 'cn_short_en', 'size' => 1, 'minitems' => 0, 'maxitems' => 1, 'allowNonIdValues' => true);
t3lib_div::loadTCA("pages");
t3lib_extMgm::addTCAcolumns("pages", $pagesTempColumns, 1);
t3lib_extMgm::addFieldsToPalette('pages', 'miscellaneous', 'tx_ajaxlogin_sectionreload');
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Profile', 'Ajaxlogin');
$extensionName = strtolower(t3lib_div::underscoredToUpperCamelCase($_EXTKEY));
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$extensionName . '_profile'] = 'pages,recursive,layout,select_key';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$extensionName . '_profile'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($extensionName . '_profile', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/Profile.xml');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'AJAX login');
Exemple #11
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Iframe', 'html5iframe');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'HTML5 Iframe Extension');
t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_iframe'] = 'layout,select_key';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_iframe'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_iframe', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_iframe.xml');
t3lib_extMgm::addLLrefForTCAdescr('tx_iframes_domain_model_iframe', 'EXT:iframes/Resources/Private/Language/locallang_csh_tx_html5iframe_domain_model_iframe.xml');
Exemple #12
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Events', 'Events');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Events');
t3lib_extMgm::addLLrefForTCAdescr('tx_nboevents_domain_model_course', 'EXT:nboevents/Resources/Private/Language/locallang_csh_tx_nboevents_domain_model_course.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_nboevents_domain_model_course');
$TCA['tx_nboevents_domain_model_course'] = array('ctrl' => array('title' => 'LLL:EXT:nboevents/Resources/Private/Language/locallang_db.xml:tx_nboevents_domain_model_course', 'label' => 'title', '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/Course.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_nboevents_domain_model_course.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_nboevents_domain_model_categories', 'EXT:nboevents/Resources/Private/Language/locallang_csh_tx_nboevents_domain_model_categories.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_nboevents_domain_model_categories');
$TCA['tx_nboevents_domain_model_categories'] = array('ctrl' => array('title' => 'LLL:EXT:nboevents/Resources/Private/Language/locallang_db.xml:tx_nboevents_domain_model_categories', 'label' => 'title', '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/Categories.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_nboevents_domain_model_categories.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_nboevents_domain_model_event', 'EXT:nboevents/Resources/Private/Language/locallang_csh_tx_nboevents_domain_model_event.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_nboevents_domain_model_event');
$TCA['tx_nboevents_domain_model_event'] = array('ctrl' => array('title' => 'LLL:EXT:nboevents/Resources/Private/Language/locallang_db.xml:tx_nboevents_domain_model_event', 'label' => 'course', 'label_alt' => 'date', 'label_alt_force' => true, '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/Event.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_nboevents_domain_model_event.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_nboevents_domain_model_person', 'EXT:nboevents/Resources/Private/Language/locallang_csh_tx_nboevents_domain_model_person.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_nboevents_domain_model_person');
$TCA['tx_nboevents_domain_model_person'] = array('ctrl' => array('title' => 'LLL:EXT:nboevents/Resources/Private/Language/locallang_db.xml:tx_nboevents_domain_model_person', 'label' => 'lastname', '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/Person.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_nboevents_domain_model_person.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_nboevents_domain_model_location', 'EXT:nboevents/Resources/Private/Language/locallang_csh_tx_nboevents_domain_model_location.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_nboevents_domain_model_location');
$TCA['tx_nboevents_domain_model_location'] = array('ctrl' => array('title' => 'LLL:EXT:nboevents/Resources/Private/Language/locallang_db.xml:tx_nboevents_domain_model_location', 'label' => 'title', '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/Location.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_nboevents_domain_model_location.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_nboevents_domain_model_reservation', 'EXT:nboevents/Resources/Private/Language/locallang_csh_tx_nboevents_domain_model_reservation.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_nboevents_domain_model_reservation');
$TCA['tx_nboevents_domain_model_reservation'] = array('ctrl' => array('title' => 'LLL:EXT:nboevents/Resources/Private/Language/locallang_db.xml:tx_nboevents_domain_model_reservation', 'label' => 'count', '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/Reservation.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_nboevents_domain_model_reservation.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_nboevents_domain_model_course', 'EXT:nboevents/Resources/Private/Language/locallang_csh_tx_nboevents_domain_model_course.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_nboevents_domain_model_course');
$TCA['tx_nboevents_domain_model_course'] = array('ctrl' => array('title' => 'LLL:EXT:nboevents/Resources/Private/Language/locallang_db.xml:tx_nboevents_domain_model_course', 'label' => 'title', '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/Course.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_nboevents_domain_model_course.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_nboevents_domain_model_categories', 'EXT:nboevents/Resources/Private/Language/locallang_csh_tx_nboevents_domain_model_categories.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_nboevents_domain_model_categories');
$TCA['tx_nboevents_domain_model_categories'] = array('ctrl' => array('title' => 'LLL:EXT:nboevents/Resources/Private/Language/locallang_db.xml:tx_nboevents_domain_model_categories', 'label' => 'title', '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/Categories.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_nboevents_domain_model_categories.gif'));
Exemple #13
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi1', 'Forge Teams');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Forge Integration');
t3lib_extMgm::addLLrefForTCAdescr('tx_t3o_redmine', 'EXT:t3o_redmine/Resources/Private/Language/locallang_csh_tx_t3o_redmine.xlf');
/**
 * Add flexform configuration
 */
$pluginName = 'pi1';
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_' . $pluginName;
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_' . $pluginName . '.xml');
Exemple #14
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Display', 'Display Podcasts');
//$pluginSignature = str_replace('_','',$_EXTKEY) . '_' . display;
//$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
//t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_' .display. '.xml');
$extensionName = t3lib_div::underscoredToUpperCamelCase($_EXTKEY);
$pluginSignature = strtolower($extensionName) . '_display';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/ControllerActions.xml');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Podcast');
t3lib_extMgm::addLLrefForTCAdescr('tx_podcast_domain_model_podcast', 'EXT:podcast/Resources/Private/Language/locallang_csh_tx_podcast_domain_model_podcast.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_podcast_domain_model_podcast');
$TCA['tx_podcast_domain_model_podcast'] = array('ctrl' => array('title' => 'LLL:EXT:podcast/Resources/Private/Language/locallang_db.xml:tx_podcast_domain_model_podcast', 'label' => 'title', 'sortby' => 'sorting', 'default_sortby' => 'ORDER BY title', 'searchFields' => 'title,subtitle,description', '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/Podcast.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_podcast_domain_model_podcast.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_podcast_domain_model_episode', 'EXT:podcast/Resources/Private/Language/locallang_csh_tx_podcast_domain_model_episode.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_podcast_domain_model_episode');
$TCA['tx_podcast_domain_model_episode'] = array('ctrl' => array('title' => 'LLL:EXT:podcast/Resources/Private/Language/locallang_db.xml:tx_podcast_domain_model_episode', 'label' => 'title', 'label_alt' => 'publication_date', 'label_alt_force' => true, 'default_sortby' => 'ORDER BY publication_date DESC', 'searchFields' => 'title,subtitle,description', '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/Episode.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_podcast_domain_model_episode.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_podcast_domain_model_category', 'EXT:podcast/Resources/Private/Language/locallang_csh_tx_podcast_domain_model_category.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_podcast_domain_model_category');
$TCA['tx_podcast_domain_model_category'] = array('ctrl' => array('title' => 'LLL:EXT:podcast/Resources/Private/Language/locallang_db.xml:tx_podcast_domain_model_category', 'label' => 'title', 'searchFields' => 'title', '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/Category.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_podcast_domain_model_category.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_podcast_domain_model_person', 'EXT:podcast/Resources/Private/Language/locallang_csh_tx_podcast_domain_model_person.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_podcast_domain_model_person');
$TCA['tx_podcast_domain_model_person'] = array('ctrl' => array('title' => 'LLL:EXT:podcast/Resources/Private/Language/locallang_db.xml:tx_podcast_domain_model_person', 'label' => 'name', 'label_alt' => 'email', 'searchFields' => 'name,email', 'label_alt_force' => true, '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/Person.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_podcast_domain_model_person.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_podcast_domain_model_website', 'EXT:podcast/Resources/Private/Language/locallang_csh_tx_podcast_domain_model_website.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_podcast_domain_model_website');
$TCA['tx_podcast_domain_model_website'] = array('ctrl' => array('title' => 'LLL:EXT:podcast/Resources/Private/Language/locallang_db.xml:tx_podcast_domain_model_website', 'label' => 'title', 'searchFields' => 'tilte,link', '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/Website.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_podcast_domain_model_website.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_podcast_domain_model_keyword', 'EXT:podcast/Resources/Private/Language/locallang_csh_tx_podcast_domain_model_keyword.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_podcast_domain_model_keyword');
<?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, 'Pi1', 'Sign up TYPO3 slack');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 't3o_slack');
t3lib_extMgm::addLLrefForTCAdescr('tx_t3oslack_domain_model_slackuser', 'EXT:t3o_slack/Resources/Private/Language/locallang_csh_tx_t3oslack_domain_model_slackuser.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_t3oslack_domain_model_slackuser');
$TCA['tx_t3oslack_domain_model_slackuser'] = array('ctrl' => array('title' => 'LLL:EXT:t3o_slack/Resources/Private/Language/locallang_db.xml:tx_t3oslack_domain_model_slackuser', 'label' => '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' => '', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/SlackUser.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_t3oslack_domain_model_slackuser.gif'));
Exemple #17
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'HR Interactive SEO');
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Robots', 'Generate a robots.txt');
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Sitemap', 'Generate a sitemap.xml');
/**
 * Add the new columns to the pages TCA
 */
$tmp_hriseo_columns = (include_once t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/pages.php');
// add to TCA
t3lib_div::loadTCA('pages');
t3lib_extMgm::addTCAcolumns('pages', $tmp_hriseo_columns, 1);
// add to TCA::ctrl section
$TCA['pages']['columns'][$TCA['pages']['ctrl']['type']]['config']['items'][] = array('LLL:EXT:hriseo/Resources/Private/Language/locallang_db.xml:tx_hriseo.title', 'Tx_Hriseo_Pages');
// add editing tab to types:1 (pages does only have one type..)
$TCA['pages']['types']['1']['showitem'] = $TCA['pages']['types']['1']['showitem'];
$TCA['pages']['types']['1']['showitem'] .= ',--div--;LLL:EXT:hriseo/Resources/Private/Language/locallang_db.xml:tx_hriseo.title,';
$TCA['pages']['types']['1']['showitem'] .= 'tx_hriseo_changefreq, tx_hriseo_priority';
Exemple #18
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi1', 'Youtube API');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Youtube API');
//$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
//t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_list.xml');
t3lib_extMgm::addLLrefForTCAdescr('tx_youtubeapi_domain_model_video', 'EXT:youtubeapi/Resources/Private/Language/locallang_csh_tx_youtubeapi_domain_model_video.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_youtubeapi_domain_model_video');
$TCA['tx_youtubeapi_domain_model_video'] = array('ctrl' => array('title' => 'LLL:EXT:youtubeapi/Resources/Private/Language/locallang_db.xml:tx_youtubeapi_domain_model_video', '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/Video.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_youtubeapi_domain_model_video.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_youtubeapi_domain_model_feed', 'EXT:youtubeapi/Resources/Private/Language/locallang_csh_tx_youtubeapi_domain_model_feed.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_youtubeapi_domain_model_feed');
$TCA['tx_youtubeapi_domain_model_feed'] = array('ctrl' => array('title' => 'LLL:EXT:youtubeapi/Resources/Private/Language/locallang_db.xml:tx_youtubeapi_domain_model_feed', 'label' => 'url', '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/Feed.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_youtubeapi_domain_model_feed.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_youtubeapi_domain_model_user', 'EXT:youtubeapi/Resources/Private/Language/locallang_csh_tx_youtubeapi_domain_model_user.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_youtubeapi_domain_model_user');
$TCA['tx_youtubeapi_domain_model_user'] = array('ctrl' => array('title' => 'LLL:EXT:youtubeapi/Resources/Private/Language/locallang_db.xml:tx_youtubeapi_domain_model_user', 'label' => 'username', '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/User.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_youtubeapi_domain_model_user.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_youtubeapi_domain_model_comment', 'EXT:youtubeapi/Resources/Private/Language/locallang_csh_tx_youtubeapi_domain_model_comment.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_youtubeapi_domain_model_comment');
$TCA['tx_youtubeapi_domain_model_comment'] = array('ctrl' => array('title' => 'LLL:EXT:youtubeapi/Resources/Private/Language/locallang_db.xml:tx_youtubeapi_domain_model_comment', '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/Comment.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_youtubeapi_domain_model_comment.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_youtubeapi_domain_model_assignment', 'EXT:youtubeapi/Resources/Private/Language/locallang_csh_tx_youtubeapi_domain_model_assignment.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_youtubeapi_domain_model_assignment');
$TCA['tx_youtubeapi_domain_model_assignment'] = array('ctrl' => array('title' => 'LLL:EXT:youtubeapi/Resources/Private/Language/locallang_db.xml:tx_youtubeapi_domain_model_assignment', 'label' => 'user', '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/Assignment.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_youtubeapi_domain_model_assignment.gif'));
// Adding FlexForm
$extensionName = t3lib_div::underscoredToUpperCamelCase($_EXTKEY);
$pluginSignature = strtolower($extensionName) . '_pi1';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'layout,select_key,recursive';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_list.xml');
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
/**
 * Registers a Plugin to be listed in the Backend. You also have to configure the Dispatcher in ext_localconf.php.
 */
$extensionName = t3lib_div::underscoredToUpperCamelCase($_EXTKEY);
$pluginSignature = strtolower($extensionName) . '_pi1';
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi1', 'List of Agencies');
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi2', 'Create agency profile');
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi3', 'Slider view for case studies');
$TCA['tt_content']['types']['list']['subtypes_addlist']['typo3agencies_pi2'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue('typo3agencies_pi2', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/Pi2.xml');
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'layout,select_key,recursive';
#$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'recursive';
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'TYPO3 References');
/**
 * TCA configuration
 */
t3lib_extMgm::allowTableOnStandardPages('tx_typo3agencies_domain_model_reference');
t3lib_extMgm::allowTableOnStandardPages('tx_typo3agencies_domain_model_agency');
$TCA['tx_typo3agencies_domain_model_reference'] = array('ctrl' => array('title' => 'LLL:EXT:typo3_agencies/Resources/Private/Language/locallang_db.xml:tx_typo3agencies_domain_model_reference', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'versioningWS' => 2, 'versioning_followPages' => true, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'delete' => 'deleted', 'dividers2tabs' => TRUE, 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tx_typo3agencies_domain_model_reference.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_typo3agencies_domain_model_reference.gif'));
$TCA['tx_typo3agencies_domain_model_agency'] = array('ctrl' => array('title' => 'LLL:EXT:typo3_agencies/Resources/Private/Language/locallang_db.xml:tx_typo3agencies_domain_model_agency', 'label' => 'name', 'label_alt' => 'first_name', 'label_alt_force' => 1, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'default_sortby' => 'name', 'versioningWS' => 2, 'versioning_followPages' => true, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'delete' => 'deleted', 'dividers2tabs' => TRUE, 'enablecolumns' => array('disabled' => 'hidden', 'endtime' => 'endtime'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tx_typo3agencies_domain_model_agency.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_typo3agencies_domain_model_agency.gif'));
$TCA['tx_typo3agencies_domain_model_industry'] = array('ctrl' => array('title' => 'LLL:EXT:typo3_agencies/Resources/Private/Language/locallang_db.xml:tx_typo3agencies_domain_model_reference.industry', 'label' => 'title', 'default_sortby' => 'title', 'dividers2tabs' => TRUE, 'enablecolumns' => array(), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tx_typo3agencies_domain_model_industry.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_typo3agencies_domain_model_agency.gif', 'hideTable' => 1, 'is_static' => 1, 'readOnly' => 1));
$TCA['tx_typo3agencies_domain_model_revenue'] = array('ctrl' => array('title' => 'LLL:EXT:typo3_agencies/Resources/Private/Language/locallang_db.xml:tx_typo3agencies_domain_model_reference.revenue', 'label' => 'title', 'default_sortby' => 'sorting', 'dividers2tabs' => TRUE, 'enablecolumns' => array(), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tx_typo3agencies_domain_model_revenue.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_typo3agencies_domain_model_agency.gif', 'hideTable' => 1, 'is_static' => 1, 'readOnly' => 1));
$TCA['tx_typo3agencies_domain_model_category'] = array('ctrl' => array('title' => 'LLL:EXT:typo3_agencies/Resources/Private/Language/locallang_db.xml:tx_typo3agencies_domain_model_reference.category', 'label' => 'title', 'default_sortby' => 'title', 'dividers2tabs' => TRUE, 'enablecolumns' => array(), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tx_typo3agencies_domain_model_category.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_typo3agencies_domain_model_agency.gif', 'hideTable' => 1, 'is_static' => 1, 'readOnly' => 1));
$extensionName = t3lib_div::underscoredToUpperCamelCase($_EXTKEY);
$pluginSignature = strtolower($extensionName) . '_pi1';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi1', 'Spam Remover Plugin');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Spam Remover for typo3org');
t3lib_extMgm::addLLrefForTCAdescr('tx_t3orgspamremover_domain_model_spamreport', 'EXT:t3org_spamremover/Resources/Private/Language/locallang_csh_tx_t3orgspamremover_domain_model_spamreport.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_t3orgspamremover_domain_model_spamreport');
$TCA['tx_t3orgspamremover_domain_model_spamreport'] = array('ctrl' => array('title' => 'LLL:EXT:t3org_spamremover/Resources/Private/Language/locallang_db.xml:tx_t3orgspamremover_domain_model_spamreport', 'label' => 'title', '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' => 'title,description,reporter,spammer,', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/SpamReport.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_t3orgspamremover_domain_model_spamreport.gif'));
t3lib_div::loadTCA('fe_users');
$tempColumns = array('tx_t3orgspamremover_spam' => array('exclude' => 0, 'label' => 'Reported Spam', 'config' => array('type' => 'inline', 'foreign_table' => 'tx_t3orgspamremover_domain_model_spamreport', 'appearace' => array('collapseAll' => TRUE), 'foreign_field' => 'spammer')));
t3lib_extMgm::addTCAcolumns("fe_users", $tempColumns, TRUE);
t3lib_extMgm::addToAllTCAtypes('fe_users', '--div--;Reported Spam,tx_t3orgspamremover_spam');
Exemple #21
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Flatmgrpay', 'Flat Manager Payment Solution');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Flat Manager Payment');
t3lib_extMgm::addLLrefForTCAdescr('tx_flatmgrpay_domain_model_booking', 'EXT:flatmgrpay/Resources/Private/Language/locallang_csh_tx_flatmgrpay_domain_model_booking.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_flatmgrpay_domain_model_booking');
$TCA['tx_flatmgrpay_domain_model_booking'] = array('ctrl' => array('title' => 'LLL:EXT:flatmgrpay/Resources/Private/Language/locallang_db.xml:tx_flatmgrpay_domain_model_booking', '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'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Booking.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_flatmgrpay_domain_model_booking.gif'));
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'List', 'Association member list');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'TYPO3 Membership');
t3lib_extMgm::addLLrefForTCAdescr('tx_t3omembership_domain_model_member', 'EXT:t3o_membership/Resources/Private/Language/locallang_csh_tx_t3omembership_domain_model_member.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_t3omembership_domain_model_member');
$TCA['tx_t3omembership_domain_model_member'] = array('ctrl' => array('title' => 'LLL:EXT:t3o_membership/Resources/Private/Language/locallang_db.xml:tx_t3omembership_domain_model_member', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => 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,external_id,end_date,address,zip,city,country,email,url,membership,', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Member.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_t3omembership_domain_model_member.gif'));
t3lib_extMgm::addLLrefForTCAdescr('tx_t3omembership_domain_model_membership', 'EXT:t3o_membership/Resources/Private/Language/locallang_csh_tx_t3omembership_domain_model_membership.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_t3omembership_domain_model_membership');
$TCA['tx_t3omembership_domain_model_membership'] = array('ctrl' => array('title' => 'LLL:EXT:t3o_membership/Resources/Private/Language/locallang_db.xml:tx_t3omembership_domain_model_membership', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => 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,logo,', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Membership.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_t3omembership_domain_model_membership.gif'));
Exemple #23
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Fligh Weather Station');
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'pi1', 'Weather Display');
Tx_Extbase_Utility_Extension::configurePlugin($_EXTKEY, 'pi1', array('FWS' => 'index'), array('FWS' => 'index'));
Exemple #24
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Gallery', 'Gallery');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Gallery');
t3lib_extMgm::addLLrefForTCAdescr('tx_nbogallery_domain_model_gallery', 'EXT:nbogallery/Resources/Private/Language/locallang_csh_tx_nbogallery_domain_model_gallery.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_nbogallery_domain_model_gallery');
$TCA['tx_nbogallery_domain_model_gallery'] = array('ctrl' => array('title' => 'LLL:EXT:nbogallery/Resources/Private/Language/locallang_db.xml:tx_nbogallery_domain_model_gallery', 'label' => 'title', '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/Gallery.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_nbogallery_domain_model_gallery.gif'));
if (TYPO3_MODE == 'BE') {
    // Add Wizard Icon
    $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['Tx_Nbogallery_Utilities_PluginWizard'] = t3lib_extMgm::extPath($_EXTKEY) . 'Classes/Utility/Backend/PluginWizard.php';
    // Add tables on Pages:
    $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['tx_nbogallery_domain_model_gallery'][0]['fList'] = 'title,folder';
    $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['tx_nbogallery_domain_model_gallery'][0]['icon'] = TRUE;
}
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi1', 'Flickr Feed integration');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Default config for ' . $_EXTKEY);
$extensionName = strtolower(t3lib_div::underscoredToLowerCamelCase($_EXTKEY));
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$extensionName . '_pi1'] = 'layout,select_key,recursive,pages';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$extensionName . '_pi1'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($extensionName . '_pi1', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_list.xml');
$TCA['tx_news_domain_model_news'] = array('ctrl' => array('title' => 'LLL:EXT:news/Resources/Private/Language/locallang_db.xml:tx_news_domain_model_news', 'label' => 'title', 'prependAtCopy' => $configuration->getPrependAtCopy() ? 'LLL:EXT:lang/locallang_general.xml:LGL.prependAtCopy' : '', 'hideAtCopy' => TRUE, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'editlock' => 'editlock', 'type' => 'type', 'typeicon_column' => 'type', 'typeicons' => array('1' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/news_domain_model_news_internal.gif', '2' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/news_domain_model_news_external.gif'), 'dividers2tabs' => TRUE, 'useColumnsForDefaultValues' => 'type', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'default_sortby' => 'ORDER BY datetime DESC', 'sortby' => $configuration->getManualSorting() ? 'sorting' : '', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime', 'fe_group' => 'fe_group'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/Tca/news.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/news_domain_model_news.gif', 'searchFields' => 'uid,title', 'requestUpdate' => 'rte_disabled'));
t3lib_extMgm::allowTableOnStandardPages('tx_news_domain_model_category');
$TCA['tx_news_domain_model_category'] = array('ctrl' => array('title' => 'LLL:EXT:news/Resources/Private/Language/locallang_db.xml:tx_news_domain_model_category', 'label' => 'title', 'label_alt' => 'parentcategory,sys_language_uid', 'label_alt_force' => 1, 'label_userFunc' => 'Tx_News_Hooks_Labels->getUserLabelCategory', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'default_sortby' => 'ORDER BY crdate', 'sortby' => 'sorting', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime', 'fe_group' => 'fe_group'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/Tca/category.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/news_domain_model_category.gif', 'treeParentField' => 'parentcategory', 'searchFields' => 'uid,title'));
t3lib_extMgm::allowTableOnStandardPages('tx_news_domain_model_media');
$TCA['tx_news_domain_model_media'] = array('ctrl' => array('title' => 'LLL:EXT:news/Resources/Private/Language/locallang_db.xml:tx_news_domain_model_media', 'label' => 'caption', 'label_alt' => 'type, showinpreview', 'label_alt_force' => 1, 'label_userFunc' => 'Tx_News_Hooks_Labels->getUserLabelMedia', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'type' => 'type', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'dividers2tabs' => TRUE, 'default_sortby' => 'ORDER BY sorting', 'sortby' => 'sorting', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/Tca/media.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/news_domain_model_media.gif', 'hideTable' => TRUE));
t3lib_extMgm::allowTableOnStandardPages('tx_news_domain_model_media');
$TCA['tx_news_domain_model_file'] = array('ctrl' => array('title' => 'LLL:EXT:news/Resources/Private/Language/locallang_db.xml:tx_news_domain_model_file', 'label' => 'title', 'label_alt' => 'file', 'label_alt_force' => 1, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'type' => 'type', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'dividers2tabs' => TRUE, 'default_sortby' => 'ORDER BY sorting', 'sortby' => 'sorting', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'fe_group' => 'fe_group'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/Tca/file.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/news_domain_model_file.gif', 'hideTable' => TRUE));
t3lib_extMgm::allowTableOnStandardPages('tx_news_domain_model_file');
$TCA['tx_news_domain_model_link'] = array('ctrl' => array('title' => 'LLL:EXT:news/Resources/Private/Language/locallang_db.xml:tx_news_domain_model_link', 'label' => 'title', 'label_alt' => 'uri', 'label_alt_force' => 1, 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'type' => 'type', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'dividers2tabs' => TRUE, 'default_sortby' => 'ORDER BY sorting', 'sortby' => 'sorting', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/Tca/link.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/news_domain_model_link.gif', 'hideTable' => TRUE));
t3lib_extMgm::allowTableOnStandardPages('tx_news_domain_model_link');
$TCA['tx_news_domain_model_tag'] = array('ctrl' => array('title' => 'LLL:EXT:news/Resources/Private/Language/locallang_db.xml:tx_news_domain_model_tag', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'dividers2tabs' => TRUE, 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/Tca/tag.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/news_domain_model_tag.png', 'searchFields' => 'uid,title'));
t3lib_extMgm::allowTableOnStandardPages('tx_news_domain_model_tag');
/***************
 * Plugin
 */
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi1', 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_be.xml:pi1_title');
$extensionName = t3lib_div::underscoredToUpperCamelCase($_EXTKEY);
$pluginSignature = strtolower($extensionName) . '_pi1';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'layout,recursive,select_key,pages';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_news.xml');
/***************
 * 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';
}
 * Registers a Plugin to be listed in the Backend. You also have to configure the Dispatcher in ext_localconf.php.
 */
if ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][$_EXTKEY]['registerSinglePlugin']) {
    Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Pi1', 'A Blog Example');
    $pluginSignature = strtolower($extensionName) . '_pi1';
    $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'select_key';
    $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform,recursive';
    t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_list.xml');
} else {
    t3lib_div::loadTCA('tt_content');
    // These dividers are a little trick to group these items in the plugin selector
    $TCA['tt_content']['columns']['list_type']['config']['items'][] = array('Blog Example', '--div--', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif');
    Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'BlogList', 'List of Blogs (BlogExample)');
    Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'PostList', 'List of Posts (BlogExample)');
    Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'PostSingle', 'Single Post (BlogExample)');
    Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'BlogAdmin', 'Admin Plugin (BlogExample)');
    $TCA['tt_content']['columns']['list_type']['config']['items'][] = array('', '--div--');
    $pluginSignature = strtolower($extensionName) . '_postlist';
    $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'select_key';
    $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform,recursive';
    t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_list.xml');
}
if (TYPO3_MODE === 'BE') {
    /**
     * Registers a Backend Module
     */
    Tx_Extbase_Utility_Extension::registerModule($_EXTKEY, 'web', 'tx_blogexample_m1', '', array('Blog' => 'index,new,create,delete,deleteAll,edit,update,populate', 'Post' => 'index,show,new,create,delete,edit,update', 'Comment' => 'create,delete,deleteAll'), array('access' => 'user,group', 'icon' => 'EXT:blog_example/ext_icon.gif', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml'));
}
/**
 * Add labels for context sensitive help (CSH)
 */
Exemple #28
0
*  GNU General Public License for more details.
*
*  This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$extensionName = t3lib_div::underscoredToUpperCamelCase($_EXTKEY);
/**
 * Register uploads plugin
 */
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Upload', 'File-Uploading for frontend users');
$pluginSignature = strtolower($extensionName) . '_upload';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'select_key';
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Download', 'Downloading of uploaded files from frontend users');
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Folder', 'Folder structure for frontend users');
$pluginSignature = strtolower($extensionName) . '_download';
$extConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY]);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'select_key';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForm/download.xml');
t3lib_div::loadTCA('fe_users');
t3lib_extMgm::allowTableOnStandardPages('tx_feupload_domain_model_file');
t3lib_extMgm::allowTableOnStandardPages('tx_feupload_domain_model_folder');
$TCA['tx_feupload_domain_model_file'] = array('ctrl' => array('title' => 'LLL:EXT:feupload/Resources/Private/Language/tca.xml:tx_feupload_domain_model_file', 'label' => 'title', 'crdate' => 'crdate', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/File.php', 'dividers2tabs' => true, 'searchFields' => 'title,file', 'requestUpdate' => 'visibility', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Private/Icons/default.png'));
$TCA['tx_feupload_domain_model_folder'] = array('ctrl' => array('title' => 'LLL:EXT:feupload/Resources/Private/Language/tca.xml:tx_feupload_domain_model_folder', 'label' => 'title', 'crdate' => 'crdate', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Folder.php', 'dividers2tabs' => true, 'searchFields' => 'title', 'requestUpdate' => 'visibility', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Private/Icons/folder.png'));
t3lib_div::loadTCA('fe_groups');
t3lib_extMgm::addToAllTCAtypes('fe_groups', 'feupload_storage_pid;;;;1-1-1');
t3lib_extMgm::addToAllTCAtypes('fe_groups', 'feupload_append_group_ids;;;;1-1-1');
$TCA['fe_groups']['columns'] += array('feupload_storage_pid' => array('exclude' => 1, 'label' => 'LLL:EXT:feupload/Resources/Private/Language/tca.xml:fe_groups.storage_pid', 'config' => array('type' => 'group', 'internal_type' => 'db', 'allowed' => 'pages', 'size' => 1, 'minitems' => 0, 'maxitems' => 1, 'wizards' => array('suggest' => array('type' => 'suggest')))));
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/default/', 'FE Upload default settings');
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
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'));
Exemple #30
0
if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Eventlist', 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_be.xlf:plugin.Eventlist');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_eventlist';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_eventlist.xml');
Tx_Extbase_Utility_Extension::registerPlugin($_EXTKEY, 'Eventsubscribe', 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_be.xlf:plugin.Eventsubscribe');
$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');