|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
|
<T3DataStructure>
|
|
<meta type="array">
|
|
<langDisable>1</langDisable>
|
|
</meta>
|
|
<ROOT type="array">
|
|
<tx_templavoila type="array">
|
|
<title>ROOT</title>
|
|
<description>Select the HTML element on the page which you want to be the overall container element for the template.</description>
|
|
</tx_templavoila>
|
|
<type>array</type>
|
|
<el type="array">
|
|
<field_projectcontainer type="array">
|
|
<type>array</type>
|
|
<section>1</section>
|
|
<tx_templavoila type="array">
|
|
<title>Project section container</title>
|
|
<eType>input</eType>
|
|
</tx_templavoila>
|
|
<el type="array">
|
|
<field_project type="array">
|
|
<type>array</type>
|
|
<tx_templavoila type="array">
|
|
<title>Project</title>
|
|
<eType>input</eType>
|
|
</tx_templavoila>
|
|
<el type="array">
|
|
<field_title type="array">
|
|
<tx_templavoila type="array">
|
|
<title>Project Title</title>
|
|
<sample_data type="array">
|
|
<numIndex index="0"></numIndex>
|
|
</sample_data>
|
|
<eType>input</eType>
|
|
<proc type="array">
|
|
<HSC type="integer">1</HSC>
|
|
</proc>
|
|
</tx_templavoila>
|
|
<TCEforms type="array">
|
|
<config type="array">
|
|
<type>input</type>
|
|
<size>48</size>
|
|
<eval>trim</eval>
|
|
</config>
|
|
<label>Project Title</label>
|
|
</TCEforms>
|
|
</field_title>
|
|
<field_subtitle type="array">
|
|
<tx_templavoila type="array">
|
|
<title>Project Subtitle</title>
|
|
<sample_data type="array">
|
|
<numIndex index="0"></numIndex>
|
|
</sample_data>
|
|
<eType>input</eType>
|
|
<proc type="array">
|
|
<HSC type="integer">1</HSC>
|
|
</proc>
|
|
</tx_templavoila>
|
|
<TCEforms type="array">
|
|
<config type="array">
|
|
<type>input</type>
|
|
<size>48</size>
|
|
<eval>trim</eval>
|
|
</config>
|
|
<label>Project Subtitle</label>
|
|
</TCEforms>
|
|
</field_subtitle>
|
|
<field_bodytext type="array">
|
|
<tx_templavoila type="array">
|
|
<title>Project Text</title>
|
|
<sample_data type="array">
|
|
<numIndex index="0"></numIndex>
|
|
</sample_data>
|
|
<eType>text</eType>
|
|
<proc type="array">
|
|
<HSC type="integer">1</HSC>
|
|
<stdWrap>
|
|
br=1
|
|
</stdWrap>
|
|
</proc>
|
|
</tx_templavoila>
|
|
<TCEforms type="array">
|
|
<config type="array">
|
|
<type>text</type>
|
|
<cols>48</cols>
|
|
<rows>5</rows>
|
|
</config>
|
|
<label>Project Text (max. 414 chars)</label>
|
|
</TCEforms>
|
|
</field_bodytext>
|
|
<field_imagecontainer type="array">
|
|
<type>array</type>
|
|
<section>1</section>
|
|
<tx_templavoila type="array">
|
|
<title>Image section container</title>
|
|
<eType>input</eType>
|
|
</tx_templavoila>
|
|
<el type="array">
|
|
<field_image type="array">
|
|
<type>array</type>
|
|
<tx_templavoila type="array">
|
|
<title>Image Element</title>
|
|
<eType>input</eType>
|
|
</tx_templavoila>
|
|
<el type="array">
|
|
<field_imagefile type="array">
|
|
<tx_templavoila type="array">
|
|
<title>Image</title>
|
|
<sample_data type="array">
|
|
<numIndex index="0"></numIndex>
|
|
</sample_data>
|
|
<eType>image</eType>
|
|
<TypoScript>
|
|
<![CDATA[
|
|
30 = LOAD_REGISTER
|
|
30.image.cObject = IMG_RESOURCE
|
|
30.image.cObject {
|
|
file.import = uploads/tx_templavoila/
|
|
file.import.current = 1
|
|
file.import.listNum = 0
|
|
file.maxW = 400
|
|
file.maxH = 300
|
|
}
|
|
|
|
35 = LOAD_REGISTER
|
|
35.text.cObject = TEXT
|
|
35.text.cObject.data = field:field_text
|
|
35.text.cObject.stdWrap.rawUrlEncode = 1
|
|
|
|
40 = LOAD_REGISTER
|
|
40.images.cObject = TEXT
|
|
40.images.cObject.value (
|
|
{register:images}
|
|
"<image>" +
|
|
"<file>{register:image}</file>" +
|
|
"<caption>{register:text}</caption>" +
|
|
"</image>" +
|
|
)
|
|
40.images.cObject.stdWrap.insertData = 1
|
|
]]>
|
|
</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>Image</label>
|
|
</TCEforms>
|
|
</field_imagefile>
|
|
<field_text type="array">
|
|
<tx_templavoila type="array">
|
|
<title>Image Text</title>
|
|
<sample_data type="array">
|
|
<numIndex index="0"></numIndex>
|
|
</sample_data>
|
|
<eType>text</eType>
|
|
<proc type="array">
|
|
<HSC type="integer">1</HSC>
|
|
|
|
</proc>
|
|
</tx_templavoila>
|
|
<TCEforms type="array">
|
|
<config type="array">
|
|
<type>text</type>
|
|
<cols>48</cols>
|
|
<rows>5</rows>
|
|
</config>
|
|
<label>Image Text (max. 400 chars)</label>
|
|
</TCEforms>
|
|
</field_text>
|
|
</el>
|
|
</field_image>
|
|
</el>
|
|
</field_imagecontainer>
|
|
<field_imagecounter type="array">
|
|
<tx_templavoila type="array">
|
|
<title>Image Counter</title>
|
|
<sample_data type="array">
|
|
<numIndex index="0"></numIndex>
|
|
</sample_data>
|
|
<eType>none</eType>
|
|
<TypoScript><![CDATA[
|
|
5 = LOAD_REGISTER
|
|
5.title.cObject = TEXT
|
|
5.title.cObject.data = field:field_title
|
|
5.title.cObject.stdWrap.rawUrlEncode = 1
|
|
|
|
6 = LOAD_REGISTER
|
|
6.subtitle.cObject = TEXT
|
|
6.subtitle.cObject.data = field:field_subtitle
|
|
6.subtitle.cObject.stdWrap.rawUrlEncode = 1
|
|
|
|
10 = LOAD_REGISTER
|
|
10.bodytext.cObject = TEXT
|
|
10.bodytext.cObject.data = field:field_bodytext
|
|
10.bodytext.cObject.stdWrap.rawUrlEncode = 1
|
|
|
|
30 = LOAD_REGISTER
|
|
30.xmlData.cObject = TEXT
|
|
30.xmlData.cObject.value (
|
|
{register:xmlData}
|
|
"<project>" +
|
|
"<title>{register:title}</title>" +
|
|
"<subtitle>{register:subtitle}</subtitle>" +
|
|
"<description>{register:bodytext}</description>" +
|
|
"<images>" + {register:images} "</images>" +
|
|
"<project>" +
|
|
)
|
|
30.xmlData.cObject.stdWrap.insertData = 1
|
|
|
|
]]></TypoScript>
|
|
</tx_templavoila>
|
|
</field_imagecounter>
|
|
|
|
</el>
|
|
</field_project>
|
|
</el>
|
|
</field_projectcontainer>
|
|
<field_js type="array">
|
|
<tx_templavoila type="array">
|
|
<title>JS</title>
|
|
<sample_data type="array">
|
|
<numIndex index="0"></numIndex>
|
|
</sample_data>
|
|
<eType>none</eType>
|
|
<TypoScript><![CDATA[
|
|
|
|
10=TEXT
|
|
10.insertData = 1
|
|
10.value (
|
|
<div class="flash_gallery" id="flashcontent_{register:tx_templavoila_pi1.parentRec.uid}">
|
|
<script type="text/javascript">
|
|
var params = new Object();
|
|
params.wmode = "transparent";
|
|
|
|
var flashvars = new Object();
|
|
flashvars.xmlData = "" +
|
|
"<projects>" + {register:xmlData} "</projects>";
|
|
|
|
swfobject.embedSWF("fileadmin/templates/swf/BildLaufleiste_02.swf", "flashcontent_{register:tx_templavoila_pi1.parentRec.uid}", "701", "478", "9.0.28", "", flashvars, params);
|
|
</script>
|
|
</div>
|
|
)
|
|
|
|
]]></TypoScript>
|
|
</tx_templavoila>
|
|
</field_js>
|
|
</el>
|
|
</ROOT>
|
|
</T3DataStructure>
|