[TYPO3-extbase-kickstarter] Add a blank item to the selector

Harald Hochwald hh at subotnik-music.com
Thu Feb 7 22:04:15 CET 2013


this one is not working

'l10n_parent' => array(
			'displayCond' => 'FIELD:sys_language_uid:>:0',
			'exclude' => 1,         
			'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
			'config' => array(
				'type' => 'select',
				'items' => array(
					array('kein Eintrag', 0), 
				),
				'foreign_table' => 'tx_schuledb_domain_model_fremdsprachen',
				'foreign_table_where' => 'AND tx_schuledb_domain_model_fremdsprachen.pid=###CURRENT_PID### AND tx_schuledb_domain_model_fremdsprachen.sys_language_uid IN (-1,0)',
			),
		),


Am 07.02.2013 um 21:33 schrieb Harald Hochwald:

> hi,
> i create a table with a n:1 relation to another one,
> is it possible to add a blank item to the selector box?
> tia
> Harald
> _______________________________________________
> TYPO3-project-extbase-kickstarter mailing list
> TYPO3-project-extbase-kickstarter at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-extbase-kickstarter



More information about the TYPO3-project-extbase-kickstarter mailing list