[TYPO3-dev] Flexform with type user (userFunc)

Peter Klein pmk at io.dk
Tue Nov 17 09:47:16 CET 2009


Hi Thomas.

Take a look at this example I posted on the TemplaVoila newsgroup last 
month.
http://lists.typo3.org/pipermail/typo3-project-templavoila/2009-October/004298.html

--
Peter Klein

"Thomas "Thasmo" Deinhamer" <thasmo at gmail.com> wrote in message 
news:mailman.1.1258414243.25663.typo3-dev at lists.typo3.org...
> Good evening!
>
> In the TCA (tca.php) it is possible to define
> something like this:
>
> 'field' => array (
> 'label' => 'This is the label',
> 'config' => array(
> 'type' => 'user',
> 'userFunc' => 'user_Class->method',
> ),
> )
>
>
> Trying something inside a flexform configuration
> seems not to work, nothing is returned when using this:
>
> <field>
> <ROOT>
> <TCEforms>
> <sheetTitle>This is the label</sheetTitle>
> </TCEforms>
> <type>array</type>
> <el>
> <score>
> <type>user</type>
> <userFunc>user_Class->method</userFunc>
> </score>
> </el>
> </ROOT>
> </field>
>
> Can something be achieved in some way? I would like to define
> a funtion to render a custom view of a field's value.
>
> Thanks for your help! 






More information about the TYPO3-dev mailing list