[TYPO3-templavoila] content not saved with dam_tv_connector

Ralf Heydenreich rheydenr at justmail.de
Thu May 3 20:36:44 CEST 2012


Hi all,
I'm using Templavoilà (1.7.0) with dam_tv_connector. I've mapped a field
which is displayed in the page properties, correctly. But if I choose an
image (it's an image field), after saving the page the field is empty.
If anyone has an idea what's wrong I would be pleased if you can let me
know it

For clarity, here's the complete entry from DS-XML:

<field_eyecatcher type="array">
	<tx_templavoila type="array">
		<title>Header-Bild</title>
		<description>Eyecatcher</description>
		<sample_data type="array">
			<numIndex index="0">img</numIndex>
		</sample_data>
		<eType>dam_image</eType>
		<tags>img</tags>
		<TypoScript><![CDATA[10 = IMGTEXT
10 < tt_content.image.20
10.imgList.cObject.refTable = {$table}
10.imgList.cObject.refField = field_eyecatcher
10.imgList.cObject.random   = {$random}
10.imgList.cObject.slide    = {$slide}
10.imgList.cObject.atIndex  = {$atIndex}
10.imgList.cObject.userFunc = tx_damtvc_tsfe->fetchFileList
]]></TypoScript>
		<proc type="array">
			<int>0</int>
			<HSC>0</HSC>
			<stdWrap></stdWrap>
		</proc>
		<preview></preview>
		<TypoScript_constants type="array">
			<table>pages</table>
			<atIndex>first</atIndex>
			<slide>0</slide>
			<random>0</random>
		</TypoScript_constants>
		<eType_EXTRA type="array">
			<slide>2</slide>
			<random>2</random>
			<refTable>pages</refTable>
			<atIndex>first</atIndex>
		</eType_EXTRA>
	</tx_templavoila>
	<TCEforms type="array">
		<label>Header-Bild</label>
		<config type="array">
			<form_type>user</form_type>
		
<userFunc><![CDATA[EXT:dam/lib/class.tx_dam_tcefunc.php:&tx_dam_tceFunc->getSingleField_typeMedia]]></userFunc>
			<type>group</type>
			<internal_type>db</internal_type>
			<allowed>tx_dam</allowed>
			<prepend_tname type="integer">1</prepend_tname>
			<MM>tx_dam_mm_ref</MM>
			<MM_opposite_field>file_usage</MM_opposite_field>
			<MM_match_fields type="array">
				<ident>field_eyecatcher</ident>
			</MM_match_fields>
		
<allowed_types>gif,jpg,jpeg,tif,tiff,bmp,pcx,tga,png,pdf,ai</allowed_types>
			<max_size>1000</max_size>
			<show_thumbs type="integer">1</show_thumbs>
			<size type="integer">5</size>
			<maxitems type="integer">200</maxitems>
			<minitems type="integer">0</minitems>
			<autoSizeMax type="integer">30</autoSizeMax>
			<softref>dam_mm_ref</softref>
		</config>
	</TCEforms>
</field_eyecatcher>


TIA,

Ralf.


More information about the TYPO3-project-templavoila mailing list