Ejemplo n.º 1
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    \TYPO3\CMS\Core\Extension\ExtensionManager::addModule('web', 'ts', '', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'ts/');
}
Ejemplo n.º 2
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE === 'BE') {
    \TYPO3\CMS\Core\Extension\ExtensionManager::addModulePath('tools_install', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'mod/');
    \TYPO3\CMS\Core\Extension\ExtensionManager::addModule('tools', 'install', '', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'mod/');
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['typo3'][] = 'TYPO3\\CMS\\Install\\Report\\InstallStatusReport';
}
Ejemplo n.º 3
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    // Add module
    \TYPO3\CMS\Core\Extension\ExtensionManager::addModulePath('web_txrecyclerM1', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'mod1/');
    \TYPO3\CMS\Core\Extension\ExtensionManager::addModule('web', 'txrecyclerM1', '', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'mod1/');
}
Ejemplo n.º 4
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE === 'BE') {
    \TYPO3\CMS\Core\Extension\ExtensionManager::addModule('file', 'list', '', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'mod1/');
}
Ejemplo n.º 5
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    $opendocsPath = \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('opendocs');
    // Register toolbar item
    $GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems'][] = $opendocsPath . 'registerToolbarItem.php';
    // Register AJAX calls
    $GLOBALS['TYPO3_CONF_VARS']['BE']['AJAX']['OpendocsController::renderMenu'] = $opendocsPath . 'class.tx_opendocs.php:TYPO3\\CMS\\Opendocs\\Controller\\OpendocsController->renderAjax';
    $GLOBALS['TYPO3_CONF_VARS']['BE']['AJAX']['OpendocsController::closeDocument'] = $opendocsPath . 'class.tx_opendocs.php:TYPO3\\CMS\\Opendocs\\Controller\\OpendocsController->closeDocument';
    // Register update signal to update the number of open documents
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['updateSignalHook']['OpendocsController::updateNumber'] = $opendocsPath . 'class.tx_opendocs.php:TYPO3\\CMS\\Opendocs\\Controller\\OpendocsController->updateNumberOfOpenDocsHook';
    // Register menu module if option is wanted
    $_EXTCONF = unserialize($_EXTCONF);
    if ($_EXTCONF['enableModule']) {
        \TYPO3\CMS\Core\Extension\ExtensionManager::addModule('user', 'doc', 'after:ws', $opendocsPath . 'mod/');
    }
}
Ejemplo n.º 6
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    \TYPO3\CMS\Core\Extension\ExtensionManager::addModule('web', 'layout', 'top', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'layout/');
    \TYPO3\CMS\Core\Extension\ExtensionManager::addLLrefForTCAdescr('_MOD_web_layout', 'EXT:cms/locallang_csh_weblayout.xml');
    \TYPO3\CMS\Core\Extension\ExtensionManager::addLLrefForTCAdescr('_MOD_web_info', 'EXT:cms/locallang_csh_webinfo.xml');
    \TYPO3\CMS\Core\Extension\ExtensionManager::insertModuleFunction('web_info', 'tx_cms_webinfo_page', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'web_info/class.tx_cms_webinfo.php', 'LLL:EXT:cms/locallang_tca.xml:mod_tx_cms_webinfo_page');
    \TYPO3\CMS\Core\Extension\ExtensionManager::insertModuleFunction('web_info', 'tx_cms_webinfo_lang', \TYPO3\CMS\Core\Extension\ExtensionManager::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:
\TYPO3\CMS\Core\Extension\ExtensionManager::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,menu_type', 'dynamicConfigFile' => \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'tbl_tt_content.php', 'dividers2tabs' => 1, 'searchFields' => 'header,header_link,subheader,bodytext,pi_flexform'));
// fe_users
$TCA['fe_users'] = array('ctrl' => array('label' => 'username', 'default_sortby' => 'ORDER BY 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' => \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'tbl_cms.php', 'dividers2tabs' => 1, 'searchFields' => 'username,name,first_name,last_name,middle_name,address,telephone,fax,email,title,zip,city,country,company'), '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' => \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'tbl_cms.php', 'dividers2tabs' => 1, 'searchFields' => 'title,description'));
// 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' => \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'tbl_cms.php', 'searchFields' => 'domainName,redirectTo'));
// pages_language_overlay
$TCA['pages_language_overlay'] = array('ctrl' => array('label' => 'title', 'tstamp' => 'tstamp', 'title' => 'LLL:EXT:cms/locallang_tca.xml:pages_language_overlay', 'versioningWS' => TRUE, 'versioning_followPages' => TRUE, 'origUid' => 't3_origuid', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'transOrigPointerField' => 'pid', 'transOrigPointerTable' => 'pages', 'transOrigDiffSourceField' => 'l18n_diffsource', 'shadowColumnsForNewPlaceholders' => 'title', 'languageField' => 'sys_language_uid', 'mainpalette' => 1, 'dynamicConfigFile' => \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'tbl_cms.php', 'type' => 'doktype', 'typeicon_classes' => array('default' => 'mimetypes-x-content-page-language-overlay'), 'dividers2tabs' => TRUE, 'searchFields' => 'title,subtitle,nav_title,keywords,description,abstract,author,author_email,url'));
// sys_template
$TCA['sys_template'] = array('ctrl' => array('label' => 'title', 'tstamp' => 'tstamp', 'sortby' => 'sorting', 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xml:LGL.prependAtCopy', 'title' => 'LLL:EXT:cms/locallang_tca.xml:sys_template', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'delete' => 'deleted', 'adminOnly' => 1, 'iconfile' => 'template.gif', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'typeicon_column' => 'root', 'typeicon_classes' => array('default' => 'mimetypes-x-content-template-extension', '1' => 'mimetypes-x-content-template'), 'typeicons' => array('0' => 'template_add.gif'), 'dividers2tabs' => 1, 'dynamicConfigFile' => \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'tbl_cms.php', 'searchFields' => 'title,constants,config'));
// layouts
$TCA['backend_layout'] = array('ctrl' => array('title' => 'LLL:EXT:cms/locallang_tca.xml:backend_layout', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'sortby' => 'sorting', 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden'), 'dynamicConfigFile' => \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'tbl_cms.php', 'iconfile' => 'backend_layout.gif', 'selicon_field' => 'icon', 'selicon_field_path' => 'uploads/media', 'thumbnail' => 'resources'));
Ejemplo n.º 7
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    \TYPO3\CMS\Core\Extension\ExtensionManager::addModule('help', 'txtsconfighelpM1', '', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'mod1/');
}
Ejemplo n.º 8
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    \TYPO3\CMS\Core\Extension\ExtensionManager::addModule('user', 'setup', 'after:task', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'mod/');
    \TYPO3\CMS\Core\Extension\ExtensionManager::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' => 'TYPO3\\CMS\\Setup\\Controller\\SetupModuleController->renderLanguageSelect', 'label' => 'LLL:EXT:setup/mod/locallang.xml:language', 'csh' => 'language'), 'startModule' => array('type' => 'select', 'itemsProcFunc' => 'TYPO3\\CMS\\Setup\\Controller\\SetupModuleController->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'), 'edit_wideDocument' => array('type' => 'check', 'label' => 'LLL:EXT:setup/mod/locallang.xml:edit_wideDocument', 'csh' => 'edit_wideDocument'), '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'), 'showHiddenFilesAndFolders' => array('type' => 'check', 'label' => 'LLL:EXT:setup/mod/locallang.xml:showHiddenFilesAndFolders', 'csh' => 'showHiddenFilesAndFolders'), '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' => 'TYPO3\\CMS\\Setup\\Controller\\SetupModuleController->renderSimulateUserSelect', 'label' => 'LLL:EXT:setup/mod/locallang.xml:simulate', 'csh' => 'simuser'), 'resetConfiguration' => array('type' => 'button', 'label' => 'LLL:EXT:setup/mod/locallang.xml:resetConfiguration', 'buttonlabel' => 'LLL:EXT:setup/mod/locallang.xml:resetConfigurationShort', 'csh' => 'reset', 'onClick' => 'if (confirm(\'%s\')) { document.getElementById(\'setValuesToDefault\').value = 1; this.form.submit(); }', 'onClickLabels' => array('LLL:EXT:setup/mod/locallang.xml:setToStandardQuestion')), 'clearSessionVars' => array('type' => 'button', 'access' => 'admin', 'label' => 'LLL:EXT:setup/mod/locallang.xml:clearSessionVars', 'buttonlabel' => 'LLL:EXT:setup/mod/locallang.xml:clearSessionVarsShort', 'csh' => 'reset', 'onClick' => 'if (confirm(\'%s\')) { document.getElementById(\'clearSessionVars\').value = 1; this.form.submit(); }', 'onClickLabels' => array('LLL:EXT:setup/mod/locallang.xml:clearSessionVarsQuestion')), '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_Flexible' => array('type' => 'check', 'label' => 'LLL:EXT:setup/mod/locallang.xml:resizeTextareas_Flexible', 'csh' => 'resizeTextareas_Flexible'), 'resizeTextareas_MaxHeight' => array('type' => 'text', 'label' => 'LLL:EXT:setup/mod/locallang.xml:flexibleTextareas_MaxHeight', 'csh' => 'flexibleTextareas_MaxHeight'), 'debugInWindow' => array('type' => 'check', 'label' => 'LLL:EXT:setup/mod/locallang.xml:debugInWindow', 'access' => 'admin')), 'showitem' => '--div--;LLL:EXT:setup/mod/locallang.xml:personal_data,realName,email,emailMeAtLogin,password,password2,lang,
			--div--;LLL:EXT:setup/mod/locallang.xml:opening,startModule,thumbnailsByDefault,titleLen,
			--div--;LLL:EXT:setup/mod/locallang.xml:editFunctionsTab,edit_RTE,edit_wideDocument,edit_docModuleUpload,showHiddenFilesAndFolders,enableFlashUploader,resizeTextareas,resizeTextareas_Flexible,resizeTextareas_MaxHeight,copyLevels,recursiveDelete,resetConfiguration,clearSessionVars,
			--div--;LLL:EXT:setup/mod/locallang.xml:adminFunctions,simulate,debugInWindow');
Ejemplo n.º 9
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    \TYPO3\CMS\Core\Extension\ExtensionManager::addModule('help', 'cshmanual', 'top', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'mod/');
}
Ejemplo n.º 10
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    // Add module
    \TYPO3\CMS\Core\Extension\ExtensionManager::addModule('tools', 'txschedulerM1', '', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'mod1/');
    // Add context sensitive help (csh) to the backend module
    \TYPO3\CMS\Core\Extension\ExtensionManager::addLLrefForTCAdescr('_MOD_tools_txschedulerM1', 'EXT:' . $_EXTKEY . '/mod1/locallang_csh_scheduler.xml');
}
Ejemplo n.º 11
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    \TYPO3\CMS\Core\Extension\ExtensionManager::addModule('tools', 'dbint', '', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'dbint/');
    \TYPO3\CMS\Core\Extension\ExtensionManager::addModule('tools', 'config', '', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'config/');
}
Ejemplo n.º 12
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
    \TYPO3\CMS\Core\Extension\ExtensionManager::addModulePath('tools_txtaskcenterM1', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'task/');
    \TYPO3\CMS\Core\Extension\ExtensionManager::addModule('user', 'task', 'top', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'task/');
    $GLOBALS['TYPO3_CONF_VARS']['BE']['AJAX']['Taskcenter::saveCollapseState'] = 'EXT:taskcenter/Classes/class.tx_taskcenter_status.php:TYPO3\\CMS\\Taskcenter\\TaskStatus->saveCollapseState';
    $GLOBALS['TYPO3_CONF_VARS']['BE']['AJAX']['Taskcenter::saveSortingState'] = 'EXT:taskcenter/Classes/class.tx_taskcenter_status.php:TYPO3\\CMS\\Taskcenter\\TaskStatus->saveSortingState';
}
Ejemplo n.º 13
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
\TYPO3\CMS\Core\Extension\ExtensionManager::addPlugin(array('LLL:EXT:indexed_search/locallang.php:mod_indexed_search', $_EXTKEY));
\TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY] = 'layout,select_key,pages';
// Registers the Extbase plugin to be listed in the Backend.
if (\TYPO3\CMS\Core\Extension\ExtensionManager::isLoaded('extbase')) {
    $extensionName = \TYPO3\CMS\Core\Utility\GeneralUtility::underscoredToUpperCamelCase($_EXTKEY);
    \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'Pi2', 'Indexed Search (experimental)');
    $pluginSignature = strtolower($extensionName) . '_pi2';
    $TCA['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'layout,select_key,pages,recursive';
}
if (TYPO3_MODE == 'BE') {
    \TYPO3\CMS\Core\Extension\ExtensionManager::addModule('tools', 'isearch', 'after:log', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'mod/');
    \TYPO3\CMS\Core\Extension\ExtensionManager::insertModuleFunction('web_info', 'TYPO3\\CMS\\IndexedSearch\\Controller\\IndexedPagesController', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'modfunc1/class.tx_indexedsearch_modfunc1.php', 'LLL:EXT:indexed_search/locallang.php:mod_indexed_search');
    \TYPO3\CMS\Core\Extension\ExtensionManager::insertModuleFunction('web_info', 'TYPO3\\CMS\\IndexedSearch\\Controller\\IndexingStatisticsController', \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'modfunc2/class.tx_indexedsearch_modfunc2.php', 'LLL:EXT:indexed_search/locallang.php:mod2_indexed_search');
}
\TYPO3\CMS\Core\Extension\ExtensionManager::allowTableOnStandardPages('index_config');
\TYPO3\CMS\Core\Extension\ExtensionManager::addLLrefForTCAdescr('index_config', 'EXT:indexed_search/locallang_csh_indexcfg.xml');
$TCA['index_config'] = array('ctrl' => array('title' => 'LLL:EXT:indexed_search/locallang_db.php:index_config', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'type' => 'type', 'default_sortby' => 'ORDER BY crdate', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime'), 'dynamicConfigFile' => \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'tca.php', 'iconfile' => 'default.gif'), 'feInterface' => array('fe_admin_fieldList' => 'hidden, starttime, title, description, type, depth, table2index, alternative_source_pid, get_params, chashcalc, filepath, extensions'));