[TYPO3-dev] Problems using dynflex extension

Sven Dörndorfer usenet at doerndorfer.de
Thu Jun 22 09:25:38 CEST 2006


Hi List, hi Thomas,

I have a problem when using the dynaflex extension. When I create an 
image field (type='group' internal_type='file') in the $dca array, the 
image is save with full path and the thumb image is not created. There 
seems to be a problem with the uploadfolder.

here is my $dca configuration
'config' => array (
	'type' => 'group',
	'internal_type' => 'file',
	'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
	'max_size' => 1000',
	'uploadfolder' => 'uploads/pics',
	'size' => '4',
	'minitems' => '0',
	'maxitems' => '10',
	'show_thumbs' => '1',
)

the value in the flexform is:
/full_path_to_typo3/fileadmin/mypics/image.jpg

and the thumb points to
../uploads/pics//full_path_to_typo3/leadmin/mypics/image.jpg

Another problem I found when using the extension is the definition of 
the flexform field in $TCA.
When I use the following XML datastructure
<T3DataStructure>'
	<meta>
		<langDisable>1</langDisable>'
	</meta>
	<ROOT>
		<type>array</type>
			<el>
				<dummy></dummy>
			</el>
	</ROOT>
</T3DataStructure>

I get the following error when I save the form:
Fatal error: Cannot use string offset as an array in 
/full_path_to_typo3//typo3_src-4.0/t3lib/class.t3lib_tcemain.php on 
line 1973

But when I insert
<dummy>
	<TCEforms></TCEforms>
</dummy>

The it works fine.

Are there any dependencies for this extension? I just use a plain TYPO3 
4.0 installation.

Thanks and regards,
Sven





More information about the TYPO3-dev mailing list