Feature: #100218 - Improved TypoScript and page TSconfig modules

See forge#100218

Description

TYPO3 v12 comes with a rewritten TypoScript syntax parser. See Breaking: #97816 - TypoScript syntax changes and Feature: #97816 - TypoScript syntax improvements for more details on this.

The new parser allowed us to refactor the related backend modules along the way: While many of these have been done with earlier v12 releases already, v12.3 now finishes the basic feature set of these new and refactored modules.

This is a summary of these UI changes:

Frontend TypoScript

  • The well-known main module Web > Template has been renamed and moved, and can be found as Site Management > TypoScript.

  • "TypoScript records overview": This submodule was more hidden in previous versions. It gives an overview which page records have TypoScript template records.

  • "Constant Editor": This submodule is mainly kept as-is from previous versions.

  • "Edit TypoScript Record": This submodule was known as "Info / Modify" from previous versions. Its main functionality is kept.

  • "Active TypoScript": This submodule was known as "TypoScript Object Browser" in previous versions. The UI of this module received a major streamlining and gives a better overview of the compiled TypoScript on a page: The module now shows both "constants" and "setup" at the same time, gives more detail information, and the tree is quicker to navigate.

  • "Included TypoScript": This submodule was known as "Template Analyzer" in previous versions. Similar to "Active TypoScript", it shows "constants" and "setup" at the same time. It allows to simulate the effect of conditions to the include tree, and shows sub-includes from @import and similar as nodes within the tree. A basic syntax scanner finds broken TypoScript syntax snippets.

Page TSconfig

  • The previous submodule Web > Info > Page TSconfig has been heavily refactored and can be found as new main module Site Management > Page TSconfig.

  • The new page TSconfig module is similar in its look and feel to the TypoScript module.

  • "Page TSconfig Records": This submodule did not exist as such in previous versions and gives an overview which page records in the system contain page TSconfig settings.

  • "Active Page TSconfig": This is similar to "Active TypoScript" from the "TypoScript" module. It allows browsing current page TSconfig and allows simulating the effect of conditions.

  • "Included page TSconfig": This is similar to the "Included TypoScript" from the "TypoScript" module. It shows all source files and records that create the final page TSconfig of a page. A basic syntax scanner finds broken syntax snippets.

Impact

The refactored modules allow more fine grained analysis of page TSconfig and TypoScript.