Project

General

Profile

Bug #25286 » fce.xml

Administrator Admin, 2011-03-09 10:36

 
<?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_title type="array">
<tx_templavoila type="array">
<title>Title</title>
<description><![CDATA[<h1 class="titel">...</h1>]]></description>
<sample_data type="array">
<numIndex index="0">Ich bin eine Titel</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>Title</label>
</TCEforms>
</field_title>
<field_subtitle type="array">
<tx_templavoila type="array">
<title>Subtitle</title>
<description><![CDATA[<h2 class="subtitle">...</h2> - wobei dieser Wrap per TS gesetzt wird]]></description>
<sample_data type="array">
<numIndex index="0">Ich bin ein Subtitle</numIndex>
</sample_data>
<eType>input</eType>
<TypoScript><![CDATA[
10 = TEXT
10.current = 1
10.required=1
10.wrap=<h2 class="subtitle">|</h2>
# Folgende Zeilen einkommentieren zum Debuggen
# 20 = TEXT
# 20.field = field_image_border
# 20.required=1
# 20.wrap=<h2>|</h2>
]]></TypoScript>
<proc type="array">
<HSC type="integer">0</HSC>
</proc>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>input</type>
<size>48</size>
<eval>trim</eval>
</config>
<label>Subtitle</label>
</TCEforms>
</field_subtitle>

<field_image type="array">
<tx_templavoila type="array">
<title>Bild</title>
<description><![CDATA[<p class="image"><img .../></p> - wobei dieser Wrap per TS gesetzt wird]]></description>
<sample_data type="array">
<numIndex index="0"><![CDATA[&lt;img src=&quot;test.gif&quot; /&gt;]]></numIndex>
</sample_data>
<eType>image</eType>
<TypoScript><![CDATA[
10 = COA
10.3 = TEXT
10.3 {
value=0
if.isTrue.field = field_image
}
10.3.value=<div class="image">
10.5 = TEXT
10.5 {
value = 0
if.isTrue.field = field_image_border
}
10.5.value=<div class="csc-image-border">
10.6 = TEXT
10.6 {
value = 1
if.isTrue.field = field_image_nofloat
}
10.6.value=<p class="nofloat">
10.10=IMAGE
10 {
10.altText.field = field_image_alttext
10.titleText.field = field_image_titletext
10.file.import = uploads/tx_templavoila/
10.file.import.current = 1
10.file.import.listNum = 0
10.file.width.field = field_image_width
10.file.height.field = field_image_height
10.file.maxW = 400
10.stdWrap.typolink.parameter.field = field_image_link
# Alle externen Links werden automatisch in einem neuen Fenster geöffnet:
10.stdWrap.typolink.extTarget = _blank
#10.stdWrap.required=1
#10.stdWrap.typolink.wrap=<p class="image">|</p>
}

10.14 = TEXT
10.14 {
value = 1
if.isTrue.field = field_image_nofloat
}
10.14.value=</p>

10.15 = TEXT
10.15 {
value = 0
if.isTrue.field = field_image_border
}
10.15.value=</div>
10.20 = TEXT
10.20 {
value=0
if.isTrue.field = field_image
}
10.20.value=</div>
]]>
</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>Bild</label>
</TCEforms>
</field_image>
<field_image_alttext type="array">
<tx_templavoila type="array">
<title>Image Alt-Text</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>40</size>
<default></default>
</config>
<label>Bild - Alt-Text</label>
</TCEforms>
</field_image_alttext>
<field_image_titletext type="array">
<tx_templavoila type="array">
<title>Image Title-Text</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>40</size>
<default></default>
</config>
<label>Bild - Titel-Text</label>
</TCEforms>
</field_image_titletext>

<field_image_link type="array">
<type>attr</type>
<tx_templavoila type="array">
<title>Image-Link</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>link</eType>
<TypoScript><![CDATA[
10 = TEXT
10.typolink.typolink.parameter.field = field_link]]>
</TypoScript>
<proc type="array">
<HSC type="integer">1</HSC>
</proc>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>input</type>
<size>15</size>
<max>256</max>
<checkbox></checkbox>
<eval>trim</eval>
<wizards type="array">
<_PADDING type="integer">2</_PADDING>
<link type="array">
<type>popup</type>
<title>Link</title>
<icon>link_popup.gif</icon>
<script>browse_links.php?mode=wizard</script>
<JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
</link>
</wizards>
</config>
<label>Bild - Link</label>
</TCEforms>
</field_image_link>

<field_image_height type="array">
<tx_templavoila type="array">
<title>height</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>4</size>
<eval>int</eval>
<checkbox>0</checkbox>
<range type="array">
<upper>400</upper>
<lower>0</lower>
</range>
<default>0</default>
</config>
<label>Bildhoehe</label>
</TCEforms>
</field_image_height>
<field_image_width type="array">
<tx_templavoila type="array">
<title>width</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>4</size>
<eval>int</eval>
<checkbox>0</checkbox>
<range type="array">
<upper>300</upper>
<lower>0</lower>
</range>
<default>0</default>
</config>
<label>Bildbreite</label>
</TCEforms>
</field_image_width>

