[TYPO3-templavoila] how to wrap each element of a content element

Michael Kellner mik at kleinerChemiker.net
Mon Dec 1 18:26:43 CET 2008


			<field_box_right type="array">
				<tx_templavoila type="array">
					<title>rechte Box</title>
					<description>Mappe das Element
auf das HTML element, das die rechte Box enthält.</description>
					<sample_data type="array">
						<numdex
index="0">[Rechte Box]</numdex>
					</sample_data>
					<eType>ce</eType>
					<TypoScript><![CDATA[
	10= RECORDS
	10.source.current=1
	10.tables = tt_content
	10.stdWrap.required = 1
	10.stdWrap.wrap = <!--TYPO3SEARCH_begin--><div id="box_right">
| </div><!--TYPO3SEARCH_end--> 
                    ]]></TypoScript>
					<oldStyleColumnNumber
type="integer">1</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>rechte Box</label>
				</TCEforms>
			</field_box_right>


This is the code of a content element of my page. If I have severel
elements in this content element, they are wraped all together. But I
would like to wrap each element with the <div>. How could I do that?

tia

MIK


More information about the TYPO3-project-templavoila mailing list