From 0eab74d4eba591e6ee07cb0afba6373906a3979e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Tue, 5 Nov 2019 11:54:38 +0100 Subject: [PATCH] Enable yoast snippet on custom page types --- public/typo3conf/ext/ep_events/ext_localconf.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/typo3conf/ext/ep_events/ext_localconf.php b/public/typo3conf/ext/ep_events/ext_localconf.php index 8cdfe167..c4cbcb50 100644 --- a/public/typo3conf/ext/ep_events/ext_localconf.php +++ b/public/typo3conf/ext/ep_events/ext_localconf.php @@ -3,6 +3,8 @@ defined('TYPO3_MODE') or die(); $GLOBALS['TYPO3_CONF_VARS']['LOG']['TYPO3']['CMS']['deprecations']['writerConfiguration'][\TYPO3\CMS\Core\Log\LogLevel::NOTICE] = []; +$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['yoast_seo']['allowedDoktypes']['ep_category'] = 101; +$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['yoast_seo']['allowedDoktypes']['ep_offer'] = 102; call_user_func(function() {