[TYPO3-templavoila] Different image for alternate language
Søren Schaffstein
soeren.schaffstein at media-lights.de
Mon Sep 11 16:00:20 CEST 2006
Hi!
I have set up a two language (german, english) site with TV. It has a
header image on every page which is defined in the DS (see bleow). This
works very well, but now a situation arose where there are different
images necessary for the german and eglish version.
In the DS
<langDisable>1</langDisable>
is set because the translated version of the site must exactly match the
default language.
Can I now specify a setting in the DS to allow another image in the
english version? (English version doesn't show the image field)
Setting for the image field:
<field_headerimage type="array">
<tx_templavoila type="array">
<title>Header Image</title>
<description>Map to header Image</description>
<sample_data type="array">
<numIndex index="0">[header image]</numIndex>
</sample_data>
<eType>imagefixed</eType>
<tags>img</tags>
<TypoScript>
10.source.postUserFunc = tx_kbtvcontslide_pi1->main
10.source.postUserFunc.field = field_headerimage
10.source.postUserFunc.collect = 0
10 = IMAGE
10.file.import = uploads/tx_templavoila/
10.file.import.postUserFunc = tx_kbtvcontslide_pi1->main
10.file.import.postUserFunc.field = field_headerimage
10.file.import.listNum = 0
10.file.maxW = 885
10.file.minW = 885
10.file.maxH = 150
10.file.minH = 150
</TypoScript>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>group</type>
<internal_type>file</internal_type>
<allowed>gif,png,jpg,jpeg</allowed>
<max_size>1000</max_size>
<uploadfolder>uploads/tx_templavoila</uploadfolder>
<show_thumbs>1</show_thumbs>
<size>1</size>
<maxitems>1</maxitems>
<minitems>0</minitems>
</config>
<label>Header Image</label>
</TCEforms>
</field_headerimage>
More information about the TYPO3-project-templavoila
mailing list