<field_image_border type="array">
<tx_templavoila type="array">
<title>border</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>select</eType>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>select</type>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">Nein</numIndex>
<numIndex index="1">0</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">Ja</numIndex>
<numIndex index="1">1</numIndex>
</numIndex>
</items>
<default>0</default>
</config>
<label>Rahmen um Bild?</label>
</TCEforms>
</field_image_border>

<field_image_nofloat type="array">
<tx_templavoila type="array">
<title>nofloat</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>select</eType>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>select</type>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">Ja</numIndex>
<numIndex index="1">0</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">Nein</numIndex>
<numIndex index="1">1</numIndex>
</numIndex>
</items>
<default>0</default>
</config>
<label>Text um Bild fliessen lassen?</label>
</TCEforms>
</field_image_nofloat>


<field_text type="array">
<tx_templavoila type="array">
<title>Text</title>
<description><![CDATA[<p>...</p>]]></description>
<sample_data type="array">
<numIndex index="0">Ich bin ein Text</numIndex>
</sample_data>
<eType>rte</eType>
<TypoScript><![CDATA[
10 = COA
10.5 = TEXT
10.5 {
value = 1
if.isTrue.field = field_image_nofloat
}
10.5.value=<div class="nofloat">
10.10 = TEXT
10.10.current = 1
10.10.parseFunc = < lib.parseFunc_RTE
10.15 = TEXT
10.15 {
value = 1
if.isTrue.field = field_image_nofloat
}
10.15.value=</div>
]]></TypoScript>
<proc type="array">
<HSC type="integer">0</HSC>
</proc>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>text</type>
<cols>48</cols>
<rows>5</rows>
<softref>typolink_tag,images,email[subst],url</softref>
</config>
<label>Text</label>
<defaultExtras>richtext:rte_transform[flag=rte_enabled|mode=ts_css]</defaultExtras>
</TCEforms>
</field_text>
<field_link_segment type="array">
<type>array</type>
<section>1</section>
<tx_templavoila type="array">
<title>Container fuer alle Links</title>
<description><![CDATA[<div class="links">...</div>]]></description>
<eType>input</eType>
</tx_templavoila>
<el type="array">
<field_link type="array">
<type>array</type>
<tx_templavoila type="array">
<title>Einzelner Link</title>
<description><![CDATA[<div class="link">...</div>]]></description>
<eType>input</eType>
</tx_templavoila>
<el type="array">
<field_linktext type="array">
<tx_templavoila type="array">
<title>Linktext</title>
<description><![CDATA[<a>...</a>]]></description>
<sample_data type="array">
<numIndex index="0">Weiter geht's</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>Linktext</label>
</TCEforms>
</field_linktext>
<field_linknote type="array">
<tx_templavoila type="array">
<title>Linknote</title>
<description><![CDATA[<span class="linknote">...</span>]]></description>
<sample_data type="array">
<numIndex index="0">Link-Notiz</numIndex>
</sample_data>
<eType>input</eType>
<TypoScript><![CDATA[
10 = TEXT
10.current = 1
10.required=1
10.wrap = &nbsp;|
]]></TypoScript>
<proc type="array">
<HSC type="integer">0</HSC>
</proc>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>input</type>
<size>48</size>
<eval>trim</eval>
</config>
<label>Text nach Link</label>
</TCEforms>
</field_linknote>
<field_linkto type="array">
<type>attr</type>
<tx_templavoila type="array">
<title>Linkziel</title>
<description><![CDATA[src="..."]]></description>
<sample_data type="array">
<numIndex index="0">test.htm</numIndex>
</sample_data>
<eType>link</eType>
<TypoScript>
10 = TEXT
10.typolink.parameter.current = 1
10.typolink.returnLast = url
</TypoScript>
<proc type="array">
<HSC type="integer">1</HSC>
</proc>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>input</type>
<size>15</size>
<max>256</max>
<checkbox></checkbox>
<eval>trim</eval>
<wizards type="array">
<_PADDING type="integer">2</_PADDING>
<link type="array">
<type>popup</type>
<title>Link</title>
<icon>link_popup.gif</icon>
<script>browse_links.php?mode=wizard</script>
<JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
</link>
</wizards>
</config>
<label>Linkziel</label>
</TCEforms>
</field_linkto>
<field_linktarget type="array">
<type>attr</type>
<tx_templavoila type="array">
<title>Linktarget</title>
<description><![CDATA[target="..."]]></description>
<sample_data type="array">
<numIndex index="0">_blank</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, required</eval>-->
<eval>trim</eval>
<default>_top</default>
</config>
<label>Linktarget</label>
</TCEforms>
</field_linktarget>
<field_linktitle type="array">
<type>attr</type>
<tx_templavoila type="array">
<title>Link-Title</title>
<description><![CDATA[title="..."]]></description>
<sample_data type="array">
<numIndex index="0">huhu</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>Link-Title</label>
</TCEforms>
</field_linktitle>
</el>
</field_link>
</el>
</field_link_segment>
</el>
</ROOT>
</T3DataStructure>
    (1-1/1)