Esempio n. 1
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/');
}
Esempio n. 2
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

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/');
}
Esempio n. 4
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/');
}
Esempio n. 5
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');
}
Esempio n. 6
0
	'interface' => array(
	),
);
*/
###############################################################################
# BACKEND MODULE
###############################################################################
if (TYPO3_MODE == 'BE') {
    // add module before 'Help'
    if (!isset($TBE_MODULES['tqseo'])) {
        $temp_TBE_MODULES = array();
        foreach ($TBE_MODULES as $key => $val) {
            if ($key == 'help') {
                $temp_TBE_MODULES['tqseo'] = '';
                $temp_TBE_MODULES[$key] = $val;
            } else {
                $temp_TBE_MODULES[$key] = $val;
            }
        }
        $TBE_MODULES = $temp_TBE_MODULES;
    }
    t3lib_extMgm::addModule('tqseo', '', '', $extPath . 'mod1/');
    t3lib_extMgm::addModule('tqseo', 'txtqseoM2', 'bottom', $extPath . 'mod2/');
    t3lib_extMgm::addModule('tqseo', 'txtqseoM3', 'bottom', $extPath . 'mod3/');
    t3lib_extMgm::addModulePath('web_txtqseoM4', $extPath . 'mod4/');
    t3lib_extMgm::addModule('web', 'txtqseoM4', '', $extPath . 'mod4/');
}
###############################################################################
# CONFIGURATION
###############################################################################
t3lib_extMgm::addStaticFile($_EXTKEY, 'static/default/', 'TEQneers SEO');
Esempio n. 7
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/');
}
Esempio n. 8
0
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui-1.10.x/ui-darkness', 'T3JQUERY Style: UI UI-Darkness');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui-1.10.x/ui-lightness', 'T3JQUERY Style: UI UI-Lightness');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui-1.10.x/vader', 'T3JQUERY Style: UI Vader');
        } else {
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/blitzer', 'T3JQUERY Style: UI Blitzer');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/cupertino', 'T3JQUERY Style: UI Cupertino');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/dark-hive', 'T3JQUERY Style: UI Dark-Hive');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/eggplant', 'T3JQUERY Style: UI Eggplant');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/excite-bike', 'T3JQUERY Style: UI Excite-Bike');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/flick', 'T3JQUERY Style: UI Flick');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/hot-sneaks', 'T3JQUERY Style: UI Hot-Sneaks');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/humanity', 'T3JQUERY Style: UI Humanity');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/le-frog', 'T3JQUERY Style: UI Le-Frog');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/overcast', 'T3JQUERY Style: UI Overcast');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/pepper-grinder', 'T3JQUERY Style: UI Pepper-Grinder');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/redmond', 'T3JQUERY Style: UI Redmond');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/smoothness', 'T3JQUERY Style: UI Smoothness');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/south-street', 'T3JQUERY Style: UI South-Street');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/start', 'T3JQUERY Style: UI Start');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/sunny', 'T3JQUERY Style: UI Sunny');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/typo3', 'T3JQUERY Style: UI Typo3');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/ui-darkness', 'T3JQUERY Style: UI UI-Darkness');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/ui-lightness', 'T3JQUERY Style: UI UI-Lightness');
            t3lib_extMgm::addStaticFile($_EXTKEY, 'static/ui/vader', 'T3JQUERY Style: UI Vader');
        }
    }
    if (!$confArr['integrateFromCDN']) {
        t3lib_extMgm::addModulePath('tools_txt3jqueryM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
        t3lib_extMgm::addModule('tools', 'txt3jqueryM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    }
}
Esempio n. 9
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/');
    }
}
Esempio n. 10
0
<?php

