[Neos] [NEOS] String concatenation

Christian Müller christian.mueller at typo3.org
Thu Dec 4 12:02:19 CET 2014


Hi Tina,

...
bodyTag.attributes.class = ${q(node).property('_name') + ' teaser'}
...

Should do the trick.

Cheers,
Christian

Tina Eckhorst wrote:
> Hi,
> 
> how do I concatenate strings in Typoscript 2? I want do add a specific
> class to the body and tried the following:
> 
> teaserPage < page
> teaserPage {
>  bodyTag.attributes.class = ${q(node).property('_name')} + ' teaser'
> }
> 
> The class "teaser" is added but not the property "_name".
> 
> Thanks!


More information about the Neos mailing list