[TYPO3-dev] How to group fields in TCEFORMS

Steffen Kamper info at sk-typo3.de
Thu May 28 09:55:40 CEST 2009


Hi,

you might wanted to do the same - group fields using a palette in 
TCEFORMS. But palettes are done having one field as "parent".

Here is a trick without having a parent field:

1) in TCA define a field without having a db field:
'wrapper1' => Array (
	'label' => 'any Caption',
	'config' => Array (
		'type' => 'user',
	),
),

in palettes do the grouping of the fields like
'3' => array('showitem' => 'staff_count, staff_scientists, 
staff_assistants', 'canNotCollapse' => 1),

in showfield use it like
wrapper1;;3;

that's it, hope it helps some of you.

vg Steffen




More information about the TYPO3-dev mailing list