[Typo3] Config / TYPE: "group" - strange behaviour

René Schade schade at hypergenic.com
Thu May 19 10:19:09 CEST 2005


Hi,

I have a configuration, where I use the config / TYPE "group" field, and it looks like this:

		"pageid" => Array (		
			"exclude" => 0,		
			"label" => "LLL:EXT:webnize/locallang_db.php:tx_webnize_station.pageid",		
			"config" => Array (
				"type" => "group",	
				"internal_type" => "db",	
				"allowed" => "pages",	
				"size" => 1,	
				"minitems" => 0,
				"maxitems" => 1,
			)
		),

According to the "CORE API", p. 103 "Example - reference to another page", is it possible for me here to store exactly one reference to another page (due to maxitems=1). But, I am able to add several references!! (adding reference number two shows a tiny scrollbar). Having two references, I am not allowed to save the page - fine, but still, this is very confusing for the user (except from the tiny scrollbar, you don't know you have two references in a single input-field).

Why not just automatically remove the first reference, when adding the second?

Is there a workaround?

Regards,
René






More information about the TYPO3-english mailing list