Zum Inhalt springen

Feld mit länge 65 definiert hat aber länge 80

Erstellt am 1. Juli 2008 · Noch keine Antworten

Tags: TCA, Frage

linajoy ·

Hallo,

kann sich das jemand erklären? habe ein Feld der Länge und Maximalen Länge von 65 Zeichen definiert, aber 80 Zeichen einzugeben ist gar kein Problem. *Grummel*

Inhalt der ext_tables.php:

if (!defined ('TYPO3_MODE')) 	die ('Access denied.');
$tempColumns = Array (
	"tx_lotitle_metatitle" => Array (		
		"exclude" => 0,		
		"label" => "LLL:EXT:lotitle/locallang_db.xml:pages.tx_lotitle_metatitle",		
		"config" => Array (
			"type" => "input",	
			"size" => "65",	
			"max" => "65",
		)
	),
[...]
);


t3lib_div::loadTCA("pages");
t3lib_extMgm::addTCAcolumns("pages",$tempColumns,1);
t3lib_extMgm::addToAllTCAtypes('pages', 'tx_lotitle_metatitle', t3lib_div::compat_version('4.2') ? '1' : '2', 'after:abstract');
[...]

Liebe Grüße Lina