Reserved top-level objects

temp

temp

This top-level object name is reserved.

The top-level object temp is used to store and copy TypoScript code during parse time.

temp is unset before the template is cached, objects in it can therefore not be referenced. Use lib for that purpose.

Example: Use the top-level object temp to copy code

EXT:my_sitepackage/Configuration/TypoScript/setup.typoscript
temp.some_content = TEXT
temp.some_content.value = Hello World!

// Output
// <h1>Hello World!</h1><p>Hello World!</p>
page = PAGE
page {
    10 < temp.some_content
    10.wrap = <h1>|</h1>

    20 < temp.some_content
    20.wrap = <p>|</p>
}
Copied!

lib

lib

This top-level object name is reserved.

The top-level object lib is used to store, copy and reference TypoScript code.

This top-level object is available after the template is cached, objects in it can therefore be referenced by using the operator <=. Just like with a temp object copying is also possible.

EXT:my_sitepackage/Configuration/TypoScript/setup.typoscript
lib.some_content = TEXT
lib.some_content.value = Hello World!

// Output
// <p>Hello World!</p><p>Hello World!</p>
page = PAGE
page {
    10 <= lib.some_content
    10.wrap = <h1>|</h1>

    20 <= lib.some_content
    20.wrap = <p>|</p>
}
Copied!

styles

styles

This top-level object name is reserved. It works just like temp. It is preserved for historic reasons, use temp instead.

tt_content

The top-level keyword tt_content is used to render content from the table tt_content.

resources

resources
Type
readonly

Resources in list (internal)

sitetitle

sitetitle
Type
readonly

SiteTitle (internal)