[TYPO3] TS Help: how to get the title of the current page's parent into a TEXT cObj? (SOLVED)

Ricardo Scachetti Pereira ricardo at tdwg.org
Wed Jul 12 14:27:00 CEST 2006


    Thanks a lot Tyler,

    Just for the record, here is the answer:

page.10 = TEXT
page.10 {
    data = leveltitle : 0
    wrap = <b>|</b>
}

    Thanks again!!

    Cheers,

Ricardo

Tyler Kraft wrote:
> look at the getText data part of TSref, and you need field, leveltitle
>
> hth
>
> Ricardo Scachetti Pereira wrote:
>   
>>    Hi all,
>>
>>    I need to get the title field (or nav_title) of the parent of the 
>> current page into a TEXT cObj. Can anyone help me write the TypoScript 
>> that does that? Thanks!!
>>
>>    The following gives me the title of the current page into a TEXT cObj:
>>
>> page.10 = TEXT
>> page.10 {
>>    field = nav_title // title
>>    wrap = <h2> | </h2>
>> }
>>
>>    How do I get the title of the parent? Thanks.
>>
>> Ricardo
>>
>>     
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
>   




More information about the TYPO3-english mailing list