[TYPO3-templavoila] use pagecontent:header in TypoScript Object Path
Styrmir Magnússon
styrmirm at hive.is
Wed Jan 9 19:41:25 CET 2008
Dmitry Dulepov [typo3] wrote:
> Hi!
>
> Styrmir Magnússon wrote:
>> And Thanks for helping, I hope I am a little bit closer, but still I
>> am not able to show the header from the content element
>>
>> Here is my DS
>
> It appears that it is not FCE DS but page DS.
Yes it is page DS not FCE, sorry, I wasn't sure that FCE was Flexible
Content Element
>
> Next:
>
>> <TypoScript><![CDATA[
>> 10= RECORDS
>> 10.source.current=1
>> 10.tables = tt_content
>> 10.wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
>> 20 = TEXT
>> 20.data = register:tx_templavoila_pi1.parentRec.header
>> 20.wrap = Header result |
>> ]]></TypoScript>
>
> Ok, so you got tt_content records at 10. Now at 20 you are trying to use
> "header" field of parent record. But for page DS parent record will be
> pages record, not tt_content record. Obviously it does not work.
>
Yes, I haven't found out how to do it, I can't find out how to take one
field from Text with image and in my case only the title, which I want
to show with typoscript on another place of the same page.
Styrmir
More information about the TYPO3-project-templavoila
mailing list