diff --git a/Classes/Hooks/CreateSiteConfigurationHook.php b/Classes/Hooks/CreateSiteConfigurationHook.php new file mode 100644 index 00000000..01b0b10e --- /dev/null +++ b/Classes/Hooks/CreateSiteConfigurationHook.php @@ -0,0 +1,25 @@ +drawHeader'; } +/*************** + * Overwrite create site configuration hook to include blog pages + */ +$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][\TYPO3\CMS\Core\Hooks\CreateSiteConfiguration::class] + = \T3G\AgencyPack\Blog\Hooks\CreateSiteConfigurationHook::class; + call_user_func(function () { \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( 'T3G.AgencyPack.Blog',