Attention

TYPO3 v6 has reached its end-of-life April 18th, 2017 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.

There is no further ELTS support. It is strongly recommended updating your project.

Introduction

What is to be rendered on a page in the frontend, the menu structure, how content objects are displayed, etc. can be defined with TypoScript - often it is used in combination with the Fluid templating engine.

This document is a reference, used to lookup TypoScript templating basic data types, object types, functions and conditions. This reference is not intended to give you a full introduction into the topic TypoScript.

TypoScript can have 2 meanings:

  • TypoScript syntax is used in TypoScript templates and in TSconfig

  • TypoScript templates are used to configure the TYPO3 frontend rendering.

Additionally, in TypoScript templates, you must differentiate between

  • TypoScript constants (using the TypoScript constant syntax)

  • and Typoscript setup

Though TypoScript does include "functions" and "objects" and "conditions" it is not a programming language. Think of it more as a configuration language. The results of the TypoScript setup are used to build a PHP array.

Basically think of TypoScript as a means to "configure" the frontend, while TSconfig is used to configure the backend (with a few exceptions to this principle)

Please read the following for an introduction: