[TYPO3-templavoila] Section with two containers - how to map?
Steffen Kamper
info at sk-typo3.de
Thu Mar 5 01:17:58 CET 2009
Hi,
i want to use a section with 2 containers, so i have the possibility of
choice for adding elements
Here is an example XML:
<el>
<sectionContainer>
<section>1</section>
<type>array</type>
<el>
<container1>
<type>array</type>
<tx_templavoila>
<title>Container 1</title>
</tx_templavoila>
<el>
<sectionTitle>
<title>my title</title>
<TCEforms>
<label>Title</label>
<config>
<type>input</type>
<size>30</size>
<max>60</max>
</config>
</TCEforms>
</sectionTitle>
</el>
</container1>
<container2>
<type>array</type>
<tx_templavoila>
<title>Container 2</title>
</tx_templavoila>
<el>
<sectionText>
<tx_templavoila>
<title>Single Textfield</title>
</tx_templavoila>
<TCEforms>
<label>Text</label>
<config>
<type>text</type>
<cols>60</cols>
<rows>5</rows>
</config>
<defaultExtras>richtext:rte_transform[flag=rte_enabled|mode=ts_css]</defaultExtras>
</TCEforms>
</sectionText>
</el>
</container2>
</el>
</sectionContainer>
</el>
This works, but i don't know how to map container1 and container2 - in
HTML there is only one container where the content should be placed, and
mapping to the same container isn't possible.
Any tip how i can do this?
vg Steffen
More information about the TYPO3-project-templavoila
mailing list