---
title: "Feature: #68315 - Include a pageTSconfig file in page properties like TS static templates"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-68315"
source: "Changelog/7.4/Feature-68315-IncludeAPageTSconfigFileInPagePropertiesLikeTSStaticTemplates.rst"
typo3-version: "7.4"
typo3-major: 7
type: "feature"
issue: 68315
forge: "https://forge.typo3.org/issues/68315"
tags: ["PHP-API", "TSConfig", "Backend"]
rendered: "2026-09-19T12:12:50+00:00"
---

# Feature: #68315 - Include a pageTSconfig file in page properties like TS static templates {#feature-68315}

See [forge#68315](https://forge.typo3.org/issues/68315)

## Description {#description}

In the Page properties an option is added to include a page TSconfig file (the same way as TypoScript static templates are included).
The included files from the pages in the rootline are included after the default page TSconfig and before the normal TSconfig
from the pages in the rootline.
To add files to the selector in the Page properties a new function `registerPageTSConfigFile` is added to
`TYPO3CMSCoreUtilityExtensionManagementUtility` to register a pageTSconfig file.

## Impact {#impact}

No effect on existing installations.

## Usage {#usage}

In `Configuration/TCA/Overrides/pages.php` of any extension, register PageTS config files, which will be shown afterwards at
the newly introduced field.

```php
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerPageTSConfigFile('extension_name', 'Configuration/PageTS/myPageTSconfigFile.txt', 'My special config');
```
