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

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Tue Nov 17 00:30:02 CET 2009


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