[TYPO3-dev] Inline form not shown

Thomas Mammitzsch thomas at visualworx.de
Mon Oct 25 13:40:29 CEST 2010


hi list,

i have some problem getting an inline form shown for my table (showing 
other tables inline is no problem). I just don't get the error. Would be 
great if anyone can give me a hint whats wrong!

Here is my ext_tables.sql:

#
# Table structure for table 'tx_test'
#

CREATE TABLE tx_test (
	uid int(11) NOT NULL auto_increment,
	pid int(11) DEFAULT '0' NOT NULL,

	title tinytext,
	fkey int(11) DEFAULT '0' NOT NULL,

	tstamp int(11) unsigned DEFAULT '0' NOT NULL,
	crdate int(11) unsigned DEFAULT '0' NOT NULL,
	deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
	hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
	cruser_id int(11) DEFAULT '0' NOT NULL,

	PRIMARY KEY (uid),
	KEY parent (pid)
);

here is my ext_tables.php:

t3lib_extMgm::allowTableOnStandardPages('tx_test');
$TCA['tx_test'] = array (
	'ctrl' => array (
		'title'                         => 'tx_test',
		'label' 			=> 'title',
                 'default_sortby'                => 'ORDER BY title',
		'tstamp' 			=> 'tstamp',
		'crdate' 			=> 'crdate',
             	'cruser_id'                     => 'cruser_id',
		'delete' 			=> 'deleted',
		'enablecolumns' 	=> array(
			'disabled' => 'hidden'
			),
		'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 
'Configuration/Tca.php',
	)
);

here is my Tca.php:

$TCA['tx_test'] = array(
	'ctrl' => $TCA['tx_test']['ctrl'],
	'interface' => array(
		'showRecordFieldList' => 'title,fkey'
	),
	'types' => array(
		'1' => array('showitem' => 'title,fkey')
	),
	'columns' => array(
		'hidden' => array(
			'exclude' => 1,
			'label'   => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
			'config'  => array(
				'type' => 'check'
			)
		),
		'title' => array(
			'exclude' => 0,
			'label'   => 'title',
			'config'  => array(
				'type' => 'input',
				'size' => 30,
				'eval' => 'required'
			)
		),
		'fkey' => Array (
			'exclude' => 0,
			'label'   => 'fkey',
			'config' => Array (
				'type' => 'input',
				'size' => 30,
				'eval' => ''
			)
		),
	),
);


regards, Thomas




More information about the TYPO3-dev mailing list