Translations
Info
All page names need to be in English.
en da  de  fr  it  ja  km  nl  ru  zh

TSref/LOAD REGISTER

From TYPO3Wiki
Jump to: navigation, search

TypoScript


LOAD_REGISTER

This provides a way to load the array $GLOBALS["TSFE"]->register[] with values. It doesn't return anything! The usefullness of this is, that some predefined configurations (like the page-content) can be used in various places but use different values as the values of the register can change during the page-rendering.

Property: Data type: Description: Default:
Array...

[fieldname]

string /stdWrap

[tsref:(cObject).LOAD_REGISTER]

Example:
(This sets "contentWidth", "label" and "head")
page.27 = LOAD_REGISTER
page.27 {
 contentWidth = 500
 label.field = header
 head = some text
 head.wrap =  | 
}
Go to: typo3.org    
Login, and you can edit.
Personal tools
Namespaces

Variants
Actions