Hi,
you may pass TS Objects to fluid with f:cObject, but the way back is
not known to me.
BUT you may create a custom viewHelper, which contains your cObject ;),
then you can pass whatever param you like :)
Regards
Kay
Am 30.03.2012 12:53, schrieb Victor Livakovsky:
Tried to make it this way:
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
Hi, Kay.
you may pass TS Objects to fluid with f:cObject, but the way back is
not known to me.
BUT you may create a custom viewHelper, which contains your cObject ;),
then you can pass whatever param you like :)
Thank you for the answer!
I recently found the reason of an issue - it is in my
You have to pass the variables as arguments to the partial:
f:render partial=Xyc/Properties arguments={myvar:myvalue} /
See: http://wiki.typo3.org/Fluid#f:render
Am 30.03.2012 15:39, schrieb Victor Livakovsky:
Tried to make it this way:
variables {
ccId = TEXT
ccId.value = 272
}
Hi, Sören
You have to pass the variables as arguments to the partial:
f:render partial=Xyc/Properties arguments={myvar:myvalue} /
See: http://wiki.typo3.org/Fluid#f:render
Ah! That was the missing brick in my Fluid knowledge's wall. Thank you so
much!
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,
Hi, lsit.
I'm developing a website with FLUIDTEMPLATE and would like to pass some
data, that comes from TS.
F.e.
I have following setup:
lib.single_content = RECORDS
lib.single_content.tables = tt_content
lib.single_content.source.current = 1
With such a line in my template content element is