Skip to content
Snippets Groups Projects
Commit 7e2db04d authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[BUGFIX] Fix author configuration (l10n issue and broken sgnews_author TCA)

parent 76f62883
No related branches found
No related tags found
No related merge requests found
......@@ -108,21 +108,16 @@ $columns = array_merge(
'l10n_exclude' => TRUE,
'label' => 'LLL:EXT:sg_news/Resources/Private/Language/locallang_db.xlf:pages.tx_sgnews_author',
'config' => [
'type' => 'select',
'type' => 'group',
'internal_type' => 'db',
'allowed' => 'fe_users',
'size' => 1,
'minitems' => 0,
'foreign_table' => 'fe_users',
'foreign_table_where' => 'ORDER BY fe_users.name',
'maxitems' => 1,
'items' => [
['', ''],
],
'wizards' => [
'edit' => [
'type' => 'popup',
'title' => 'Edit',
'module' => ['name' => 'wizard_edit'],
'icon' => 'edit2.gif',
'popup_onlyOpenIfSelected' => 1,
],
'suggest' => [
'type' => 'suggest',
],
......@@ -264,7 +259,7 @@ if (!\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('realurl')) {
$GLOBALS['TCA']['pages_language_overlay']['types'][116] = [
'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.standard;standard,
subtitle, description, tx_realurl_pathsegment,
subtitle, description, tx_realurl_pathsegment, author,
--div--;LLL:EXT:sg_news/Resources/Private/Language/locallang_db.xlf:pages.tabs.images,
tx_sgnews_teaser2_image, tx_sgnews_teaser1_image,
--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.tabs.metadata,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment