[TYPO3] TS: userfunc with result of select

Boris Degenhardt degenhardt at visor3000.com
Thu Sep 4 18:06:38 CEST 2008


Hi,
after reading some Stuff i do understand that i can get the content of 
an CONTENT Element through cObjGetSingle, but for me its not clear how 
to pass it trough my TS, how do the TS look like??

Best Regards
Boris


Boris Degenhardt schrieb:
> Hey!
> One last, can you give me also an example how to pass the value please, 
> im sorry im not yet good in Typoscriptprogramming...
> 
> Regards
> Boris
> 
> Dmitry Dulepov [typo3] schrieb:
>> Hi!
>>
>> Boris Degenhardt wrote:
>>> thx alot for you answer, but can you give me a little bit mor details.
>>> What else than COA?
>>
>> COA is for combining output of several object. You need to replace:
>>
>> temp.v3User = COA
>> temp.v3User {
>>    10 = TEMPLATE
>>    10.template = FILE
>> with:
>>
>> temp.v3User = TEMPLATE
>> temp.v3User {
>>     template = FILE
>> And so on.
>>
>>> What do i get out of tslib_cObj::cObjGetSingle?
>>
>> What you pass, that you get :) If you pass "temp.startUser", you will 
>> get whatever this TS object produces. For example:
>>
>> lib.text = TEXT
>> lib.text.value = Hello!
>>
>> Passing it to cObjGetSingle will return "Hello!".
>>


More information about the TYPO3-english mailing list