[TYPO3-mvc] mm relation to foreign table static_countries does not work properly

Domi djgarms at gmail.com
Sun Jan 8 13:35:26 CET 2012


> How does your tca-configuration look like?

I havent touched the TCA for now, so it lookes like it got generated 
from extension_builder:

'countries' => array(
			'exclude' => 0,
			'config' => array(
				'type' => 'select',
				'foreign_table' => 'tx_myext_domain_model_country',
				'MM' => 'tx_myext_client_country_mm',
				'size' => 10,
				'autoSizeMax' => 30,
				'maxitems' => 9999,
				'multiple' => 0,
				'wizards' => array(
					'_PADDING' => 1,
					'_VERTICAL' => 1,
					'edit' => array(
						'type' => 'popup',
						'title' => 'Edit',
						'script' => 'wizard_edit.php',
						'icon' => 'edit2.gif',
						'popup_onlyOpenIfSelected' => 1,
						'JSopenParams' => 
'height=350,width=580,status=0,menubar=0,scrollbars=1',
						),
					'add' => Array(
						'type' => 'script',
						'title' => 'Create new',
						'icon' => 'add.gif',
						'params' => array(
							'table' => 'tx_myext_domain_model_country',
							'pid' => '###CURRENT_PID###',
							'setValue' => 'prepend'
							),
						'script' => 'wizard_add.php',
					),
				),
			),
		),

Thanks for your help,
Dominic


More information about the TYPO3-project-typo3v4mvc mailing list