Using TypoScript¶
Predefine settings with TS¶
You may predefine some settings which are used in pw_teaser, unless it will be overwritten by plugin settings.
To do this, just write this in TypoScript setup:
plugin.tx_pwteaser.settings.[setting] = value
plugin.tx_pwteaser.view.[setting] = value
Hint
See the configuration Reference, which settings are available.
Using parsed TypoScript¶
You may use typoscript for aby pw_teaser setting.
For example:
plugin.tx_pwteaser.settings {
source = customPages
customPages = CONTENT
customPages {
table = pages
select {
pidInList = 1
recursive = 50
where = whatever=1337
}
renderObj = COA
renderObj.10 = TEXT
renderObj.10.field = uid
renderObj.10.wrap = | ,|*| ,| |*|
}
}
This example creates a comma-separated list for the setting "customPages". Unlikely to default Extbase behavior, the defined settings are parsed by TypoScript parser, before used in Extbase controller.