[TYPO3] TS variables and string concatenation
Tyler Kraft
headhunterxiii at yahoo.ca
Tue Oct 31 14:17:01 CET 2006
build a COA object perhaps
lib.headline = COA
lib.headline.10 = TEXT
lib.headline.10.data = titlelevel : -2
lib.headline.10.noTrimWrap = || - |
lib.headline.20 = TEXT
lib.headline.20.data = page:title
Brian Bendtsen wrote:
> Hi
>
> I have an area on my website for the page title.
>
> lib.HeadLine = TEXT
> lib.HeadLine.data = page : title
>
> I would like to show the title of the current page and the page in the
> upper level, something like this:
>
> upperLevelPageTitle - thisPageTitle
>
> To get the upper level I use this:
>
> titlelevel : -2
>
> How do I concatenate these objects?
>
> I have tried playing with variables:
>
> $firstHeader = titlelevel : -2
> $secondHeader = page : title
> lib.HeadLine = TEXT
> lib.HeadLine.data = {$firstHeader} - {$secondHeader}
>
> but the output is just {$firstHeader} - {$secondHeader}
>
> Any help would be appreciated.
>
> /Brian Bendtsen
More information about the TYPO3-english
mailing list