[TYPO3-english] Cant change form generated by Typoscript with fluid variable

Laurin Schaller laurin.schaller at gmail.com
Thu Feb 9 12:18:08 CET 2017


Hi guys

So I'm using dataviewer to show datasets on generated pages. On each of those pages I'm generating a form with Typoscript. I'm trying to change the subject of the mail based on the name of that dataset. In my fluid template I have the name of that dataset as fluid variable. 

By using: <f:cObject typoscriptObjectPath="lib.test" data="{record.tourname}" currentValueKey="value" /> 

you can give the Typoscript object that value. If I have a normal Text object it works perfectly. So that would be:

test = TEXT
test {
    value.current = 1
    value.wrap = <p>Tour Name: |</p>
}

However if I try to give my FORM object that value it doesnt work. I tried it the same way like above:

subject = TEXT
subject {
    value.current = 1
    value.wrap = <p>Tour Name: |</p>
}

In the mail I received the pipe char is removed. So I guess the value is empty for whatever reason. Why is this happening?


More information about the TYPO3-english mailing list