Initial commit - Typo3 11.5.41

This commit is contained in:
Matteo Gallo
2026-07-03 17:53:31 +02:00
commit 5ca4743197
6811 changed files with 568848 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?php
defined('TYPO3_MODE') or die();
// Override news icon
$GLOBALS['TCA']['pages']['columns']['module']['config']['items'][] = [
0 => 'LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:news-folder',
1 => 'news',
2 => 'apps-pagetree-folder-contains-news'
];
$GLOBALS['TCA']['pages']['columns']['module']['config']['items'][] = [
0 => 'LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:news-page',
1 => 'newsplugins',
2 => 'apps-pagetree-page-contains-news'
];
$GLOBALS['TCA']['pages']['ctrl']['typeicon_classes']['contains-newsplugins'] = 'apps-pagetree-page-contains-news';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerPageTSConfigFile(
'news',
'Configuration/TSconfig/Page/news_only.tsconfig',
'EXT:news :: Restrict pages to news records'
);