Book Image

Mastering TypoScript: TYPO3 Website, Template, and Extension Development

Book Image

Mastering TypoScript: TYPO3 Website, Template, and Extension Development

Overview of this book

Free, open-source, flexible, and scalable, TYPO3 is one of the most powerful PHP content management systems. It is well suited for creating intranets and extranets for the enterprise. While providing an easy-to-use web interface for non-technical authors and editors of content, its messaging and workflow system enable shared authoring and collaboration. TYPO3 provides flexible and powerful interfaces for both content editors and administrators, giving them full control of the core aspects the system. However for developers who need to customize the system, TYPO3 offers a powerful configuration language called TypoScript. Good knowledge of TypoScript is really a prerequisite for implementing complex applications with TYPO3 and gives developers full control over the configuration of TYPO3 and its template engine. TypoScript enables the complete output template to be created and manipulated, giving you full control over the layout of the site. TypoScript also allows you to integrate dynamic contents, JavaScript-based menus, Flash, Graphics, etc. with ease. You have maximum control over the design of the website and can control all options that would otherwise be addressed by HTML-simple text output, formatting, and much more. TypoScript also allows you to generate graphics at run time and display different content dynamically.
Table of Contents (19 chapters)
Mastering TypoScript: TYPO3 Website, Template, and Extension Development
Credits
About the Author
Preface

The Info/Modify Tool


This is the all-purpose tool for working with TypoScript. You can get to it via Web | Template and the drop-down list on the top. It has several uses, and we will now look at these uses. (You have already seen some of them.)

It is not possible to create a new template for a page that already has a template, but it is possible to edit the existing template. You can either edit the entire dataset (Click here to edit whole template record) or edit individual fields. To do the latter, click on the pencil icon next to the relevant field.

Elements

The Info | Modify tool has a number of fields, which we will describe briefly.

Title

This field allows you to assign the template title. This title is only relevant to you and to the internal processes in TYPO3 since it is not displayed in the front end. Assigning titles is very useful when several templates are being used, but it is recommended in general as it makes things much clearer.

Sitetitle

In this field you set the page title...