[TYPO3] TS variables and string concatenation
Brian Bendtsen
bb at bellevuevej.dk
Tue Oct 31 14:08:37 CET 2006
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