Skip to content

Instantly share code, notes, and snippets.

@stigfaerch
Created October 30, 2014 12:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stigfaerch/2056dc6591f9b9cad686 to your computer and use it in GitHub Desktop.
Save stigfaerch/2056dc6591f9b9cad686 to your computer and use it in GitHub Desktop.
TYPO3 Neos - typoscript - solution when this.property doesn't work
prototype(TYPO3.Neos.NodeTypes:Text) {
number = ${q(node).property('number')}
@override.number = ${this.number}
#override makes it possible to insert number to class - as this.number wouldn't work here:
attributes.class.@process.addNumber = ${value + ' number-' + number}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment