Skip to content

Commit

Permalink
[BUGFIX] Wrong path for Configuration/TCA/Overrides (see also fabarea#79
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Sefux committed Mar 7, 2024
1 parent 8ce286c commit e21c309
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?php

defined('TYPO3_MODE') or die();
defined('TYPO3') or die();

\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'rss_display',
'Pi1',
'Fetch and display a RSS feed'
);

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('rssdisplay_pi1', 'FILE:EXT:rss_display/Configuration/FlexForm/feed.xml');
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['rssdisplay_pi1'] = 'layout, select_key, pages, recursive';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['rssdisplay_pi1'] = 'pi_flexform';
Expand Down

0 comments on commit e21c309

Please sign in to comment.