Loads TypoScript files from file system, based on current Page
  • PHP 98.1%
  • Nix 1.9%
Find a file
Daniel Siepmann (Codappix) cc1660c2f7
Add PHP Attributes
In order to benefit from the Override feature of PHP.
2026-05-06 13:52:52 +02:00
.forgejo/workflows Streamline CI 2026-02-04 13:29:09 +01:00
Classes Add PHP Attributes 2026-05-06 13:52:52 +02:00
Configuration Add initial state of extension 2025-06-25 09:50:25 +02:00
Tests Add PHP Attributes 2026-05-06 13:52:52 +02:00
.gitattributes Streamline CI 2026-02-04 13:29:09 +01: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.md Migrate to Forgejo 2025-10-23 16:38:54 +02:00
shell.nix Add PHP Attributes 2026-05-06 13:52:52 +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.