[TYPO3-english] Passing dynamic data to FLUIDTEMPLATE

Kay Strobach typo3 at kay-strobach.de
Fri Mar 30 19:03:31 CEST 2012


there is also a way to pass variables to partials -> features

Am 30.03.2012 15:39, schrieb Victor Livakovsky:
>> > Tried to make it this way:
>> > variables {
>> >    ccId = TEXT
>> >    ccId.value = 272
>> > }
>> > <f:cObject typoscriptObjectPath="lib.single_content" data="{ccId}" />
>> > but this code doesn't work.
>>
>> So, as I understand, it is not possible to pass TS objects to fluid?
> 
> Well, after two days of fighting I found, what was the reason: variables
> are NOT visible in partials. If I put variable into layout or into
> template, it is outputted, but not in partial!
> Don't know, is it a bug or a feature?
> TYPO3 4.6.4
> 
> I wonder, if it is mentioned in some documentation about Fluid?..


-- 
http://www.kay-strobach.de - Open Source Rocks

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

Answer was useful: https://flattr.com/profile/kaystrobach


More information about the TYPO3-english mailing list