[TYPO3-mvc] Typoscript View Helper

Fabien Udriot fudriot at omic.ch
Mon May 24 23:12:48 CEST 2010


Hi Niels,

Thanks for your reply. I was guessing something like that.

Cool! I have now a working example.

Fluid:
======
<f:cObject typoscriptObjectPath="lib.foo" data="{foo: 'it works'}" />

Typoscript:
===========
lib.foo = TEXT
lib.foo.wrap = <b>|</b>
lib.foo.data = field:foo

BTW, could you validate RFC http://forge.typo3.org/issues/show/7883? It would be nice to have your 
input.

Thanks,

Fabien

On 5/24/10 8:09 PM, Niels Pardon wrote:
> Hi Fabien!
>
> I did some work on this view helper. It's already there but now is
> called CObjectViewHelper.
>
> Greets,
>
> Niels
>
> Am 24.05.2010 19:20, schrieb Fabien Udriot:
>> Hello *,
>>
>> I had a look at the TODO list and noticed a TypoScript view helper is
>> planned.
>> http://forge.typo3.org/wiki/typo3v4-mvc/ToDo_Fluid
>>
>> Is there any progress done in this area?
>>
>> If I get it correctly, the idea would be to render values according to
>> some TypoScript.
>>
>> Syntax:
>> =======
>>
>> <f:ts typoscriptObjectPath="lib.foo">{foo}</ts>
>>
>> Let assume that:
>> ================
>>
>> 1. foo == Hello
>> 2. lib.foo = TEXT
>>     lib.foo.wrap = | World!
>>
>> The result would be:
>> ====================
>>
>> Hello World!
>>
>> Did I get it correctly?
>>
>> Fabien
>


More information about the TYPO3-project-typo3v4mvc mailing list