Slide pages upwards to find default og:image, remove config

This commit is contained in:
Björn Fromme
2019-10-10 16:49:43 +02:00
parent e2289a5814
commit dfc6176f34
4 changed files with 56 additions and 32 deletions
+4 -1
View File
@@ -3,6 +3,10 @@
defined('TYPO3_MODE') or die();
call_user_func(function () {
if ($GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] !== '') {
$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] .= ',';
}
$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] .= 'og_image';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_eptheme_domain_model_slide');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_eptheme_domain_model_lineup');
@@ -17,5 +21,4 @@ call_user_func(function () {
['source' => 'EXT:ep_theme/Resources/Public/images/logo.svg']
);
}
});