From 0947df8f2b66d4facdc0bee90658873c1bcab50d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ram=C3=B3n=20Schlosser?= Date: Mon, 15 Nov 2021 15:12:36 +0100 Subject: [PATCH] feat: remove extending of lib.doktypeName TypoScript for EXT:headless Since flexible_pages automatically adds new dokTypes to the headless TypoScript since v2.2 it is no longer necessary to add this individually. --- ext_localconf.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ext_localconf.php b/ext_localconf.php index d9163aa..4099be6 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -3,15 +3,6 @@ $init = function ($extKey) { $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['flexible_pages']['tx_flexiblepages_pagelist']['templates']['news'] = 'News'; - - if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('headless')) { - \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptSetup(' - lib.doktypeName { - 87 = TEXT - 87.value = News - } - '); - } }; $init(\ITplusX\FlexiblePages\Utilities\ExtensionConfigurationUtility::EXTKEY);