[Typo3] config: type=>"group", internal_type=> "file" ? how to get full path to file?

René Schade schade at hypergenic.com
Mon May 9 14:00:31 CEST 2005


Hi,

Im working on an extension, one of my table-entries is an uploaded XML file.

Using config: type=>"group", internal_type=> "file", sems almost to do the job, except for one thing. The selected file is not stored with the full path, only "filename.xml" is stored in the db.

Part of my tca.php
---

"xmlfile" => Array (		
			"exclude" => 0,		
			"label" => "LLL:EXT:webnize/locallang_db.php:tx_webnize_metro.xmlfile",		
			"config" => Array (
				"type" => "group",
				"internal_type" => "file",
				"allowed" => "xml",	
				"disallowed" => "php,php3",	
				"max_size" => 500,	
				"uploadfolder" => "uploads/tx_webnize",
				"size" => 1,	
				"minitems" => 0,
				"maxitems" => 1,
			)
		),

---

Does anyone have a fix to that?

Regards,
René Schade



More information about the TYPO3-english mailing list