[TYPO3-english] TCA 'type' => 'select' only shows one select field

Mark Kuiphuis spam at markyourweb.com
Sun Dec 11 02:57:03 CET 2011


This code snippet is only generating one select field, where I can only select 1 
field. However, the examples I found in doc_core_tca (page 53) and in the German 
book: Zukunftssichere TYPO3-Extensions mit Extbase und Fluid (page 136) have code 
similar to my snippet below and appartenly they are showing 2 selector boxes, one 
with "Selected Items" and "Available Items"...

'agency' => array(
	'exclude' => 0,
	'label' => 'Certification Agency',
	'config' => array(
		'type' => 'select',
		'size' =>	'5',
		'minItems' => 1,
		'maxItems' => 9999,
		'autoSizeMax' => 5,
		'foreign_table' => 'tx_myext_domain_model_certificationagency',
		'foreign_table_where' => 'ORDER BY tx_myext_domain_model_certificationagency.name',
		'MM' => 'tx_myext_agency_level_mm'
	),
)

I've checked the example "blog_example" as well....but can't understand why I only 
get one select field, where I can't select multiple values...

I'm using TYPO3 4.6.1, so is it possible that this behaviour has changed, but has not 
been updated in the doc_core_tca? If so, what type do you recommend to 'sort of' 
reproduce the same behaviour....

Thanks in advance,

Mark Kuiphuis


More information about the TYPO3-english mailing list