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

Forms


Form fields

Field

Description

check

Checkbox

input

Single line input field

file

Field for file upload

hidden

Hidden input field

password

Password field

radio

Radio button

select

Selection box

submit

Submit button

textarea

Multi-line input field

badMess

If not all of the fields have been filled out, an appropriate message is displayed.

Syntax:

badMess = string

Example:

badMess = Please fill out all of the fields!

goodMess

Defines the message that is displayed when all of the fields have been filled out.

Syntax:

goodMess = string

Example:

goodMess = Thank you for your information

layout

Defines how the fields and the associated description are to be output. Possible markers are ###LABEL### and ###FIELD###.

Syntax:

layout = string

Example:

layout = <tr><td width="100">###LABEL###</td></tr><tr> <td width="100%" align="center">###FIELD###</td></tr>

target

Defines the value of the target attribute in the<form> tag.

Syntax:

target = string

Example:

target = _blank

redirect

Defines the page that the user gets sent to after he or she fills out the form.

Syntax:

redirect = int

Example:

redirect = 48

recipient

Defines the email address to which the content of the form should be sent.

Syntax:

recipient = string

Example:

recipient = [email protected]