Hallo Michael,

häng mal an dein TypoScript noch ein renderObj dran.

https://docs.typo3.org/typo3cms/TyposcriptReference/ContentObjects/Content/Index.html

Mit dem renderObj kannst du genau steuern, was das CONTENT-Objekt ausgibt.

temp.text = CONTENT
temp.text {
table = tt_content
select.uidInList = 195
renderObj = TEXT
rednerObj.field = bodytext
}

Das reicht vielleicht schon.

Gruß
Stefan

Am 01.10.2015 um 11:21 schrieb Michael Pockie:
> Hallo,
> 
> ich möchte in einem kleinen Textslider den Bodytext eines ganz
> bestimmten Inhaltselements ausgeben. Ich weiß jedoch nicht wie ich mit
> typoscript auf die Splate "bodytext" zugreifen kann.
> 
> Ich habe folgendes Typoscript:
> 
> temp.text= CONTENT
> temp.text{
>  table = tt_content
>  select.uidInList = 195
> }
> 
> temp.marquee < temp.text
> 
> Das SQL, welches generiert wird, lautet SELECT * FROM `tt_content` WHERE
> `uid` = 195. Es wird also die komplette Zeile in meinem Textslider
> ausgegeben. Ich möchte jedoch nur den Inhalt der Spalte bodytext
> ausgeben. Also ich würde gerne das SQL SELECT `bodytext` FROM
> `tt_content` WHERE `uid` = 195 generieren.
> 
> Wie kann ich also in Typoscript anstatt "SELECT * " den SQL-Befehl
> "SELECT `bodytext`" schreiben?
> Danke für eure Hilfe
> Pockie

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an