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
@@ -0,0 +1,21 @@
<?php
/*
* Copyright (c) 2021.
*
* @category TYPO3
*
* @copyright 2021 Dirk Persky (https://github.com/DirkPersky)
* @author Dirk Persky <info@dp-wired.de>
* @license MIT
*/
defined('TYPO3_MODE') or die();
// Override icon
$GLOBALS['TCA']['pages']['columns']['module']['config']['items'][] = [
0 => 'LLL:EXT:dp_cookieconsent/Resources/Private/Language/locallang_be.xlf:cookie-folder',
1 => 'dpcookie',
2 => 'apps-cookie-folder-contains'
];
$GLOBALS['TCA']['pages']['ctrl']['typeicon_classes']['contains-dpcookie'] = 'apps-cookie-folder-contains';
@@ -0,0 +1,15 @@
<?php
/*
* Copyright (c) 2021.
*
* @category TYPO3
*
* @copyright 2021 Dirk Persky (https://github.com/DirkPersky)
* @author Dirk Persky <info@dp-wired.de>
* @license MIT
*/
defined('TYPO3_MODE') || die();
// Add Plugin Configs
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('dp_cookieconsent', 'Configuration/TypoScript', 'CookieConsent');
@@ -0,0 +1,43 @@
<?php
/*
* Copyright (c) 2021.
*
* @category TYPO3
*
* @copyright 2021 Dirk Persky (https://github.com/DirkPersky)
* @author Dirk Persky <info@dp-wired.de>
* @license MIT
*/
defined('TYPO3_MODE') || die();
/**
* add Content Loading obj
*/
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'dp_cookieconsent',
'Pi1',
'LLL:EXT:dp_cookieconsent/Resources/Private/Language/locallang_db.xlf:tx_dpcookieconsent_ajax.title'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['dpcookieconsent_pi1'] = 'recursive,select_key,pages';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dpcookieconsent_pi1'] = 'pi_flexform';
// set Flexform for content loading
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'dpcookieconsent_pi1',
'FILE:EXT:dp_cookieconsent/Configuration/FlexForms/ConsentAjax.xml'
);
/**
* add Cookie list ob
*/
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'dp_cookieconsent',
'Pi2',
'LLL:EXT:dp_cookieconsent/Resources/Private/Language/locallang_db.xlf:tx_dpcookieconsent_cookie.title'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['dpcookieconsent_pi2'] = 'recursive,select_key,pages';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dpcookieconsent_pi2'] = 'pi_flexform';
// set Flexform for Cookie List
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'dpcookieconsent_pi2',
'FILE:EXT:dp_cookieconsent/Configuration/FlexForms/ConsentCookies.xml'
);