O'Reilly logo

TYPO3 Templates by Jeremy Greenawalt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding a banner

Okay, we're ready to start adding new sections for dynamic content to our template now. In order to add new content areas, we will have to start modifying the TemplaVoila data structure and template objects. For now, this is not much different from using the TemplaVoila Wizard that we used in Chapter 1. We are going to add new areas to the HTML file for mapping and use the backend interface to add elements to TemplaVoila, so that we can update fields with page properties or TypoScript in the future. For our first new element, we are going to add a banner to our example template.

Adding space for the banner to our HTML file

Before we modify the TemplaVoila data structure, we're going to add a div enclosure for the banner to our original ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required