How to display a "HELLO WORLD" statement with TypoScript.

"Hello World" with TypoScript

In every programming language you start to learn there would be a first sentence that you have to output to learn how the environment works.

Same think we are going to do here by displaying a "Hello World" statement with TypoScript.

Creating a TypoScript Hello World statement is pretty simple just adding some lines of code on TS config configuration.

If you are asking yourself where the typoscript code is located in the backend system ,I think this tutorial would be pretty helpfull. After watching that you can now start adding you code to the TS Setup field.

page = PAGE
page.10 = TEXT
page.10.value = Hello World

Description

At the first line we are creating a new object of the configuration object called PAGE (the object should always be written on capitals since typoscript is case sensitive).

After we have created the new object now we can create a new object at the possition 10 of the template. and then assing to that the value to "Hello World".

The positions are just parts of the main template where your code should be apeared.