Commit b8575c97 authored by Andreas Nedbal's avatar Andreas Nedbal

Merge branch '352-missing-fe-users-field-in-news-type-0' into 'develop'

Resolve "Missing FE users Field in News type 0"

Closes #352

See merge request !244
parents 9a0bb90c 73e22b8b
Pipeline #5674 passed with stages
in 7 minutes and 42 seconds
......@@ -29,42 +29,9 @@ $GLOBALS['TCA']['tx_news_domain_model_news']['columns']['default_image'] = [
]
];
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
'tx_news_domain_model_news',
'author_fe_user',
'',
'before:author'
);
$GLOBALS['TCA']['tx_news_domain_model_news']['columns']['categories']['config']['minitems'] = 1;
$GLOBALS['TCA']['tx_news_domain_model_news']['types']['0'] = [
'showitem' => '
--palette--;;paletteCore,default_image,title,--palette--;;paletteSlug,teaser,
--palette--;;paletteDate,
bodytext;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:rte_enabled_formlabel,
--div--;' . $ll . 'tx_news_domain_model_news.content_elements,
content_elements,
--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.media,
fal_media,fal_related_files,
--div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
categories,
--div--;' . $ll . 'tx_news_domain_model_news.tabs.relations,
related,related_from,
related_links,tags,
--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.tabs.metadata,
--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.editorial;paletteAuthor,
--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.palettes.metatags;metatags,
--palette--;' . $ll . 'tx_news_domain_model_news.palettes.alternativeTitles;alternativeTitles,
--div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
--palette--;;paletteLanguage,
--div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
--palette--;;paletteHidden,
--palette--;;paletteAccess,
--div--;' . $ll . 'notes,
notes,
--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.tabs.extended,',
'columnsOverrides' => [
$GLOBALS['TCA']['tx_news_domain_model_news']['types']['0']['columnsOverrides'] = [
'fal_media' => [
'config' => [
'overrideChildTca' => [
......@@ -118,5 +85,11 @@ $GLOBALS['TCA']['tx_news_domain_model_news']['types']['0'] = [
],
],
],
],
];
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
'tx_news_domain_model_news',
'author_fe_user',
'',
'before:author'
);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment