[TYPO3-templavoila] dam_image in BE

Joe Berger joe.berger at gmx.de
Mon Oct 25 23:06:32 CEST 2010


Hi Daniel,

thanks for your answer.It helped.:-)

Kind regards
Joe


>>> Daniel Calderini<daniel.calderini at wng.ch> schrieb am 25.10.2010 um 08:12
in
Nachricht
<mailman.1.1287987128.21746.typo3-project-templavoila at lists.typo3.org>:
> Hi Joe,
> 
> maybe you can try this:
> <preview>disable</preview>
> 
> Best regards
> Daniel
> 
> Le 23/10/2010 17:04  :
>> Hi,
>>
>> I'm using TYPO3 4.4 and TV from trunk. I have integrated a dam image
with
>> this xml:
>>
>>
>> 			<field_header_title type="array">
>> 				<tx_templavoila type="array">
>> 					<title>Titel in der Kopfzeile dt.</title>
>> 					<sample_data type="array">
>> 						<numIndex index="0"></numIndex>
>> 					</sample_data>
>> 					<eType>dam_image</eType>
>> 					<proc type="array">
>> 						<int>0</int>
>> 						<HSC>0</HSC>
>> 						<stdWrap></stdWrap>
>> 					</proc>
>> 					<preview></preview>
>> 					<eType_EXTRA type="array">
>> 						<refTable>pages</refTable>
>> 						<slide>2</slide>
>> 						<random>2</random>
>> 						<atIndex></atIndex>
>> 					</eType_EXTRA>
>> 					<TypoScript><![CDATA[20 = IMGTEXT
>> 20<  tt_content.image.20
>> 20.imgList.cObject.refTable = pages
>> 20.imgList.cObject.refField = field_header_title
>> 20.imgList.cObject.random = 0
>> 20.imgList.cObject.slide = ‑1
>> 20.imgList.cObject.numList = 1
>> 20.imgList.cObject.userFunc = tx_damtvc_tsfe‑>fetchFileList
>> ]]></TypoScript>
>> 					<TypoScript_constants type="array">
>> 						<table>pages</table>
>> 						<atIndex></atIndex>
>> 						<slide>0</slide>
>> 						<random>0</random>
>> 					</TypoScript_constants>
>> 				</tx_templavoila>
>> 				<TCEforms type="array">
>> 					<label></label>
>> 					<config type="array">
>> 						<form_type>user</form_type>
>>
						<userFunc><![CDATA[EXT:dam/lib/class.tx_dam_tcefunc.php:&tx_dam_tceFun

>> c‑>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_foreign_select type="integer">1</MM_foreign_select>
>> 						<MM_opposite_field>file_usage</MM_opposite_field>
>> 						<MM_match_fields type="array">
>> 							<ident>field_header_title</ident>
>> 						</MM_match_fields>
>>
						<allowed_types>gif,jpg,jpeg,tif,tiff,bmp,pcx,tga,png,pdf,ai</allowed_t

>> ypes>
>> 						<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>
>> 					</config>
>> 				</TCEforms>
>> 			</field_header_title>
>>
>>
>> Now the thumbnail is shown in the BE. I would like to hide it there ‑
so I
>> am very happy about any hint.
>>
>> Regards
>> Joe


More information about the TYPO3-project-templavoila mailing list