Book Image

TYPO3 Templates

By : Jeremy Greenawalt
Book Image

TYPO3 Templates

By: Jeremy Greenawalt

Overview of this book

<p>The template systems in TYPO3 make it one of the most powerful content management systems available today, but they seem too complex for many users. Site developers who are able to learn how to use them efficiently can build more extensible sites quicker and more customized for their users.</p> <p>This book is a step-by-step guide for building and customizing templates in TYPO3 using the best solutions<br />available. It takes the readers through one complete example to create a fully functional demonstration site using TypoScript, TemplaVoila, and other core TYPO3 technologies.</p> <p>This book starts with the basics of creating an example TYPO3 site before showing you how to add your own stylesheets and enhanced JavaScript to the template. You learn about the different types of menus and navigation, and you can try out each one with practical examples in the book. The book shows how to create multiple templates for sections or individual pages in TYPO3 and how you can make a new template completely from scratch for a newsletter. Just as importantly, you learn how to update the editing experience and impress your clients with a custom back-end. Finally, you will learn how to specialize for browsers and internationalize your TYPO3 site with simple template updates.</p>
Table of Contents (18 chapters)
TYPO3 Templates
Credits
About the Author
Acknowledgment
About the Reviewers
Preface
Index

Introducing text-based menus


The simplest type of menu is the text-based menu, TMENU, which displays the page titles of menu items as text links. It's the fastest, drop-in solution for any menu, and it's what TemplaVoila created by default. The big advantages for TMENU are speed and flexibility. It's the fastest to implement, but it's also the fastest menu object to render because it's not downloading any special graphics or complex layouts during the loading of our page.

It also means that your design is not tied to the TypoScript template, so you can do all your customization through CSS or even JavaScript libraries. If you're designing for CSS3-compatible browsers and you really know what you're doing, then you can build a very fast menu with custom fonts and effects that degrade gracefully across unsupported browsers without TypoScript. We are going to look at ways to integrate non-web fonts and complex graphic effects using TypoScript in this chapter because, for those who aren't CSS...