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

Creating a mobile subtemplate

We've updated the CSS and TypoScript objects for our mobile version, but sometimes we might need to change the actual HTML for our mobile website. Using TemplaVoila, we will create a new template object for mobile devices just like we created a subtemplate for the printable version of our main template.

Adding a new option to our subtemplate pages

First, we need to setup a "rendering type" for our mobile template objects to show up in the TemplaVoila editing pages for subtemplates. In Chapter 5, we saw that TemplaVoila let us choose "Printer friendly" as a type of rendering when we created our printable template. Out of the box, that is the only type of rendering that TemplaVoila lets us choose, but we can update our ...

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