Skip to content
Snippets Groups Projects
Commit 381d9b9a authored by Tim Wagner's avatar Tim Wagner
Browse files

[TASK] Allow to change news dates independently in translations

parent c00ac8f0
No related branches found
No related tags found
No related merge requests found
...@@ -314,6 +314,9 @@ call_user_func( ...@@ -314,6 +314,9 @@ call_user_func(
'max' => '20', 'max' => '20',
'eval' => 'datetime', 'eval' => 'datetime',
'default' => $GLOBALS['EXEC_TIME'], 'default' => $GLOBALS['EXEC_TIME'],
'behaviour' => [
'allowLanguageSynchronization' => TRUE,
]
] ]
], ],
'tx_sgnews_date_end' => [ 'tx_sgnews_date_end' => [
...@@ -325,6 +328,9 @@ call_user_func( ...@@ -325,6 +328,9 @@ call_user_func(
'max' => '20', 'max' => '20',
'eval' => 'datetime', 'eval' => 'datetime',
'default' => $GLOBALS['EXEC_TIME'], 'default' => $GLOBALS['EXEC_TIME'],
'behaviour' => [
'allowLanguageSynchronization' => TRUE,
]
] ]
], ],
'tx_sgnews_location' => [ 'tx_sgnews_location' => [
...@@ -398,7 +404,9 @@ call_user_func( ...@@ -398,7 +404,9 @@ call_user_func(
'tx_projectbase_seo_canonicaltag', 'tx_projectbase_seo_canonicaltag',
'hidden', 'hidden',
'sys_language_uid', 'sys_language_uid',
'tx_languagevisibility_visibility' 'tx_languagevisibility_visibility',
'lastUpdated',
'tx_sgnews_date_end',
]) ])
) { ) {
$GLOBALS['TCA'][$table]['types'][\SGalinski\SgNews\Utility\BackendNewsUtility::NEWS_DOKTYPE]['columnsOverrides'][$languageExcludeField]['l10n_mode'] = 'exclude'; $GLOBALS['TCA'][$table]['types'][\SGalinski\SgNews\Utility\BackendNewsUtility::NEWS_DOKTYPE]['columnsOverrides'][$languageExcludeField]['l10n_mode'] = 'exclude';
......
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