[Typo3] dynaflex : how to add a simple field

Ismael BIDAU bidau at ensci.com
Tue Oct 4 10:01:58 CEST 2005


I play with dynaflex because I need more control over my BE forms.

I understand how to add field in a flexform but I don't understand how to  
add a field in my TCA.
I tried :

$dynaFlexConf = array (
	0 => array (
	 	'path' => 'tx_events_list_etudiant_mm/columns',
		'parseXML' => false,
		'modifications' => array (
			array(
				'condition' => array (
					'if' => 'isEqual',
					'select' => 'type',
					'table' => 'tx_events_list e, tx_events_list_etudiant_mm ee',
					'where' => 'e.uid = ee.uid_local AND ee.uid = ###uid###',
					'compareTo' => '28',
				),
				'method' => 'add',
				'type' => 'field',
				'name' => 'commentaire',				
				'label' => 'commentaire',
					'config' => array (
						'type' => 'input',
					),
			),
		),
	),
)

But in output (TCA['tx_events_list_etudiant_mm']['columns']) I have
commentaire	TCEforms 	label : commentaire
				config : type	input

In my form I have a message : "Unknown type: "
Why do I have TCEforms ? What I miss ?
What the status of development of dynaflex ?

Thank a lot.

Ismaël BIDAU
http://www.ensci.com



More information about the TYPO3-english mailing list