I have a Fluid template with this line of code:
<f:cObject typoscriptObjectPath="lib.psStadtDetail" data="{stadt}" />
And this bit of Typoscript to call a plugin:
lib.psStadtDetail = USER_INT
lib.psStadtDetail {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
pluginName = Pferdeservice
extensionName = Pferdeservice
vendorName = Pferdeservice
Controller = User
action = search
switchableControllerActions.User.1 = list
features < plugin.tx_pferdeservice.features
view < plugin.tx_pferdeservice.view
persistence < plugin.tx_pferdeservice.persistence
settings {
StaticZip < temp.psStadtZip
#StaticZip = 70173
}
}
Now, the settings for this plugin, specifically StaticZip should come from the Fluid template. But the data is not being transferred by temp.psStadtZip
temp.psStadtZip = COA
temp.psStadtZip {
10 = TEXT
10.value.current = 1
20 = TEXT
20.value.dataWrap = {field:plz}
}
When I output temp.psStadtZip only, I get the correct zip code.
Why can't I use this for the plugin settings? How do I accomplish this?
20.value.dataWrap = {field:plz}is not valid at all I see now. Use20.field = plzinstead - Paul Beck