[TYPO3-dev] How to group fields in TCEFORMS

Stefan Geith typo3dev2008.nospam1 at geithware.de
Thu May 28 10:16:03 CEST 2009


Steffen Kamper schrieb:
> 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;

Couldn't this be done also by this:
   --palette--;any Caption;3

/Stefan


> vg Steffen
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev






More information about the TYPO3-dev mailing list