Einzelnen Beitrag anzeigen
  #1  
Alt 04.04.08, 16:05
lorrey lorrey ist offline
Forum Stammgast
 
Registriert seit: 13.11.06
Beiträge: 129

Wrap nur wenn Content Elements vorhanden sind?


Hi!

Wie bekomme ich bei "Content Elements" hin, dass er den Wrap nur macht wenn auch Inhaltsobjekte vorhanden sind, ansonsten soll er den kompletten Div entfernen!

Hat jemand ein Tipp??

Code:
			<content type="array">
				<tx_templavoila type="array">
					<title>Inhalt Kopfbereich </title>
					<sample_data type="array">
						<numIndex index="0"></numIndex>
					</sample_data>
					<eType>ce</eType>
					<TypoScript><![CDATA[
	10= RECORDS
	10.source.current=1
	10.tables = tt_content
	10.wrap = <div id="colspan-top"><!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end--></div>
                    ]]></TypoScript>
					<oldStyleColumnNumber type="integer">2</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>Inhalt Kopfbereich </label>
				</TCEforms>
			</content>

Besten Dank!

Geändert von lorrey (07.04.08 um 16:49 Uhr).
Mit Zitat antworten