Beispiel #1
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array('name' => 'tx_version_cm1', 'path' => t3lib_extMgm::extPath($_EXTKEY) . 'class.tx_version_cm1.php');
    if (!t3lib_extMgm::isLoaded('workspaces')) {
        t3lib_extMgm::addModule('web', 'txversionM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'cm1/');
    }
}
Beispiel #2
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE === 'BE') {
    t3lib_extMgm::addModule('web', 'info', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
}
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/Examples/FilterPages/', 'Apache Solr Example - Filter to only show page results');
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/Examples/IntroPackageSearchBox/', 'Apache Solr Example - Replace Introduction Package search box');
# ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- #
if (TYPO3_MODE == 'BE') {
    if (version_compare(TYPO3_version, '6.0.0', '>=')) {
        \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule('ApacheSolrForTypo3.' . $_EXTKEY, 'tools', 'administration', '', array('Administration' => 'index,setSite,setCore'), array('access' => 'admin', 'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Images/Icons/ModuleAdministration.png', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/ModuleAdministration.xlf'));
        $iconPath = $GLOBALS['PATHrel_solr'] . 'Resources/Public/Images/Icons/';
        \TYPO3\CMS\Backend\Sprite\SpriteManager::addSingleIcons(array('ModuleOverview' => $iconPath . 'Search.png', 'ModuleIndexQueue' => $iconPath . 'IndexQueue.png', 'ModuleIndexMaintenance' => $iconPath . 'IndexMaintenance.png', 'ModuleIndexFields' => $iconPath . 'IndexFields.png', 'ModuleSynonyms' => $iconPath . 'Synonyms.png'), $_EXTKEY);
        ApacheSolrForTypo3\Solr\Backend\SolrModule\AdministrationModuleManager::registerModule('ApacheSolrForTypo3.' . $_EXTKEY, 'Overview', array('index'));
        ApacheSolrForTypo3\Solr\Backend\SolrModule\AdministrationModuleManager::registerModule('ApacheSolrForTypo3.' . $_EXTKEY, 'IndexQueue', array('index,initializeIndexQueue'));
        ApacheSolrForTypo3\Solr\Backend\SolrModule\AdministrationModuleManager::registerModule('ApacheSolrForTypo3.' . $_EXTKEY, 'IndexMaintenance', array('index,cleanUpIndex,emptyIndex,reloadIndexConfiguration'));
        ApacheSolrForTypo3\Solr\Backend\SolrModule\AdministrationModuleManager::registerModule('ApacheSolrForTypo3.' . $_EXTKEY, 'IndexFields', array('index'));
        ApacheSolrForTypo3\Solr\Backend\SolrModule\AdministrationModuleManager::registerModule('ApacheSolrForTypo3.' . $_EXTKEY, 'Synonyms', array('index,addSynonyms,deleteSynonyms'));
    } else {
        t3lib_extMgm::addModulePath('tools_txsolrMAdmin', t3lib_extMgm::extPath($_EXTKEY) . 'ModAdmin/');
        t3lib_extMgm::addModule('tools', 'txsolrMAdmin', '', t3lib_extMgm::extPath($_EXTKEY) . 'ModAdmin/');
    }
    // registering reports
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['solr'] = array('Tx_Solr_Report_SchemaStatus', 'Tx_Solr_Report_SolrconfigStatus', 'Tx_Solr_Report_SolrConfigurationStatus', 'Tx_Solr_Report_SolrStatus', 'Tx_Solr_Report_SolrVersionStatus', 'Tx_Solr_Report_AccessFilterPluginInstalledStatus', 'Tx_Solr_Report_AllowUrlFOpenStatus', 'Tx_Solr_Report_FilterVarStatus');
    if (t3lib_utility_VersionNumber::convertVersionNumberToInteger(TYPO3_version) < 6000000) {
        // registering the index report with the reports module
        $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_solr']['index'] = array('title' => 'LLL:EXT:solr/Resources/Private/Language/ModuleReports.xml:index_title', 'description' => 'LLL:EXT:solr/Resources/Private/Language/ModuleReports.xml:index_description', 'report' => 'Tx_Solr_Report_IndexReport', 'icon' => 'EXT:solr/Report/tx_solr_report.gif');
    }
    // Index Inspector
    t3lib_extMgm::insertModuleFunction('web_info', 'Tx_Solr_ModIndex_IndexInspector', $GLOBALS['PATH_solr'] . 'ModIndex/IndexInspector.php', 'LLL:EXT:solr/Resources/Private/Language/Backend.xml:module_indexinspector');
    // register Clear Cache Menu hook
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['additionalBackendItems']['cacheActions']['clearSolrConnectionCache'] = '&Tx_Solr_ConnectionManager';
    // register Clear Cache Menu ajax call
    $TYPO3_CONF_VARS['BE']['AJAX']['solr::clearSolrConnectionCache'] = 'Tx_Solr_ConnectionManager->updateConnections';
    // hooking into TCE Main to monitor record updates that may require reindexing by the index queue
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass'][] = 'Tx_Solr_IndexQueue_RecordMonitor';
Beispiel #4
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    // module
    t3lib_extMgm::addModulePath('tools_txsolradminM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    t3lib_extMgm::addModule('tools', 'txsolradminM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    // module info
    t3lib_extMgm::insertModuleFunction('web_info', 'tx_solradmin_modfunc1', t3lib_extMgm::extPath($_EXTKEY) . 'modfunc1/class.tx_solradmin_modfunc1.php', 'Solr Admin');
}
$tasks = array('sitecheck', 'post');
foreach ($tasks as $task) {
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_' . $_EXTKEY . '_' . $task] = array('extension' => $_EXTKEY, 'title' => 'LLL:EXT:' . $_EXTKEY . '/mod1/locallang.xml:task.' . $task . '.name', 'description' => 'LLL:EXT:' . $_EXTKEY . '/mod1/locallang.xml:task.' . $task . '.description', 'additionalFields' => 'tx_' . $_EXTKEY . '_' . $task . '_fields');
}
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == "BE") {
    t3lib_extMgm::addModule("web", "txl10nmgrM1", "", t3lib_extMgm::extPath($_EXTKEY) . "mod1/");
    t3lib_extMgm::addModule("user", "txl10nmgrM2", "top", t3lib_extMgm::extPath($_EXTKEY) . "mod2/");
}
t3lib_extMgm::allowTableOnStandardPages("tx_l10nmgr_cfg");
t3lib_extMgm::addLLrefForTCAdescr('tx_l10nmgr_cfg', 'EXT:l10nmgr/locallang_csh_l10nmgr.php');
// Example for disabling localization of specific fields in tables like tt_content
// Add as many fields as you need
t3lib_div::loadTCA('tt_content');
//$TCA['tt_content']['columns']['imagecaption']['l10n_mode'] = 'exclude';
//$TCA['tt_content']['columns']['image']['l10n_mode'] = 'prefixLangTitle';
//$TCA['tt_content']['columns']['image']['l10n_display'] = 'defaultAsReadonly';
$TCA["tx_l10nmgr_cfg"] = array("ctrl" => array('title' => 'LLL:EXT:l10nmgr/locallang_db.xml:tx_l10nmgr_cfg', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', "default_sortby" => "ORDER BY title", "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "icon_tx_l10nmgr_cfg.gif"), "feInterface" => array("fe_admin_fieldList" => "title, depth, tablelist, exclude"));
$TCA["tx_l10nmgr_priorities"] = array("ctrl" => array('title' => 'LLL:EXT:l10nmgr/locallang_db.xml:tx_l10nmgr_priorities', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', "sortby" => "sorting", "delete" => "deleted", "rootLevel" => 1, "enablecolumns" => array("disabled" => "hidden"), "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "icon_tx_l10nmgr_priorities.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden, title, description, languages, element"));
$TCA["tx_l10nmgr_exportdata"] = array("ctrl" => array('title' => 'LLL:EXT:l10nmgr/locallang_db.xml:tx_l10nmgr_export', 'label' => 'title', 'l10ncfg_id' => 'l10ncfg_id', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'source_lang' => 'source_lang', 'translation_lang' => 'translation_lang', 'source_lang' => 'source_lang', "default_sortby" => "ORDER BY title", "delete" => "deleted", "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "icon_tx_l10nmgr_cfg.gif"), "feInterface" => array("fe_admin_fieldList" => "title, source_lang, l10ncfg_id, crdate, delete, exclude"));
if (TYPO3_MODE == "BE") {
    $GLOBALS["TBE_MODULES_EXT"]["xMOD_alt_clickmenu"]["extendCMclasses"][] = array("name" => "tx_l10nmgr_cm1", "path" => t3lib_extMgm::extPath($_EXTKEY) . "class.tx_l10nmgr_cm1.php");
    // Add context sensitive help (csh) for the Scheduler tasks
    t3lib_extMgm::addLLrefForTCAdescr('_tasks_txl10nmgr', 'EXT:' . $_EXTKEY . '/tasks/locallang_csh_tasks.xml');
}
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    t3lib_extMgm::addModule('help', 'cshmanual', 'top', t3lib_extMgm::extPath($_EXTKEY) . 'mod/');
}
Beispiel #7
0
t3lib_extMgm::allowTableOnStandardPages('tx_myquizpoll_result');
$TCA['tx_myquizpoll_result'] = array('ctrl' => array('title' => 'LLL:EXT:myquizpoll/locallang_db.xml:tx_myquizpoll_result', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'default_sortby' => 'ORDER BY crdate', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_myquizpoll_result.gif'));
t3lib_extMgm::allowTableOnStandardPages('tx_myquizpoll_relation');
$TCA['tx_myquizpoll_relation'] = array('ctrl' => array('title' => 'LLL:EXT:myquizpoll/locallang_db.xml:tx_myquizpoll_relation', 'label' => 'uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'default_sortby' => 'ORDER BY crdate', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_myquizpoll_relation.gif'));
t3lib_extMgm::allowTableOnStandardPages('tx_myquizpoll_category');
$TCA['tx_myquizpoll_category'] = array('ctrl' => array('title' => 'LLL:EXT:myquizpoll/locallang_db.xml:tx_myquizpoll_category', 'label' => 'name', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY name', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_myquizpoll_category.gif'));
$version = class_exists('t3lib_utility_VersionNumber') ? t3lib_utility_VersionNumber::convertVersionNumberToInteger(TYPO3_version) : t3lib_div::int_from_ver(TYPO3_version);
if ($version < 4008000) {
    t3lib_div::loadTCA('tt_content');
}
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:' . $_EXTKEY . '/flexform.xml');
t3lib_extMgm::addPlugin(array('LLL:EXT:myquizpoll/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'), 'list_type');
if (TYPO3_MODE == 'BE') {
    $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_myquizpoll_pi1_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'pi1/class.tx_myquizpoll_pi1_wizicon.php';
}
t3lib_extMgm::addStaticFile($_EXTKEY, 'pi1/static/', 'My quiz and poll: default styles');
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/defaultsettings/', 'My quiz and poll: default settings');
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/starrating/', 'My quiz and poll: star rating (question type)');
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/uistars/', 'My quiz and poll: star rating (rating)');
$TCA['pages']['columns']['module']['config']['items'][] = array('My Quiz and Poll', 'myquizpoll', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon_myquizpoll_folder.gif');
if ($version >= 4004000) {
    t3lib_SpriteManager::addTcaTypeIcon('pages', 'contains-myquizpoll', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon_myquizpoll_folder.gif');
} else {
    $ICON_TYPES['myquizpoll'] = array('icon' => t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon_myquizpoll_folder.gif');
}
if (TYPO3_MODE == 'BE') {
    t3lib_extMgm::addModulePath('web_txmyquizpollM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    t3lib_extMgm::addModule('web', 'txmyquizpollM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
}
/**
 * TYPO3 Extension configuration for the tx_phpmyadmin Extension
 *
 * @author		mehrwert <*****@*****.**>
 * @package		TYPO3
 * @subpackage	tx_phpmyadmin
 * @license		GPL
 * @version		$Id: ext_tables.php 30792 2010-03-05 22:55:26Z mehrwert $
 */

if (!defined ('TYPO3_MODE')) {
	die ('Access denied.');
}

// If the backend is loaded, add the module
if (TYPO3_MODE == 'BE') {
	t3lib_extMgm::addModule('tools', 'txphpmyadmin', '', t3lib_extMgm::extPath($_EXTKEY) . 'modsub/');
}

// Require the utilities class and define logoff method for hook
@require_once(t3lib_extMgm::extPath('phpmyadmin').'res/class.tx_phpmyadmin_utilities.php');

// Do not load post processing class if TYPO3 is in CLI mode
if (!defined('TYPO3_cliMode') || !TYPO3_cliMode) {
	$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_post_processing'][] = 'tx_phpmyadmin_utilities->pmaLogOff';
}

// The subdirectory where the pMA source is located (used for cookie removal and script inclusion)
$TYPO3_CONF_VARS['EXTCONF']['phpmyadmin']['pmaDirname'] = 'phpMyAdmin-3.2.5-all-languages';

?>
Beispiel #9
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
//t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types'][$_EXTKEY . '_pi1']['showitem'] = 'CType;;4;button;1-1-1, header;;3;;2-2-2';
t3lib_extMgm::addPlugin(array('LLL:EXT:nxindexedsearch/locallang_db.xml:tt_content.CType_pi1', $_EXTKEY . '_pi1'), 'CType');
if (TYPO3_MODE == "BE") {
    t3lib_extMgm::addModule("tools", "txnxindexedsearchM1", "", t3lib_extMgm::extPath($_EXTKEY) . "mod1/");
}
/*
$TCA["tx_nxindexedsearch_sources"] = Array (
	"ctrl" => Array (
		'title' => 'LLL:EXT:nxindexedsearch/locallang_db.xml:tx_nxindexedsearch_sources',
		'label' => 'uid',
		'tstamp' => 'tstamp',
		'crdate' => 'crdate',
		'cruser_id' => 'cruser_id',
		"default_sortby" => "ORDER BY crdate",
		"dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY)."tca.php",
		"iconfile" => t3lib_extMgm::extRelPath($_EXTKEY)."icon_tx_nxindexedsearch_sources.gif",
	),
	"feInterface" => Array (
		"fe_admin_fieldList" => "datasource_table, datasource_category",
	)
);

$TCA["tx_nxindexedsearch_searchindex"] = Array (
	"ctrl" => Array (
		'title' => 'LLL:EXT:nxindexedsearch/locallang_db.xml:tx_nxindexedsearch_searchindex',
            break;
        }
    }
}
#echo t3lib_div::view_array($TCA['tt_news']['columns']);
t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key, pages';
t3lib_extMgm::addPlugin(array('LLL:EXT:rggooglemap/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1'), 'list_type');
t3lib_extMgm::addStaticFile($_EXTKEY, "pi1/static/", "Google Map");
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue('rggooglemap_pi1', 'FILE:EXT:rggooglemap/flexform_ds.xml');
// Wizicon
if (TYPO3_MODE == "BE") {
    $TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_rggooglemap_pi1_wizicon"] = t3lib_extMgm::extPath($_EXTKEY) . 'pi1/class.tx_rggooglemap_pi1_wizicon.php';
}
// Be Module
if (TYPO3_MODE == "BE") {
    t3lib_extMgm::addModule("web", "txrggooglemapM1", "", t3lib_extMgm::extPath($_EXTKEY) . "mod1/");
}
// Category
$TCA["tx_rggooglemap_cat"] = array("ctrl" => array('title' => 'LLL:EXT:rggooglemap/locallang_db.xml:tx_rggooglemap_cat', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', "default_sortby" => "ORDER BY crdate", "delete" => "deleted", 'treeParentField' => 'parent_uid', "enablecolumns" => array("disabled" => "hidden"), "dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY) . "tca.php", "iconfile" => t3lib_extMgm::extRelPath($_EXTKEY) . "icon_tx_rggooglemap_cat.gif"), "feInterface" => array("fe_admin_fieldList" => "hidden, title, parent_uid"));
/*
$TCA["tx_rggooglemap_generic"] = array (
    "ctrl" => array (
        'title'     => 'LLL:EXT:rggooglemap/locallang_db.xml:tx_rggooglemap_generic',        
        'label'     => 'tablename',    
        'tstamp'    => 'tstamp',
        'crdate'    => 'crdate',
        'cruser_id' => 'cruser_id',
        'default_sortby' => "ORDER BY tablename",    
        'delete' => 'deleted',    
Beispiel #11
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$TCA['sys_language']['columns']['disabled_in_menu'] = array('exclude' => 1, 'label' => 'LLL:EXT:go_language/locallang_db.xml:disabled_in_menu', 'config' => array('type' => 'check', 'default' => '0'));
$TCA['sys_language']['types'][1]['showitem'] .= ',disabled_in_menu';
if (TYPO3_MODE == 'BE') {
    $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid', 'sys_language', '');
    if ($GLOBALS['TYPO3_DB']->sql_num_rows($res)) {
        t3lib_extMgm::addModulePath('web_txgolanguageM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
        t3lib_extMgm::addModule('web', 'txgolanguageM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    }
}
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    t3lib_extMgm::addModule('user', 'setup', 'after:task', t3lib_extMgm::extPath($_EXTKEY) . 'mod/');
    t3lib_extMgm::addLLrefForTCAdescr('_MOD_user_setup', 'EXT:setup/locallang_csh_mod.xml');
}
$GLOBALS['TYPO3_USER_SETTINGS'] = array('ctrl' => array('dividers2tabs' => 1), 'columns' => array('realName' => array('type' => 'text', 'label' => 'LLL:EXT:setup/mod/locallang.xml:beUser_realName', 'table' => 'be_users', 'csh' => 'beUser_realName'), 'email' => array('type' => 'text', 'label' => 'LLL:EXT:setup/mod/locallang.xml:beUser_email', 'table' => 'be_users', 'csh' => 'beUser_email'), 'emailMeAtLogin' => array('type' => 'check', 'label' => 'LLL:EXT:setup/mod/locallang.xml:emailMeAtLogin', 'csh' => 'emailMeAtLogin'), 'password' => array('type' => 'password', 'label' => 'LLL:EXT:setup/mod/locallang.xml:newPassword', 'table' => 'be_users', 'csh' => 'newPassword', 'eval' => 'md5'), 'password2' => array('type' => 'password', 'label' => 'LLL:EXT:setup/mod/locallang.xml:newPasswordAgain', 'table' => 'be_users', 'csh' => 'newPasswordAgain', 'eval' => 'md5'), 'lang' => array('type' => 'select', 'itemsProcFunc' => 'SC_mod_user_setup_index->renderLanguageSelect', 'label' => 'LLL:EXT:setup/mod/locallang.xml:language', 'csh' => 'language'), 'condensedMode' => array('type' => 'check', 'label' => 'LLL:EXT:setup/mod/locallang.xml:condensedMode', 'csh' => 'condensedMode'), 'startModule' => array('type' => 'select', 'itemsProcFunc' => 'SC_mod_user_setup_index->renderStartModuleSelect', 'label' => 'LLL:EXT:setup/mod/locallang.xml:startModule', 'csh' => 'startModule'), 'thumbnailsByDefault' => array('type' => 'check', 'label' => 'LLL:EXT:setup/mod/locallang.xml:showThumbs', 'csh' => 'showThumbs'), 'helpText' => array('type' => 'check', 'label' => 'LLL:EXT:setup/mod/locallang.xml:helpText', 'csh' => 'helpText'), 'edit_wideDocument' => array('type' => 'check', 'label' => 'LLL:EXT:setup/mod/locallang.xml:edit_wideDocument', 'csh' => 'edit_wideDocument'), 'edit_showFieldHelp' => array('type' => 'select', 'items' => array('0' => 'LLL:EXT:setup/mod/locallang.xml:edit_showFieldHelp_none', 'icon' => 'LLL:EXT:setup/mod/locallang.xml:edit_showFieldHelp_icon', 'text' => 'LLL:EXT:setup/mod/locallang.xml:edit_showFieldHelp_message'), 'label' => 'LLL:EXT:setup/mod/locallang.xml:edit_showFieldHelp', 'csh' => 'edit_showFieldHelp'), 'titleLen' => array('type' => 'text', 'label' => 'LLL:EXT:setup/mod/locallang.xml:maxTitleLen', 'csh' => 'maxTitleLen'), 'edit_RTE' => array('type' => 'check', 'label' => 'LLL:EXT:setup/mod/locallang.xml:edit_RTE', 'csh' => 'edit_RTE'), 'edit_docModuleUpload' => array('type' => 'check', 'label' => 'LLL:EXT:setup/mod/locallang.xml:edit_docModuleUpload', 'csh' => 'edit_docModuleUpload'), 'disableCMlayers' => array('type' => 'check', 'label' => 'LLL:EXT:setup/mod/locallang.xml:disableCMlayers', 'csh' => 'disableCMlayers'), 'copyLevels' => array('type' => 'text', 'label' => 'LLL:EXT:setup/mod/locallang.xml:copyLevels', 'csh' => 'copyLevels'), 'recursiveDelete' => array('type' => 'check', 'label' => 'LLL:EXT:setup/mod/locallang.xml:recursiveDelete', 'csh' => 'recursiveDelete'), 'simulate' => array('type' => 'select', 'itemsProcFunc' => 'SC_mod_user_setup_index->renderSimulateUserSelect', 'access' => 'admin', 'label' => 'LLL:EXT:setup/mod/locallang.xml:simulate', 'csh' => 'simuser'), 'enableFlashUploader' => array('type' => 'check', 'label' => 'LLL:EXT:setup/mod/locallang.xml:enableFlashUploader', 'csh' => 'enableFlashUploader'), 'resizeTextareas' => array('type' => 'check', 'label' => 'LLL:EXT:setup/mod/locallang.xml:resizeTextareas', 'csh' => 'resizeTextareas'), 'resizeTextareas_MaxHeight' => array('type' => 'text', 'label' => 'LLL:EXT:setup/mod/locallang.xml:resizeTextareas_MaxHeight', 'csh' => 'resizeTextareas_MaxHeight'), 'resizeTextareas_Flexible' => array('type' => 'check', 'label' => 'LLL:EXT:setup/mod/locallang.xml:resizeTextareas_Flexible', 'csh' => 'resizeTextareas_Flexible'), 'installToolEnableButton' => array('type' => 'user', 'label' => 'LLL:EXT:setup/mod/locallang.xml:enableInstallTool.label', 'userFunc' => 'SC_mod_user_setup_index->renderInstallToolEnableFileButton', 'access' => 'admin', 'csh' => 'enableInstallTool')), 'showitem' => '--div--;LLL:EXT:setup/mod/locallang.xml:personal_data,realName,email,emailMeAtLogin,password,password2,lang,
			--div--;LLL:EXT:setup/mod/locallang.xml:opening,condensedMode,startModule,thumbnailsByDefault,helpText,edit_showFieldHelp,titleLen,
			--div--;LLL:EXT:setup/mod/locallang.xml:editFunctionsTab,edit_RTE,edit_wideDocument,edit_docModuleUpload,enableFlashUploader,resizeTextareas,resizeTextareas_MaxHeight,resizeTextareas_Flexible,disableCMlayers,copyLevels,recursiveDelete,
			--div--;LLL:EXT:setup/mod/locallang.xml:adminFunctions,simulate,installToolEnableButton');
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    t3lib_extMgm::addModule('tools', 'install', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod/');
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['typo3'][] = 'tx_install_report_InstallStatus';
}
Beispiel #14
0
<?php

# TYPO3 SVN ID: $Id: ext_tables.php 10211 2011-01-21 14:55:53Z flyguide $
if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    t3lib_extMgm::addModule('web', 'layout', 'top', t3lib_extMgm::extPath($_EXTKEY) . 'layout/');
    t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_layout', 'EXT:cms/locallang_csh_weblayout.xml');
    t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_info', 'EXT:cms/locallang_csh_webinfo.xml');
    t3lib_extMgm::insertModuleFunction('web_info', 'tx_cms_webinfo_page', t3lib_extMgm::extPath($_EXTKEY) . 'web_info/class.tx_cms_webinfo.php', 'LLL:EXT:cms/locallang_tca.xml:mod_tx_cms_webinfo_page');
    t3lib_extMgm::insertModuleFunction('web_info', 'tx_cms_webinfo_lang', t3lib_extMgm::extPath($_EXTKEY) . 'web_info/class.tx_cms_webinfo_lang.php', 'LLL:EXT:cms/locallang_tca.xml:mod_tx_cms_webinfo_lang');
}
// Add allowed records to pages:
t3lib_extMgm::allowTableOnStandardPages('pages_language_overlay,tt_content,sys_template,sys_domain,backend_layout');
// ******************************************************************
// This is the standard TypoScript content table, tt_content
// ******************************************************************
$TCA['tt_content'] = array('ctrl' => array('label' => 'header', 'label_alt' => 'subheader,bodytext', 'sortby' => 'sorting', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'title' => 'LLL:EXT:cms/locallang_tca.xml:tt_content', 'delete' => 'deleted', 'versioningWS' => 2, 'versioning_followPages' => true, 'origUid' => 't3_origuid', 'type' => 'CType', 'hideAtCopy' => true, 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xml:LGL.prependAtCopy', 'copyAfterDuplFields' => 'colPos,sys_language_uid', 'useColumnsForDefaultValues' => 'colPos,sys_language_uid', 'shadowColumnsForNewPlaceholders' => 'colPos', 'transOrigPointerField' => 'l18n_parent', 'transOrigDiffSourceField' => 'l18n_diffsource', 'languageField' => 'sys_language_uid', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime', 'fe_group' => 'fe_group'), 'typeicon_column' => 'CType', 'typeicon_classes' => array('header' => 'mimetypes-x-content-header', 'textpic' => 'mimetypes-x-content-text-picture', 'image' => 'mimetypes-x-content-image', 'bullets' => 'mimetypes-x-content-list-bullets', 'table' => 'mimetypes-x-content-table', 'splash' => 'mimetypes-x-content-splash', 'uploads' => 'mimetypes-x-content-list-files', 'multimedia' => 'mimetypes-x-content-multimedia', 'media' => 'mimetypes-x-content-multimedia', 'menu' => 'mimetypes-x-content-menu', 'list' => 'mimetypes-x-content-plugin', 'mailform' => 'mimetypes-x-content-form', 'search' => 'mimetypes-x-content-form-search', 'login' => 'mimetypes-x-content-login', 'shortcut' => 'mimetypes-x-content-link', 'script' => 'mimetypes-x-content-script', 'div' => 'mimetypes-x-content-divider', 'html' => 'mimetypes-x-content-html', 'text' => 'mimetypes-x-content-text', 'default' => 'mimetypes-x-content-text'), 'typeicons' => array('header' => 'tt_content_header.gif', 'textpic' => 'tt_content_textpic.gif', 'image' => 'tt_content_image.gif', 'bullets' => 'tt_content_bullets.gif', 'table' => 'tt_content_table.gif', 'splash' => 'tt_content_news.gif', 'uploads' => 'tt_content_uploads.gif', 'multimedia' => 'tt_content_mm.gif', 'media' => 'tt_content_mm.gif', 'menu' => 'tt_content_menu.gif', 'list' => 'tt_content_list.gif', 'mailform' => 'tt_content_form.gif', 'search' => 'tt_content_search.gif', 'login' => 'tt_content_login.gif', 'shortcut' => 'tt_content_shortcut.gif', 'script' => 'tt_content_script.gif', 'div' => 'tt_content_div.gif', 'html' => 'tt_content_html.gif'), 'thumbnail' => 'image', 'requestUpdate' => 'list_type,rte_enabled', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tbl_tt_content.php', 'dividers2tabs' => 1));
// ******************************************************************
// fe_users
// ******************************************************************
$TCA['fe_users'] = array('ctrl' => array('label' => 'username', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'fe_cruser_id' => 'fe_cruser_id', 'title' => 'LLL:EXT:cms/locallang_tca.xml:fe_users', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'disable', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'typeicon_classes' => array('default' => 'status-user-frontend'), 'useColumnsForDefaultValues' => 'usergroup,lockToDomain,disable,starttime,endtime', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tbl_cms.php', 'dividers2tabs' => 1), 'feInterface' => array('fe_admin_fieldList' => 'username,password,usergroup,name,address,telephone,fax,email,title,zip,city,country,www,company'));
// ******************************************************************
// fe_groups
// ******************************************************************
$TCA['fe_groups'] = array('ctrl' => array('label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'delete' => 'deleted', 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xml:LGL.prependAtCopy', 'enablecolumns' => array('disabled' => 'hidden'), 'title' => 'LLL:EXT:cms/locallang_tca.xml:fe_groups', 'typeicon_classes' => array('default' => 'status-user-group-frontend'), 'useColumnsForDefaultValues' => 'lockToDomain', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tbl_cms.php', 'dividers2tabs' => 1));
// ******************************************************************
// sys_domain
// ******************************************************************
$TCA['sys_domain'] = array('ctrl' => array('label' => 'domainName', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'sortby' => 'sorting', 'title' => 'LLL:EXT:cms/locallang_tca.xml:sys_domain', 'iconfile' => 'domain.gif', 'enablecolumns' => array('disabled' => 'hidden'), 'typeicon_classes' => array('default' => 'mimetypes-x-content-domain'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tbl_cms.php'));
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    t3lib_extMgm::addModule('web', 'view', 'after:layout', t3lib_extMgm::extPath($_EXTKEY) . 'view/');
}
Beispiel #16
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$_EXTCONF = unserialize($_EXTCONF);
if (TYPO3_MODE == 'BE' and $_EXTCONF['log']) {
    t3lib_extMgm::addModule('tools', 'txnawsecuredlM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'modLog/');
}
unset($_EXTCONF);
Beispiel #17
0
<?php

/* $Id: ext_tables.php 6536 2009-11-25 14:07:18Z stucki $ */
if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    // Add module
    t3lib_extMgm::addModule('tools', 'txschedulerM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    // Add context sensitive help (csh) to the backend module
    t3lib_extMgm::addLLrefForTCAdescr('_MOD_tools_txschedulerM1', 'EXT:' . $_EXTKEY . '/mod1/locallang_csh_scheduler.xml');
}
Beispiel #18
0
t3lib_div::loadTCA("fe_users");
t3lib_extMgm::addTCAcolumns("fe_users", $tempColumns, 1);
t3lib_extMgm::addToAllTCAtypes("fe_users", "firstname;;;;1-1-1");
t3lib_extMgm::addToAllTCAtypes("fe_users", "tx_fbmagento_id;;;;1-1-1");
// add store mapping
$tempColumns = array("tx_fbmagento_store" => array("exclude" => 0, "label" => "LLL:EXT:fb_magento/locallang_db.xml:sys_language.tx_fbmagento_store", "config" => array("type" => "select", "itemsProcFunc" => "EXT:fb_magento/lib/class.tx_fbmagento_tcafields.php:tx_fbmagento_tcafields->itemsProcFunc_languages", "maxitems" => 1)));
t3lib_div::loadTCA("sys_language");
t3lib_extMgm::addTCAcolumns("sys_language", $tempColumns, 1);
t3lib_extMgm::addToAllTCAtypes("sys_language", "tx_fbmagento_store;;;;1-1-1");
// add group mapping
$tempColumns = array("tx_fbmagento_group" => array("exclude" => 0, "label" => "LLL:EXT:fb_magento/locallang_db.xml:be_users.tx_fbmagento_group", "config" => array("type" => "select", "items" => array(array('LLL:EXT:fb_magento/locallang_db.xml:be_users.tx_fbmagento_group.0', '')), "itemsProcFunc" => "EXT:fb_magento/lib/class.tx_fbmagento_tcafields.php:tx_fbmagento_tcafields->itemsProcFunc_usergroups", "maxitems" => 1)));
t3lib_div::loadTCA("be_users");
t3lib_extMgm::addTCAcolumns("be_users", $tempColumns, 1);
t3lib_extMgm::addToAllTCAtypes("be_users", "tx_fbmagento_group;;;;1-1-1");
if (TYPO3_MODE == "BE") {
    // add module after 'Web'
    if (!isset($TBE_MODULES['txfbmagentoMgroup'])) {
        $temp_TBE_MODULES = array();
        foreach ($TBE_MODULES as $key => $val) {
            $temp_TBE_MODULES[$key] = $val;
            if ($key == 'web') {
                $temp_TBE_MODULES['txfbmagentoMgroup'] = $val;
            }
        }
        $TBE_MODULES = $temp_TBE_MODULES;
    }
    // add group module
    t3lib_extMgm::addModule('txfbmagentoMgroup', '', '', t3lib_extmgm::extPath($_EXTKEY) . 'mod_group/');
    // add admin module
    t3lib_extMgm::addModule('txfbmagentoMgroup', 'txfbmagentoMadmin', '', t3lib_extmgm::extPath($_EXTKEY) . 'mod_admin/');
}
Beispiel #19
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/', 'betatext');
$TCA['tx_webetatext_text'] = array('ctrl' => array('title' => 'LLL:EXT:we_betatext/locallang_db.xml:tx_webetatext_text', 'label' => 'TextID', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'fe_cruser_id' => 'fe_cruser_id', 'default_sortby' => 'ORDER BY crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_webetatext_text.gif'));
$TCA['tx_webetatext_comment'] = array('ctrl' => array('title' => 'LLL:EXT:we_betatext/locallang_db.xml:tx_webetatext_comment', 'label' => 'Content', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'fe_cruser_id' => 'fe_cruser_id', 'default_sortby' => 'ORDER BY crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_webetatext_comment.gif'));
$TCA['tx_webetatext_vote'] = array('ctrl' => array('title' => 'LLL:EXT:we_betatext/locallang_db.xml:tx_webetatext_vote', 'label' => 'uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'fe_cruser_id' => 'fe_cruser_id', 'default_sortby' => 'ORDER BY crdate', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_webetatext_voting.gif'));
$TCA['tx_webetatext_process'] = array('ctrl' => array('title' => 'LLL:EXT:we_betatext/locallang_db.xml:tx_webetatext_process', 'label' => 'StepIndex', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY sort', 'sortby' => 'sort', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_webetatext_process.gif'));
t3lib_extMgm::allowTableOnStandardPages("tx_webetatext_process");
$addColumns = array('tx_webetatext_logo' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:fe_users.tx_webetatext_logo', 'config' => array('type' => 'group', 'internal_type' => 'file', 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'], 'max_size' => 1000, 'uploadfolder' => 'uploads/tx_webetatext', 'show_thumbs' => 1, 'size' => 1, 'minitems' => 0, 'maxitems' => 1)), 'tx_webetatext_verified' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:fe_users.tx_webetatext_verified', 'config' => array('type' => 'check', 'default' => '1')), 'tx_webetatext_verification_requested' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:fe_users.tx_webetatext_verification_requested', 'config' => array('type' => 'check', 'default' => '0')));
t3lib_extMgm::addTCAcolumns('fe_users', $addColumns, true);
t3lib_extMgm::addToAllTCATypes('fe_users', '--div--;betatext,tx_webetatext_logo,tx_webetatext_verification_requested,tx_webetatext_verified;;;;1-1-1');
/* Seiteneinstellungen */
$TCA['pages']['columns']['doktype']['config']['items'][] = array('betatext: kommentierbare Seite', 124, 'EXT:we_betatext/icons/bbt-page.gif');
t3lib_SpriteManager::addTcaTypeIcon('pages', '124', '../typo3conf/ext/we_betatext/icons/bbt-page.png');
$addColumns = array('tx_webetatext_enable' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:pages.tx_webetatext_enable', 'config' => array('type' => 'check', 'default' => '0')), 'tx_webetatext_infomail_to' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:pages.tx_webetatext_infomail_to', 'config' => array('type' => 'input', 'size' => '20', 'max' => '50', 'eval' => 'trim', 'default' => '')), 'tx_webetatext_pstep_title' => array('exclude' => 1, 'label' => 'LLL:EXT:we_betatext/locallang_db.xml:pages.tx_webetatext_pstep_title', 'config' => array('type' => 'input', 'size' => '20', 'max' => '50', 'eval' => 'trim', 'default' => '')));
t3lib_extMgm::addTCAcolumns('pages', $addColumns, true);
t3lib_extMgm::addToAllTCAtypes('pages', '--div--;betatext,tx_webetatext_enable,tx_webetatext_infomail_to,tx_webetatext_pstep_title;;;;1-1-1');
if (TYPO3_MODE == 'BE') {
    t3lib_extMgm::addModulePath('web_txwwbbtM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    t3lib_extMgm::addModule('web', 'txwwbbtM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
}
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    t3lib_extMgm::addModule('help', 'txtsconfighelpM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
}
if (!class_exists('tx_templavoila_div')) {
	require_once(t3lib_extMgm::extPath($_EXTKEY) . 'classes/class.tx_templavoila_div.php');
}

if (TYPO3_MODE=='BE') {

		// Adding click menu item:
	$GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array(
		'name' => 'tx_templavoila_cm1',
		'path' => t3lib_extMgm::extPath($_EXTKEY).'class.tx_templavoila_cm1.php'
	);
	include_once(t3lib_extMgm::extPath('templavoila').'class.tx_templavoila_handlestaticdatastructures.php');

		// Adding backend modules:
	t3lib_extMgm::addModule('web','txtemplavoilaM1','top',t3lib_extMgm::extPath($_EXTKEY).'mod1/');
	t3lib_extMgm::addModule('web','txtemplavoilaM2','',t3lib_extMgm::extPath($_EXTKEY).'mod2/');

		// Remove default Page module (layout) manually if wanted:
	if (!$_EXTCONF['enable.']['oldPageModule']) {
		$tmp = $GLOBALS['TBE_MODULES']['web'];
		$GLOBALS['TBE_MODULES']['web'] = str_replace (',,',',',str_replace ('layout','',$tmp));
		unset ($GLOBALS['TBE_MODULES']['_PATHS']['web_layout']);
	}

		// Registering CSH:
	t3lib_extMgm::addLLrefForTCAdescr('be_groups','EXT:templavoila/locallang_csh_begr.xml');
	t3lib_extMgm::addLLrefForTCAdescr('pages','EXT:templavoila/locallang_csh_pages.xml');
	t3lib_extMgm::addLLrefForTCAdescr('tt_content','EXT:templavoila/locallang_csh_ttc.xml');
	t3lib_extMgm::addLLrefForTCAdescr('tx_templavoila_datastructure','EXT:templavoila/locallang_csh_ds.xml');
	t3lib_extMgm::addLLrefForTCAdescr('tx_templavoila_tmplobj','EXT:templavoila/locallang_csh_to.xml');
	t3lib_extMgm::addLLrefForTCAdescr('xMOD_tx_templavoila','EXT:templavoila/locallang_csh_module.xml');
Beispiel #22
0
	component while the other one want to have this other one. I think it is very challenging to come up 
	with an extension that is features reach without overloading the code basis.
	
	Formhandler solves the problem by having a very modular approach. The extension is piloted 
	mainly by some nice TypoScript where is is possible to define exactly what to implement. You may
	want to play with some interceptor, finisher, logger, validators etc... For more information,
	you should have a look into the folder "Examples" of the extension which refers many interesting samples.
		
	Latest development version on
	http://forge.typo3.org/repositories/show/extension-formhandler
*/
if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    # dynamic flexform
    include_once t3lib_extMgm::extPath($_EXTKEY) . '/Resources/PHP/class.tx_dynaflex.php';
    t3lib_div::loadTCA('tt_content');
    $TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key,pages';
    // Add flexform field to plugin options
    $TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
    $file = 'FILE:EXT:' . $_EXTKEY . '/Resources/XML/flexform_ds.xml';
    // Add flexform DataStructure
    t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', $file);
    t3lib_extMgm::addModule('web', 'txformhandlermoduleM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'Classes/Controller/Module/');
    $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_formhandler_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'Resources/PHP/class.tx_formhandler_wizicon.php';
}
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/Settings/', 'Example Configuration');
t3lib_extMgm::addPlugin(array('Formhandler', $_EXTKEY . '_pi1'), 'list_type');
$TCA['tx_formhandler_log'] = array('ctrl' => array('title' => 'LLL:EXT:formhandler/Resources/Language/locallang_db.xml:tx_formhandler_log', 'label' => 'uid', 'default_sortby' => 'ORDER BY crdate DESC', 'crdate' => 'crdate', 'tstamp' => 'tstamp', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'readOnly' => 1));
t3lib_extMgm::allowTableOnStandardPages('tx_formhandler_log');
Beispiel #23
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    t3lib_extMgm::addModulePath('tools_txreportsM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod/');
    t3lib_extMgm::addModule('tools', 'txreportsM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod/');
    $statusReport = array('title' => 'LLL:EXT:reports/reports/locallang.xml:status_report_title', 'description' => 'LLL:EXT:reports/reports/locallang.xml:status_report_description', 'report' => 'tx_reports_reports_Status');
    if (!is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status'])) {
        $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status'] = array();
    }
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status'] = array_merge($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status'], $statusReport);
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['typo3'][] = 'tx_reports_reports_status_Typo3Status';
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['system'][] = 'tx_reports_reports_status_SystemStatus';
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['security'][] = 'tx_reports_reports_status_SecurityStatus';
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['configuration'][] = 'tx_reports_reports_status_ConfigurationStatus';
}
<?php

/**
 * Contexts WURFL extension tables configuration.
 *
 * PHP version 5
 *
 * @category   Contexts
 * @package    WURFL
 * @subpackage Configuration
 * @author     Rico Sonntag <*****@*****.**>
 */
defined('TYPO3_MODE') or die('Access denied.');
if (TYPO3_MODE === 'BE') {
    // All other modes did load it already
    require_once t3lib_extMgm::extPath($_EXTKEY) . 'ext_contexts.php';
    t3lib_extMgm::addModule('tools', 'txcontextswurfl', '', t3lib_extMgm::extPath($_EXTKEY) . 'Classes/Backend/Modules/Admin/');
}
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    // add module
    t3lib_extMgm::addModulePath('web_txrecyclerM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    t3lib_extMgm::addModule('web', 'txrecyclerM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
}
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    t3lib_extMgm::addModule('tools', 'dbint', '', t3lib_extMgm::extPath($_EXTKEY) . 'dbint/');
    t3lib_extMgm::addModule('tools', 'config', '', t3lib_extMgm::extPath($_EXTKEY) . 'config/');
    /*
    	t3lib_extMgm::insertModuleFunction(
    		'web_func',
    		'tx_lowlevel_cleaner',
    		t3lib_extMgm::extPath($_EXTKEY).'class.tx_lowlevel_cleaner.php',
    		'Cleaner',
    		'function',
    		'online'
    	);
    */
}
Beispiel #27
0
$TCA['tt_content']['columns']['select_key']['config']['wizards']['link']['JSopenParams'] = 'height=400,width=600,status=0,menubar=0,scrollbars=1';
$TCA['tt_content']['columns']['select_key']['config']['eval'] = 'trim';
// t3lib_extMgm::addToAllTCAtypes('tt_content','tx_hetools_filelist_layout', 'uploads', 'after:select_key');
// zusätzliche Felder als Palette einfügen
// Neue Palette erzeugen
$palettenNr = max(array_keys($TCA['tt_content']['palettes'])) + 1;
$TCA['tt_content']['palettes'][$palettenNr] = array();
$TCA['tt_content']['palettes'][$palettenNr]['showitem'] = 'tx_hetools_filelist_dateitypen, ' . 'tx_hetools_filelist_sortierfeld, ' . 'tx_hetools_filelist_sortierung, ' . '--linebreak--, ' . 'tx_hetools_filelist_layout';
$TCA['tt_content']['palettes'][$palettenNr]['canNotCollapse'] = '1';
t3lib_extMgm::addToAllTCAtypes('tt_content', '--palette--;Optionen zu den Dateiverweisen;' . $palettenNr, 'uploads', 'after:select_key');
// Feld 'layout' im Bereich upload ausblenden
$uploadItems = explode(',', $TCA['tt_content']['types']['uploads']['showitem']);
foreach ($uploadItems as $index => $text) {
    $eintrag = trim($text);
    if (strpos($eintrag, 'layout') !== FALSE && strpos($eintrag, 'layout') == 0) {
        unset($uploadItems[$index]);
    }
}
$TCA['tt_content']['types']['uploads']['showitem'] = implode(',', $uploadItems);
// Ende Dateiverweise
$damColumns = array('tx_hetools_dam_sortiernummer' => array('exclude' => 1, 'label' => 'Sortiernummer', 'config' => array('type' => 'input', 'size' => '3')));
t3lib_div::loadTCA('tx_dam');
t3lib_extMgm::addTCAcolumns('tx_dam', $damColumns, 1);
t3lib_extMgm::addToAllTCAtypes('tx_dam', 'tx_hetools_dam_sortiernummer');
$TCA['tx_dam']['txdamInterface']['index_fieldList'] .= ',tx_hetools_dam_sortiernummer';
// Kontext-sensitive Hilfetexte ändern
t3lib_extMgm::addLLrefForTCAdescr('tt_content', 'EXT:he_tools/lang/locallang_csh_tt_content.php');
if (TYPO3_MODE == 'BE') {
    t3lib_extMgm::addModulePath('web_txhetoolsM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    t3lib_extMgm::addModule('web', 'txhetoolsM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
}
Beispiel #28
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE === 'BE') {
    t3lib_extMgm::addModule('file', 'list', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
}
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE === 'BE') {
    t3lib_extMgm::addModulePath('web_txmedresponsinatoryM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    t3lib_extMgm::addModule('web', 'txmedresponsinatorM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
}
Beispiel #30
0
 //		'LLL:EXT:dam/modfunc_list_editsel/locallang.xml:tx_dam_list_editsel.title'
 //	);
 t3lib_extMgm::insertModuleFunction('txdamM1_list', 'tx_dam_list_batch', PATH_txdam . 'modfunc_list_batch/class.tx_dam_list_batch.php', 'LLL:EXT:dam/modfunc_list_batch/locallang.xml:tx_dam_list_batch.title');
 // add the info module and the info->reference modfunc (previously dam_info)
 t3lib_extMgm::addModule('txdamM1', 'info', '', PATH_txdam . 'mod_info/');
 t3lib_extMgm::insertModuleFunction('txdamM1_info', 'tx_dam_info_reference', PATH_txdam . 'modfunc_info_reference/class.tx_dam_info_reference.php', 'LLL:EXT:dam/modfunc_info_reference/locallang.xml:tx_dam_info_reference.title');
 t3lib_extMgm::addModule('txdamM1', 'tools', '', PATH_txdam . 'mod_tools/');
 if (t3lib_extMgm::isLoaded('dam_index')) {
     t3lib_extMgm::insertModuleFunction('txdamM1_tools', 'tx_dam_tools_indexsetup', PATH_txdam . 'modfunc_tools_indexsetup/class.tx_dam_tools_indexsetup.php', 'LLL:EXT:dam/modfunc_tools_indexsetup/locallang.xml:tx_dam_tools_indexsetup.title');
 }
 t3lib_extMgm::insertModuleFunction('txdamM1_tools', 'tx_dam_tools_indexupdate', PATH_txdam . 'modfunc_tools_indexupdate/class.tx_dam_tools_indexupdate.php', 'LLL:EXT:dam/modfunc_tools_indexupdate/locallang.xml:tx_dam_tools_indexupdate.title');
 t3lib_extMgm::insertModuleFunction('txdamM1_tools', 'tx_dam_tools_config', PATH_txdam . 'modfunc_tools_config/class.tx_dam_tools_config.php', 'LLL:EXT:dam/modfunc_tools_config/locallang.xml:tx_dam_tools_config.title');
 t3lib_extMgm::insertModuleFunction('txdamM1_tools', 'tx_dam_tools_serviceinfo', PATH_txdam . 'modfunc_tools_serviceinfo/class.tx_dam_tools_serviceinfo.php', 'LLL:EXT:dam/lib/locallang.xml:serviceinfo');
 t3lib_extMgm::insertModuleFunction('txdamM1_tools', 'tx_dam_tools_mimetypes', PATH_txdam . 'modfunc_tools_mimetypes/class.tx_dam_tools_mimetypes.php', 'LLL:EXT:dam/lib/locallang.xml:mimetypes');
 // command modules (invisible)
 t3lib_extMgm::addModule('txdamM1', 'cmd', '', PATH_txdam . 'mod_cmd/');
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_nothing', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_nothing.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_nothing.title');
 // file command modules (invisible)
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_filerename', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_filerename.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filerename.title');
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_filereplace', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_filereplace.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filereplace.title');
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_filedelete', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_filedelete.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filedelete.title');
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_filecopy', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_filecopymove.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filecopy.title');
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_filemove', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_filecopymove.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filemove.title');
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_filenew', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_filenew.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filenew.title');
 // folder command modules (invisible)
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_foldernew', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_foldernew.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_foldernew.title');
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_folderdelete', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_folderdelete.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filerename.title');
 t3lib_extMgm::insertModuleFunction('txdamM1_cmd', 'tx_dam_cmd_folderrename', PATH_txdam . 'mod_cmd/class.tx_dam_cmd_folderrename.php', 'LLL:EXT:dam/mod_cmd/locallang.xml:tx_dam_cmd_filerename.title');
 // add context menu
 $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array('name' => 'tx_dam_cm_record', 'path' => PATH_txdam . 'binding/be/class.tx_dam_cm_record.php');
 $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array('name' => 'tx_dam_cm_file', 'path' => PATH_txdam . 'binding/be/class.tx_dam_cm_file.php');