[TYPO3-dev] dynaflex question

Sven Dörndorfer sven at doerndorfer.de
Thu Jul 13 10:04:00 CEST 2006


Hi list, hi Thomas,

With the following $DCA configuration I can create textarea fields:

array (
	'method' => 'add',
	'path' => 'ROOT/el',
	'type' => 'field',
	'field_config' => array (
		'name' => 'df_field_rte',
		'label' => 'myfirstdynaflexfield',
		'config' => array (
			'type' => 'text',
			'columns' => '30',
			'rows' => '5'
		)
	)
)

Is it somhow possible to create richtext fields as well? for example 
with this configuration:

'field_config' => array (
	'name' => 'df_field_rte',
	'label' => 'myfirstdynaflexfield',
	'config' => array (
		'type' => 'text',
		'columns' => '30',
		'rows' => '5'
	)
	'defaultExtras' => 'richtext[*]:rte_transform[mode=ts_css]',
)





More information about the TYPO3-dev mailing list