diff --git a/Configuration/PageTS/NewContentElementWizard.ts b/Configuration/PageTS/NewContentElementWizard.ts new file mode 100644 index 0000000000000000000000000000000000000000..bb84b3278cb4215231f005cdca798a8055382f17 --- /dev/null +++ b/Configuration/PageTS/NewContentElementWizard.ts @@ -0,0 +1,19 @@ +mod { + wizards.newContentElement.wizardItems.news { + header = LLL:EXT:sg_news/Resources/Private/Language/locallang.xlf:backend.licenceBannerTitle + elements { + overview { + title = LLL:EXT:sg_news/Resources/Private/Language/locallang.xlf:backend.licenceBannerTitle + description = LLL:EXT:sg_news/Resources/Private/Language/locallang.xlf:backend.licenceBannerTitle + tt_content_defValues { + CType = list + list_type = sgnews_overview + } + + } + + } + show = * + } + +} \ No newline at end of file diff --git a/ext_localconf.php b/ext_localconf.php index df0651991c0af706669a5b68ed195ec65b1d13fb..edf54356b714bb1dbfc41695424a0393de1f45c6 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -104,3 +104,8 @@ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/db_layout.php']['drawHeade // register command controllers $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = 'SGalinski\SgNews\Command\MigrateNewsCommandController'; + + +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig( + '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:sg_news/Configuration/PageTS/NewContentElementWizard.ts">' +); \ No newline at end of file