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

Special Menus


So far the menus have reflected the actual page structures. Although menu items could be explicitly excluded, the structure was always retained. With the special property of HMENU you can also create other menu forms. You will learn about these in the next few pages. Since these menus are used only rarely, they are only discussed briefly here.

Next Page (Browse Menu)

If you really want your visitor to look at all of your pages, use the browse type of menu. This type of menu takes the visitor to either the next or the previous page. This menu has the following properties:

Property

Description

first/last

Refers to the first/last page of the current level.

index

Refers to the root page.

next / prev

Refers to the next/previous page.

nextsection / prevsection

Refers to the next/previous section.

up

Link to one level higher.

An example is:

page.10.marks.MENU = HMENU
page.10.marks.MENU.special = browse
page.10.marks.MENU.special{
items = prev | next
prev.fields...