[TYPO3-dev] edit and use all tables in backend forms with TCA

tapio tapio.markula at dnainternet.net
Wed Mar 8 20:04:54 CET 2006


Franz Holzinger wrote:
> Hello,
> 
> doesn't anyone have a opinion to the topic how to make all possible
> tables configurable in the backend?

You can reset all tables definition, which you are not
satisfied.

I redefined 'header_position'
because as default it didn't have 'exclude' => 1,'

		'header_position' => Array (
		  'exclude' => 1,		
			'label' => 'LLL:EXT:cms/locallang_ttc.php:header_position',
			'config' => Array (
				'type' => 'select',
				'items' => Array (
					Array('', ''),
					Array('LLL:EXT:cms/locallang_ttc.php:header_position.I.1', 'center'),
					Array('LLL:EXT:cms/locallang_ttc.php:header_position.I.2', 'right'),
					Array('LLL:EXT:cms/locallang_ttc.php:header_position.I.3', 'left')
				),
				'default' => ''
			)
		),

IMO only *very few* field should be such, which don't have 'exclude' => 1,'
For example IMO it is a bug that 'header_position' doesn't have it as 
default.




More information about the TYPO3-dev mailing list