Created
November 9, 2016 09:40
-
-
Save schliflo/997f7ad352840058ed8c2b5052a2fcc6 to your computer and use it in GitHub Desktop.
complex conditions in typoscript2 or fusion in NEOS
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
attributes.class = TYPO3.TypoScript:RawArray { | |
default = 'btn' | |
large = ${q(node).property('large') ? 'btn-lg': null} | |
block = ${q(node).property('block') ? 'btn-block': null} | |
color = ${'btn-' + q(node).property('color')} | |
color.@if.condition = ${q(node).property('color')} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment