typo3-script-example

How to write TypoScript?
The very first thing you must know about Typo3 is "The heart of Typo3 system is it's template.". So you have to learn how to create templates first.(please go through other posts to learn how to create typo3 templates.)
Now I will explain a small piece of TypoScript. Which is used for template mapping and setting up your template and other configuration.
Example of typo script.
Config : bgColor= red
Setting : body bgcolor="{ $bgColor }"

No comments: