Re: [TYPO3-english] Passing dynamic data to FLUIDTEMPLATE

2012-03-30 Thread Kay Strobach
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:

Re: [TYPO3-english] Passing dynamic data to FLUIDTEMPLATE

2012-03-30 Thread 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

Re: [TYPO3-english] Passing dynamic data to FLUIDTEMPLATE

2012-03-30 Thread Victor Livakovsky
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

Re: [TYPO3-english] Passing dynamic data to FLUIDTEMPLATE

2012-03-30 Thread Sören Kracker
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 }

Re: [TYPO3-english] Passing dynamic data to FLUIDTEMPLATE

2012-03-30 Thread Victor Livakovsky
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!

Re: [TYPO3-english] Passing dynamic data to FLUIDTEMPLATE

2012-03-30 Thread Kay Strobach
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,

[TYPO3-english] Passing dynamic data to FLUIDTEMPLATE

2012-03-29 Thread Victor Livakovsky
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