[Neos] [NEOS] String concatenation

Tina Eckhorst t.eckhorst at magent.de
Thu Dec 4 12:07:59 CET 2014


Hi Christian,

yes, that's it! Thanks a lot!! :)


Quote: Christian Müller (Ki wrote on Thu, 04 December 2014 12:02
----------------------------------------------------
> 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