Skip to content
Snippets Groups Projects
Commit bdf7f67a authored by Fabian Galinski's avatar Fabian Galinski :pouting_cat:
Browse files

[FEATUR€] Adds the author_email to the news tca.

parent 5d0e30eb
No related branches found
No related tags found
No related merge requests found
......@@ -244,7 +244,9 @@ $GLOBALS['TCA']['pages']['palettes']['titleDescriptionAndHighlightFlag'] = [
if (\SGalinski\SgNews\Utility\VersionUtility::isVersion870OrHigher()) {
$GLOBALS['TCA']['pages']['palettes']['editorialWithNewsAuthor'] = [
'showitem' => 'tx_sgnews_author;LLL:EXT:sg_news/Resources/Private/Language/locallang_db.xlf:pages.tx_sgnews_author.inPalette,
--linebreak--,
author;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.author_formlabel,
author_email;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.author_email_formlabel,
--linebreak--, lastUpdated;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.lastUpdated_formlabel,
tx_sgnews_likes,--linebreak--,tx_sgnews_location',
'canNotCollapse' => 1,
......@@ -333,7 +335,9 @@ if (\SGalinski\SgNews\Utility\VersionUtility::isVersion870OrHigher()) {
} else {
$GLOBALS['TCA']['pages']['palettes']['editorialWithNewsAuthor'] = [
'showitem' => 'tx_sgnews_author;LLL:EXT:sg_news/Resources/Private/Language/locallang_db.xlf:pages.tx_sgnews_author.inPalette,
--linebreak--,
author;LLL:EXT:cms/locallang_tca.xlf:pages.author_formlabel,
author_email;LLL:EXT:cms/locallang_tca.xlf:pages.author_email_formlabel,
--linebreak--, lastUpdated;LLL:EXT:cms/locallang_tca.xlf:pages.lastUpdated_formlabel,
tx_sgnews_likes,--linebreak--,tx_sgnews_location',
'canNotCollapse' => 1,
......
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