Loads TypoScript files from file system, based on current Page
Find a file
Daniel Siepmann (Codappix) 9ae5e51ca9 Add initial state of extension
This was copied and modified for publishing from one of our customer
projects.
2025-06-25 09:50:25 +02:00
.github/workflows Add initial state of extension 2025-06-25 09:50:25 +02:00
Classes Add initial state of extension 2025-06-25 09:50:25 +02:00
Configuration Add initial state of extension 2025-06-25 09:50:25 +02:00
Tests Add initial state of extension 2025-06-25 09:50:25 +02:00
.gitattributes Add initial state of extension 2025-06-25 09:50:25 +02:00
.gitignore Add initial state of extension 2025-06-25 09:50:25 +02:00
.php-cs-fixer.dist.php Add initial state of extension 2025-06-25 09:50:25 +02:00
CHANGELOG.md Add initial state of extension 2025-06-25 09:50:25 +02:00
composer.json Register at packagist (#2) 2025-06-25 09:28:07 +02:00
LICENSE Initial commit 2025-06-25 07:25:24 +02:00
phpstan-baseline.neon Add initial state of extension 2025-06-25 09:50:25 +02:00
phpstan.neon Add initial state of extension 2025-06-25 09:50:25 +02:00
phpunit.xml.dist Add initial state of extension 2025-06-25 09:50:25 +02:00
README.rst Add initial state of extension 2025-06-25 09:50:25 +02:00
shell.nix Add initial state of extension 2025-06-25 09:50:25 +02:00

Page specific TypoScript files for TYPO3

Hooks into TYPO3 system to load TypoScript files based on current TYPO3 page.

Why

There are a lot of legacy TYPO3 sites. Those often have multiple sys_template records, loading TypoScript on specific pages.

This prevents tools like fractor to migrate the TypoScript.

Also many developers consider it best practice to not maintain TypoScript or Page TSconfig within the database. Instead it should be in the file system, allowing version control and deployment.

Usage

Once installed, the extension will check the following locations, within any active TYPO3 extension and include found files if any:

TypoScript Setup:

Configuration/TypoScript/PageSpecific/<pageUid>/setup.typoscript

TypoScript Constants:

Configuration/TypoScript/PageSpecific/<pageUid>/constants.typoscript

Page TSconfig:

Configuration/TSconfig/PageSpecific/<pageUid>/Setup.tsconfig

TODO

  1. Implement use case for User TSconfig.