Categories
TYPO3

Developing TYPO3 ViewHelper, that finds the root of page

Step 01 Create a PHP class & inherit from the TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper Path: MyExtension/Classes/ViewHelpers/FindRootOfPageViewHelper.php Step 02 Add the PHP trait TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic & the method renderStatic() Step 03 Prevent escaping of the ViewHelper output with the property $escapeOutput Step 04 Register the argument pageIdentifier inside initializeArguments() Step 05 Create function to find the root of page findRootOfPage() […]

Categories
TYPO3

Install TYPO3 12 with DDEV

Requirements Step 01 Create new folder TYPO3-12 Step 02 Configure a TYPO3 project with `public` document root, webserver Apache, PHP version 8.2 and database MariaDB 10.11 Step 03 Require all TYPO3 12 packages Step 04 Start the TYPO3 12 Step 05 Create TYPO3 file FIRST_INSTALL Step 06 Open TYPO3 12 Step 07 Go through the […]