defined('TYPO3_MODE') or die('Access denied.');
include_once t3lib_extMgm::extPath($_EXTKEY) . 'class.tx_seminars_flexForms.php';
include_once t3lib_extMgm::extPath($_EXTKEY) . 'tx_seminars_modifiedSystemTables.php';
t3lib_extMgm::addLLrefForTCAdescr('tx_seminars_seminars', 'EXT:seminars/Resources/Private/Language/locallang_csh_seminars.xml');
// Retrieve the path to the extension's directory.
$extRelPath = t3lib_extMgm::extRelPath($_EXTKEY);
$extPath = t3lib_extMgm::extPath($_EXTKEY);
$extIconRelPath = $extRelPath . 'Resources/Public/Icons/';
$tcaPath = $extPath . 'Configuration/TCA/tca.php';
if (TYPO3_MODE === 'BE') {
    t3lib_extMgm::addModulePath('web_txseminarsM2', t3lib_extMgm::extPath($_EXTKEY) . 'BackEnd/');
    t3lib_extMgm::addModule('web', 'txseminarsM2', '', $extPath . 'BackEnd/');
}
if (t3lib_utility_VersionNumber::convertVersionNumberToInteger(TYPO3_version) < 6001000) {
    t3lib_div::loadTCA('tt_content');
}
$GLOBALS['TCA']['tx_seminars_test'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_test', 'readOnly' => 1, 'adminOnly' => 1, 'rootLevel' => 1, 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY uid', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'Test.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_seminars'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_seminars', 'label' => 'title', 'type' => 'object_type', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY begin_date DESC', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'iconfile' => $extIconRelPath . 'EventComplete.gif', 'typeicon_column' => 'object_type', 'typeicons' => array('0' => $extIconRelPath . 'EventComplete.gif', '1' => $extIconRelPath . 'EventTopic.gif', '2' => $extIconRelPath . 'EventDate.gif'), 'dynamicConfigFile' => $tcaPath, 'dividers2tabs' => TRUE, 'hideAtCopy' => TRUE, 'requestUpdate' => 'needs_registration', 'searchFields' => 'title,accreditation_number'));
$GLOBALS['TCA']['tx_seminars_speakers'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_speakers', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'Speaker.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_attendances'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_attendances', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY crdate DESC', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'Registration.gif', 'dividers2tabs' => TRUE, 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_sites'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_sites', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'Place.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_organizers'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_organizers', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'Organizer.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_payment_methods'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_payment_methods', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'PaymentMethod.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_event_types'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_event_types', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'EventType.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_checkboxes'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_checkboxes', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'Checkbox.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_lodgings'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_lodgings', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'Lodging.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_foods'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_foods', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'Food.gif', 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_timeslots'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_timeslots', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'delete' => 'deleted', 'hideTable' => TRUE, 'iconfile' => $extIconRelPath . 'TimeSlot.gif', 'dynamicConfigFile' => $tcaPath, 'searchFields' => 'title'));
$GLOBALS['TCA']['tx_seminars_target_groups'] = array('ctrl' => array('title' => 'LLL:EXT:seminars/locallang_db.xml:tx_seminars_target_groups', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => 'ORDER BY title', 'delete' => 'deleted', 'dynamicConfigFile' => $tcaPath, 'iconfile' => $extIconRelPath . 'TargetGroup.gif', 'searchFields' => 'title'));
Esempio n. 11
0
<?php
if (!defined('TYPO3_MODE')) {
	die ('Access denied.');
}

if (TYPO3_MODE == 'BE') {
	t3lib_extMgm::addModulePath('tools_txrzdummyimageM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
		
	t3lib_extMgm::addModule('tools', 'txrzdummyimageM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
}
?>
Esempio n. 12
0
    TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($_EXTKEY . '_pi3', 'FILE:EXT:ke_search/pi3/flexform_pi3.xml');
}
if (TYPO3_VERSION_INTEGER < 6001000) {
    t3lib_div::loadTCA('pages');
    t3lib_div::loadTCA('tt_content');
}
if (TYPO3_VERSION_INTEGER < 6002000) {
    t3lib_extMgm::addTCAcolumns('pages', $tempColumns);
    t3lib_extMgm::addToAllTCAtypes('pages', 'tx_kesearch_tags;;;;1-1-1');
} else {
    TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('pages', $tempColumns);
    TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('pages', 'tx_kesearch_tags;;;;1-1-1');
}
if (TYPO3_MODE == 'BE') {
    if (TYPO3_VERSION_INTEGER < 6002000) {
        t3lib_extMgm::addModulePath('web_txkesearchM1', $extPath . 'mod1/');
        t3lib_extMgm::addModule('web', 'txkesearchM1', '', $extPath . 'mod1/');
    } else {
        TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath('web_txkesearchM1', $extPath . 'mod1/');
        TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule('web', 'txkesearchM1', '', $extPath . 'mod1/');
    }
}
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi1'] = 'layout,select_key';
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi2'] = 'layout,select_key';
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi3'] = 'layout,select_key';
if (TYPO3_VERSION_INTEGER < 6002000) {
    t3lib_extMgm::addPlugin(array('LLL:EXT:ke_search/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1', $extRelPath . 'ext_icon.gif'), 'list_type');
    t3lib_extMgm::addPlugin(array('LLL:EXT:ke_search/locallang_db.xml:tt_content.list_type_pi2', $_EXTKEY . '_pi2', $extRelPath . 'ext_icon.gif'), 'list_type');
    t3lib_extMgm::addPlugin(array('LLL:EXT:ke_search/locallang_db.xml:tt_content.list_type_pi3', $_EXTKEY . '_pi3', $extRelPath . 'ext_icon.gif'), 'list_type');
} else {
    TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array('LLL:EXT:ke_search/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY . '_pi1', $extRelPath . 'ext_icon.gif'), 'list_type');
Esempio n. 13
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE === 'BE') {
    t3lib_extMgm::addModulePath('web_txmailformplusadminM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    t3lib_extMgm::addModule('web', 'txmailformplusadminM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
}
// Add plugin to new element wizard
if (TYPO3_MODE == 'BE') {
    $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_mailformplusadmin_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'class.tx_mailformplusadmin_wizicon.php';
}
$TCA['tx_mailformplusadmin_fields'] = array('ctrl' => array('title' => 'LLL:EXT:mailformplus_admin/locallang_db.xml:tx_mailformplusadmin_fields', 'label' => 'uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => '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_mailformplusadmin_fields.gif'));
$TCA['tx_mailformplusadmin_standardforms'] = array('ctrl' => array('title' => 'LLL:EXT:mailformplus_admin/locallang_db.xml:tx_mailformplusadmin_standardforms', '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', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_mailformplusadmin_standardforms.gif'));
//Novo starts
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi2'] = 'pi_flexform';
// new!
t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi2', 'FILE:EXT:mailformplus_admin/flexform_ds_pi2.xml');
// new!
t3lib_extMgm::addStaticFile($_EXTKEY, 'configuration/settings/', 'Formhandler easy setup');
include_once t3lib_extMgm::extPath($_EXTKEY) . 'pi2/dynamicflexform/class.dynamic_flexform.php';
//Novo ends
t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY . '_pi2'] = 'layout,select_key,pages';
t3lib_extMgm::addPlugin(array('LLL:EXT:mailformplus_admin/locallang_db.xml:tt_content.list_type_pi2', $_EXTKEY . '_pi2', t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'), 'list_type');
if (TYPO3_MODE === 'BE') {
    $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_mailformplusadmin_pi2_wizicon'] = t3lib_extMgm::extPath($_EXTKEY) . 'pi2/class.tx_mailformplusadmin_pi2_wizicon.php';
}
$tempColumns = array('tx_mailformplusadmin_ok' => array('exclude' => 0, 'label' => 'LLL:EXT:mailformplus_admin/locallang_db.xml:tx_formhandler_log.tx_mailformplusadmin_ok', 'config' => array('type' => 'check')));
t3lib_div::loadTCA('tx_formhandler_log');
Esempio n. 14
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
t3lib_extMgm::allowTableOnStandardPages('tx_medbootstraptools_buttonstyles');
t3lib_extMgm::allowTableOnStandardPages('tx_medbootstraptools_colors');
$TCA['tx_medbootstraptools_buttonstyles'] = array('ctrl' => array('title' => 'LLL:EXT:medbootstraptools/locallang_db.xml:tx_medbootstraptools_buttonstyles', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'sortby' => 'sorting', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime', 'fe_group' => 'fe_group'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_medbootstraptools_buttonstyles.gif'));
$TCA['tx_medbootstraptools_colors'] = array('ctrl' => array('title' => 'LLL:EXT:medbootstraptools/locallang_db.xml:tx_medbootstraptools_colors', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'transOrigDiffSourceField' => 'l10n_diffsource', 'sortby' => 'sorting', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime', 'fe_group' => 'fe_group'), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_medbootstraptools_colors.gif'));
if (TYPO3_MODE === 'BE') {
    t3lib_extMgm::addUserTSConfig('
		templavoila.eTypes {
		    eType {
			t3bootstrap_bootstrapicons {
			    label = Bootstrap Icons
			}
			t3bootstrap_slider {
			    label = Bootstrap Column Slider
			} 
			t3bootstrap_offsetSlider {
			    label = Bootstrap Offset Slider
			}                         
		    }
		    defaultTypes_misc := addToList(t3bootstrap_bootstrapicons,t3bootstrap_slider,t3bootstrap_offsetSlider)
		}
	');
}
if (TYPO3_MODE === 'BE') {
    t3lib_extMgm::addModulePath('tools_txmedbootstraptoolsM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    t3lib_extMgm::addModule('tools', 'txmedbootstraptoolsM1', 'top', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
}
Esempio n. 15
0
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/Examples/EverythingOn/', 'Apache Solr Example - Everything On');
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
Esempio n. 16
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE === 'BE') {
    t3lib_extMgm::addModulePath('web_list', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
    t3lib_extMgm::addModule('web', 'list', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
}
Esempio n. 17
0
<?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/');
}
Esempio n. 18
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    t3lib_extMgm::addModulePath('tools_txtaskcenterM1', t3lib_extMgm::extPath($_EXTKEY) . 'task/');
    t3lib_extMgm::addModule('user', 'task', 'top', t3lib_extMgm::extPath($_EXTKEY) . 'task/');
    $GLOBALS['TYPO3_CONF_VARS']['BE']['AJAX']['Taskcenter::saveCollapseState'] = 'EXT:taskcenter/classes/class.tx_taskcenter_status.php:tx_taskcenter_status->saveCollapseState';
    $GLOBALS['TYPO3_CONF_VARS']['BE']['AJAX']['Taskcenter::saveSortingState'] = 'EXT:taskcenter/classes/class.tx_taskcenter_status.php:tx_taskcenter_status->saveSortingState';
}