There is a problem if both EXT:eventnews and EXT:news_filter are used together: both override $dataStructArray['sheets']['extraEntry'], so only one of them will show up. Code from EXT:news_filter/Classes/Hooks/FlexFormHook.php:
public function parseDataStructureByIdentifierPostProcess(array $dataStructure, array $identifier): array
{
if ($identifier['type'] === 'tca' && $identifier['tableName'] === 'tt_content' && $identifier['dataStructureKey'] === 'news_pi1,list') {
$file = PATH_site . self::PATH;
$content = file_get_contents($file);
if ($content) {
$dataStructure['sheets']['extraEntry'] = \TYPO3\CMS\Core\Utility\GeneralUtility::xml2array($content);
}
}
return $dataStructure;
}
In my case eventnews are already executed and $dataStructure['sheets']['extraEntry'] contains:
There is a problem if both
EXT:eventnews
andEXT:news_filter
are used together: both override$dataStructArray['sheets']['extraEntry']
, so only one of them will show up. Code fromEXT:news_filter/Classes/Hooks/FlexFormHook.php
:In my case
eventnews
are already executed and$dataStructure['sheets']['extraEntry']
contains:After the hook it contains: