TSref/LOAD REGISTER
From TYPO3Wiki
| TypoScript Referenz - LOAD_REGISTER |
|
||||
[edit]
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 = |
}
