Hallo
Ich versuche vergeblich eine Klasse , also <div class="field_day_number"></div> um ein Element zu wrappen.
Das XML sieht so aus
<t3datastructure>
<meta type="array" />
<langchildren type="integer">1</langchildren>
<langdisable type="integer">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>
<tags></tags>
<sample_data type="array">
<numindex index="0"></numindex>
</sample_data>
<etype>input</etype>
</tx_templavoila>
<type>array</type>
<el type="array">
<field_package type="array">
<tx_templavoila type="array">
<title>Package Description</title>
<sample_data type="array">
<numindex index="0"></numindex>
</sample_data>
<etype>ce</etype>
<typoscript>
10 = RECORDS
10.source.current=1
10.tables = tt_content
</typoscript>
<oldstylecolumnnumber type="integer">0</oldstylecolumnnumber>
</tx_templavoila>
<tceforms type="array">
<config type="array">
<type>group</type>
<internal_type>db</internal_type>
<allowed>tt_content</allowed>
<size>5</size>
<maxitems>200</maxitems>
<minitems>0</minitems>
<multiple>1</multiple>
<show_thumbs>1</show_thumbs>
</config>
<label>Package Description</label>
</tceforms>
</field_package>
<field_package_section type="array">
<type>array</type>
<section>1</section>
<tx_templavoila type="array">
<title>Section </title>
<etype>input</etype>
</tx_templavoila>
<el type="array">
<field_package_section_container type="array">
<type>array</type>
<tx_templavoila type="array">
<title>Package Section</title>
<etype>input</etype>
</tx_templavoila>
<el type="array">
<field_package_day type="array">
<tx_templavoila type="array">
<title>Itinery Day</title>
<sample_data type="array">
<numindex index="0"></numindex>
</sample_data>
<etype>ce</etype>
<typoscript>
<![CDATA[
20 = COA
20.10 = RECORDS
2010.source.current=1
20.10.tables = tt_content
20.20.wrap = <div class="field_day_number">|</div>
]]>
</typoscript>
<oldstylecolumnnumber type="integer">0</oldstylecolumnnumber>
</tx_templavoila>
<tceforms type="array">
<config type="array">
<type>group</type>
<internal_type>db</internal_type>
<allowed>tt_content</allowed>
<size>5</size>
<maxitems>200</maxitems>
<minitems>0</minitems>
<multiple>1</multiple>
<show_thumbs>1</show_thumbs>
</config>
<label>Itinery Day</label>
</tceforms>
</field_package_day>
<field_day_number type="array">
<type>attr</type>
<tx_templavoila type="array">
<title>Day Number</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>Day Number</label>
</tceforms>
</field_day_number>
</el>
</field_package_section_container>
</el>
</field_package_section>
</el>
<section>1</section>
</root>
</t3datastructure>
Wichtig sind die Zeilen
<![CDATA[
20 = COA
20 {
10= RECORDS
10.source.current=1
10.tables = tt_content
20.wrap = <div class="field_day_number">|</div>
}
]]>
Es geht aber nicht. Es wird nur der Record angezeigt und es wird nix gerappt.
any ideas?