[TYPO3-dev] dynaflex and xml_field
Sven Dörndorfer
sven at doerndorfer.de
Mon Jul 17 10:34:45 CEST 2006
Hi list, hi Thomas,
I have a question regarding the dynaflex extension:
I want to create multiple fields based on source_config with a field
inside the flexform. This is my DCA configuration:
array (
'method' => 'add',
'path' => 'ROOT/el',
'type' => 'field',
'field_config' => array (
'name' => 'count_xml',
'label' => 'XML Count',
'config' => array (
'type' => 'input'
)
)
),
array (
'method' => 'add',
'path' => 'ROOT/el',
'type' => 'fields',
'source' => 'field',
'source_type' => 'int',
'source_config' => array (
'table' => 'tx_dynaflextut_test',
'db_field' => 'flexdata',
'path' => 'ROOT/el',
'xml_field' => 'count_xml',
),
'field_config' => array (
'name' => 'field_xml_###FINDEX###',
'label' => 'XML Field ###FINDEX###',
'config' => array (
'type' => 'input'
)
)
)
If I use a database field (e.g. number) in source_config -> db_field,
than it works.
Any hints?
Thanks, Sven
More information about the TYPO3-dev
mailing list