Created
October 30, 2014 12:00
-
-
Save stigfaerch/2056dc6591f9b9cad686 to your computer and use it in GitHub Desktop.
TYPO3 Neos - typoscript - solution when this.property doesn't work
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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