TYPO3 Upgrade
Preparation
Project root == Document root
- Create a folder (e.g.
public
) - Move folders and files into
public
- fileadmin
- uploads
<?php | |
namespace Vendor\Extension\User; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; | |
class SignedStorageFolders | |
{ | |
public function getSignedStorageFolders(string $content, array $config): string | |
{ | |
$pidList = $config['pidList']; |
<?php | |
declare(strict_types = 1); | |
namespace Vendor\Extension\Command; | |
use Symfony\Component\Console\Command\Command; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Output\OutputInterface; | |
use TYPO3\CMS\Core\Core\Environment; | |
use TYPO3\CMS\Core\Database\Connection; | |
use TYPO3\CMS\Core\Database\ConnectionPool; |
<?php | |
namespace Vendor\ExtensionName\ViewHelpers\Format; | |
use TYPO3\CMS\Core\Context\Context; | |
use TYPO3\CMS\Core\Site\SiteFinder; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; | |
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface; | |
class NumberViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Format\NumberViewHelper | |
{ |
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['formDataGroup']['flexFormSegment'][\TYPO3\CMS\Backend\Form\FormDataProvider\PageTsConfig::class] = []; | |
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['formDataGroup']['flexFormSegment'][\TYPO3\CMS\Backend\Form\FormDataProvider\PageTsConfigMerged::class] = [ | |
'depends' => [ | |
\TYPO3\CMS\Backend\Form\FormDataProvider\PageTsConfig::class, | |
] | |
]; | |
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['formDataGroup']['flexFormSegment'][\TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowDefaultValues::class] = [ | |
'depends' => [ | |
\TYPO3\CMS\Backend\Form\FormDataProvider\PageTsConfigMerged::class | |
] |
definitions: | |
caches: | |
composer: vendor/ | |
node: frontend/node_modules | |
steps: | |
- step: &composer | |
name: "Install project via composer" | |
image: composer:2 | |
caches: | |
- composer |
public
)public
<?php | |
namespace Vendor\Package\EventListener; | |
/* | |
* This file is part of a TYPO3 extension. | |
* | |
* It is free software; you can redistribute it and/or modify it under | |
* the terms of the GNU General Public License, either version 2 | |
* of the License, or any later version. | |
* |
?ajaxsearch=1&q=<search-term>
APIVersion: v1.13.1 | |
name: typo3.org | |
type: typo3 | |
docroot: public | |
php_version: "7.4" | |
webserver_type: nginx-fpm | |
router_http_port: "80" | |
router_https_port: "443" | |
xdebug_enabled: false | |
additional_hostnames: [] |
<?php | |
namespace Vendor\ExtensionName\Slot; | |
/* | |
* This file is part of a TYPO3 extension. | |
* | |
* It is free software; you can redistribute it and/or modify it under | |
* the terms of the GNU General Public License, either version 2 | |
* of the License, or any later version. | |
* |