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

GMENU_FOLDOUT


The foldout menu is a combination of a graphical menu and a JavaScript menu. When the top menu level is clicked, the second level slowly unfolds downwards. Do not use this type of menu if you want to make your site accessible to older browsers; but with new browsers it looks great. GMENU_FOLDOUT menus work with Opera 5, Netscape 4, and Internet Explorer from version 4 onwards.

The first level has to be a GMENU. The second level can either be a GMENU or a TMENU.

The following somewhat bulkier script generates the menu shown in the figure on the previous page. An explanation of each of the properties is given after the script.

includeLibs.gmenu_foldout = media/scripts/gmenu_foldout.php
page.10.marks.MENU = HMENU
page.10.marks.MENU.1 = GMENU_FOLDOUT
page.10.marks.MENU.1.expAll=1
page.10.marks.MENU.1.NO {
backColor = #ffffff
XY = 200, 20
10 = TEXT
10.text.field = title
10.fontFace = fileadmin/verdana.ttf
10.fontSize = 12
10.offset = 5,15
wrap = | <br />
}
page.10.marks...