[TYPO3-german] Content von Seite in TypoScript auslesen?
Fabian König
koenig at bluhouse.de
Mon Jun 2 17:36:03 CEST 2008
Halt moment.
Schon wieder vertan.. Nicht mein Tag heute..
Die pidInList bekommt natuerlich den Wert 666 (ID von Seite B) ;-)
Fabian König schrieb:
> Hallo Christian, danke erstmal!
>
> Hatte auch eine falsche "pid" eingetragen.
> Musste 608 lauten, nicht 668 *flüchtigkeitsfehler meinerseits*
>
> lib.testinhalt = COA
> lib.testinhalt {
> 10 = CONTENT
> 10.table = tt_content
> 10.select.pidInList = 668
>
> ...
> }
>
> Jetzt funktioniert alles. Danke nochmal :-)
>
> mfg
> Fabian
>
> Christian Wolff schrieb:
>> On Mon, 02 Jun 2008 17:05:13 +0200, Fabian König <koenig at bluhouse.de>
>> wrote:
>>
>>> Hallo.
>>>
>>> Ich habe folgende Seiten:
>>> Seite A (ID: 608)
>>> Seite B (ID: 666)
>>>
>>> Ich habe mir auf Seite A via TypoScript einen Platzhalter
>>> (lib.testinhalt) eingebunden. Dieser soll nun mit dem gesamten Inhalt
>>> (ist nur 1 Text-Content) von Seite B (unabhängig von den
>>> Contentspalten) gefuellt werden.
>>>
>>>
>>> Folgendes habe ich versucht:
>>> ===TS===
>>> lib.testinhalt = COA
>>> lib.testinhalt {
>>> 10 = CONTENT
>>> 10.table = tt_content
>>> 10.select.where = pid = 668
>>>
>>> 20 = TEXT
>>> 20.value = Test123
>>> }
>>> ===/TS===
>>>
>>> Ausgegeben wird aber nur "Test123".
>>>
>>>
>>> Wo liegt der Fehler??
>>> Bzw. was mache ich falsch?
>>>
>>> Mfg
>>> Fabian
>>
>> hi fabian select.pidInList = 668 i
>>
>> lib.testinhalt = COA
>> lib.testinhalt {
>> 10 = CONTENT
>> 10.table = tt_content
>> 10.select.pidInList = 668
>>
>> 20 = TEXT
>> 20.value = Test123
>> }
>>
>> gruss chris
>>
>>
>> --Christian Wolff // Berlin
>> http://www.connye.com
>>
>> Latest Projects:
>> http://www.flycall.de | http://www.atr24.de | http://www.titanic.de
More information about the TYPO3-german
mailing list