[TYPO3-mvc] Typoscript doesn't support stdWrap
Bastian Waidelich
bastian at typo3.org
Fri Oct 2 13:37:59 CEST 2009
Steffen Kamper wrote:
Hi Steffen,
> plugin.tx_myext.settings {
> id = TEXT
> id.data = TSFE:id
> }
settings is meant to be used as simple key-value collection and are not
parsed by default.
IIRC the reasons are:
1. to keep the layers separated (e.g. don't render a CObject in the
settings, but rather specify the TS object path*)
2. to pave the way to FLOW3 where you configure the plugin with YAML and
setup CObjects with TypoScript.
I'm not saying, that this is the right way but I think that was the
intension when it was decided not to parse the settings by default.
Could you quickly explain, where you make use of this id? Maybe we'll
find a way..
Greetings
Bastian
* like this for example:
plugin.tx_myext.settings.imageRenderer = lib.foobar
and then use a custom or the cObject view helper like:
<f:cObject
typoscriptObjectPath="{settings.imageRenderer}">{user.image}</f:cObject>
More information about the TYPO3-project-typo3v4mvc
mailing list