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

Joscha Feth joscha at feth.com
Sat Jun 16 19:52:53 CEST 2007


Sebastian Widmann schrieb:
> Hi!
> 
> Ich habe ein Template, basierend auf TV. Jetzt habe ich einen Bereich,
> wo ich dauerhaft ein Menü oberhalb des Contents einblenden will,
> allerdings nur auf einigen Unterseiten. Ich würde jetzt ein ext-Template
> anlegen, nur weiß ich nicht, wie ich den Content-Bereich anspreche, um
> ein Wrap um alle Content elements zu machen. Könnt ihr mir helfen?

Der Tipp lautet: local processing.
Im TV-Modul auf dein Template Object und dann das entsprechende Feld
lokal umschreiben:
z.B. so:

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3DataStructure>
	<ROOT type="array">
		<el type="array">
			<field_DEINNAME type="array">
				<tx_templavoila type="array">
					<TypoScript>
					<![CDATA[
						10= RECORDS
						10.source.current=1
						10.tables = tt_content
						10.wrap = foo | bar
				        ]]>
					</TypoScript>
				</tx_templavoila>
			</field_DEINNAME>
		</el>
	</ROOT>
</T3DataStructure>

Die Struktur kann natürlich eine andere sein und das Feld field_DEINNAME
wird wohl auch anders heißen :-) Hoffe das hilft dir weiter!

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