Exemplo n.º 1
0
<?php

defined('TYPO3_MODE') or die;
TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('Markussom.sitemap_generator', 'Pi1', ['Sitemap' => 'list, googleNewsList']);
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = Markussom\SitemapGenerator\Command\TaskCommandController::class;
Exemplo n.º 2
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'Pi1', 'Gallery');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_pi1';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_pi1.xml');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Creative Gallery');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_creativegallery_domain_model_gallery', 'EXT:creativegallery/Resources/Private/Language/locallang_csh_tx_creativegallery_domain_model_gallery.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_creativegallery_domain_model_gallery');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_creativegallery_domain_model_sysfiletag', 'EXT:creativegallery/Resources/Private/Language/locallang_csh_tx_creativegallery_domain_model_sysfiletag.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_creativegallery_domain_model_sysfiletag');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable($_EXTKEY, 'tx_creativegallery_domain_model_gallery');
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
// plugin
TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('Ameos.' . $_EXTKEY, 'fe_filemanager', array('FileManager' => 'index, formFolder, formFile, createFolder, createFile, search, list, detail, deleteFolder, deleteFile'), array('FileManager' => 'index, formFolder, formFile, createFolder, createFile, search, list, detail, deleteFolder, deleteFile'));
TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('Ameos.' . $_EXTKEY, 'fe_filemanager_export', array('Export' => 'index,exportDownloads'), array('Export' => 'index, exportDownloads'));
TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('Ameos.' . $_EXTKEY, 'fe_filemanager_search', array('Search' => 'index'), array('Search' => 'index'));
// xclass
$TYPO3_CONF_VARS['SYS']['Objects']['TYPO3\\CMS\\Filelist\\FileList'] = array('className' => 'Ameos\\AmeosFilemanager\\XClass\\FileList');
Exemplo n.º 4
0
<?php

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