TSRef - TypoScript Reference
1.7.17. 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 | Example: (This sets "contentWidth", "label" and "head")
page.27 = LOAD_REGISTER page.27 { contentWidth = 500
label.field = header
head = some text head.wrap = <B> | </B> } |
|
[tsref:(cObject).LOAD_REGISTER]