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

Tyler Kraft headhunterxiii at yahoo.ca
Wed Jul 12 07:43:20 CEST 2006


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
> 



More information about the TYPO3-english mailing list