TSRef - TypoScript Reference

7. Setup:

7.1.1. Toplevel objects:

Property:

Data type:

Description:

Default:

types

readonly

Types (internal)

type=99 reserved for plaintext display

 

resources

readonly

Resources in list (internal)

 

sitetitle

readonly

SiteTitle (internal)

 

config

->CONFIG

Global configuration.

These values are stored with cached pages which means they are also accessible when retrieving a cached page.

 

constants

->CONSTANTS

Site-specific constants, eg. a general email-adresse. These constants may be substituted in the text throughout the pages. The substitution is done by parseFunc. (Option: constants=1)

 

FEData

->FE_DATA

Here you can configure how data submitted from the front-end should be processed, which script and so on.

 

includeLibs

Array of strings

With this you can include php-files with function libraries for use in your includescript in TYPO3.

Please see the PAGE-object, which has the same property.

 

Other reserved TLO's:

 

plugin

tt_*

temp

styles

lib

_GIFBUILDER

 

These toplevel object names are reserved. That means you can risk static_templates to use them:

"plugin" is used for rendering of special content like boards, ecommerce solutions, guestbooks and so on. Normally set from static_templates. Please see separate description below!

"tt_*", eg tt_content (from "content (default)") is used to render content from tables.

"temp" and "styles" are used for conde-libraries you can copy during parse-time, but they are not saved with the template in cache. "temp" / "styles" are unset before the template is cached! Therefore use these names to store temporary data.

"lib" can be used for a "library" of code, you can reference in TypoScript (unlike "styles" which is unset)

 

...

PAGE

Start a new page

 

Example:

  page = PAGE
  page.typeNum = 1

 

Guidelines:

Good, general PAGE object names to use are such as:

page for the main page with content

frameset, frameset2 for framesets.

top, left, menu, right, bottom, border for top and menu frames etc.

This is just recommandations. Especially the name 'page' for the content bearing page is very common.

 

...

(whatever)

If a toplevel-object is not a PAGE-object it could be used as a temporary repository for setup. In this case you should use the "temp" or "styles" objects.

"tt_..." is normally used to define the setup of content-records. Eg. "tt_content" would be used for the tt_content-table as default. See the "CONTENT"-cObject

 

[tsref:(TLO)]


Valid XHTML 1.0!