[TYPO3-german] TV: Wrap um alle Content Elements

Joscha Feth joscha at feth.com
Sun Jun 17 21:32:19 CEST 2007


Hallo Sebastian,

> Sorry, ich stehe noch auf dem Schlauch, bin leider noch nicht so fit in
> TV. Mein Content-Bereich ist so definiert:

[...]

Das in das Local Processing-Feld:

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3DataStructure>
	<ROOT type="array">
		<el type="array">
			<field_content type="array">
				<tx_templavoila type="array">
					<TypoScript>
					<![CDATA[
					10 < lib.myWrappedContent
				        ]]>
					</TypoScript>
				</tx_templavoila>
			</field_content >
		</el>
	</ROOT>
</T3DataStructure>


Das da in dein Root-Template:

lib.myWrappedContent = RECORDS
lib.myWrappedContent {
	source.current = 1
	tables = tt_content
	wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
}

und in deinem Ext-Template z.B.:

lib.myWrappedContent.wrap = <!--TYPO3SEARCH_begin--> ex|tra
<!--TYPO3SEARCH_end-->


> Ich habe ja keinen TypoScriptObjectPath, über den ich den
> Content-Bereich ansprechen kann. Wenn ich einen einfüge, also z.B.:
> <TypoScriptObjPath>lib.content</TypoScriptObjPath>
> dann funktioniert die Inhaltsausgabe überhaupt nicht mehr.
Du brauchst keinen TS-Objektpfad. Das Local Processing ist nicht von
diesem abhängig...

Grüße,
Joscha

-- 
Rotkäppchen und der TYPO3
Fast so gut wie Wackersteine:
Das TYPO3 Anwenderhandbuch! - http://typo3.feth.com/


More information about the TYPO3-german mailing list