TypoScript Coding Guidelines¶
Directory and File Names¶
The file extension should be
TypoScript files are located in the directory
File name for constants in static templates:
File name for TypoScript in static templates:
More information about the file ending:
TypoScript files used to have the ending
It is also possible to use the ending
.ts. This is not recommended because it is also used by TypeScript.
Therefore, you should use
Changelog: Feature: #78161 - Introduce .typoscript file extension
Use spaces, not TABs.
Use 2 spaces per indenting level.
See Setup IDE / Editor in this manual for information about setting up your Editor / IDE to adhere to the coding guidelines.