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

Publishing Multiple Versions


It is a waste to publish a website only in the normal HTML format. TYPO3 also allows you to generate a PDF and a print version for each page.

Offering a PDF Version

You have to change some settings in the TYPO3 installation in order to dynamically generate PDF documents.

Installing HTMLDoc under Linux

A basic requirement for generating PDF documents is HTMLDoc. It transforms HTML-markup and other code to the PDF format. HTMLDoc can be used in Windows and Linux; you can download the respective packets from http://www.htmldoc.org/software.php. We will describe how to install HTMLDoc on a Linux system in this section.

After you have downloaded the file, copy it to the respective server and unpack the archive.

~ tar xvfz htmldoc-1.9.x-r1514.tar.gz

You may possibly have to modify the version number. Then go to the newly created directory:

~ cd htmldoc-1.9.x-r1514

Now pass the target directory to .configure/ and you are ready to install HTMLDoc:

./configure -?prefix=/Your...