Sample

Configuration Array

$TCA = [
  'ctrl' => [
    'extensions' => [
      'xblog' => [
        'enabled' => true,
        'showUid' => 'newsUid',
        'plugins'   => [
          'pi17' => [
            'datefield' => 'datetime',
          ],
        ],
      ],
    ],
  ],
],

tx_org_news

If you like to extend any table of the TYPO3 database, please use an own file in TCA/Overrides like:

  • EXT:your-extension-key/Configuration/TCA/Overrides/tx_org_news.php
$GLOBALS['TCA'][tx_org_news]['ctrl']['extensions']['xblog']['enabled'] = 1;
$GLOBALS['TCA'][tx_org_news]['ctrl']['extensions']['xblog']['showUid'] = 'newsUid';
$GLOBALS['TCA'][tx_org_news]['ctrl']['extensions']['xblog']['plugins']['pi17']['datefield'] = 'datetime'