Attention
TYPO3 v7 has reached its end-of-life November 30th, 2018 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.
There is no further ELTS support. It is recommended that you upgrade your project and use a supported version of TYPO3.
Modify the order¶
There is a way around this ordering restriction. stdWrap
has a property called orderedStdWrap
in which several
stdWrap
properties can be called in numerical order.
Thus:
10 = TEXT
10 {
value = typo3
orderedStdWrap {
10.noTrimWrap = |<strong>Tool: |</strong>|
20.case = upper
}
}
results in:
<strong>TOOL: TYPO3</strong>
because we explicitely specified that noTrimWrap
should
happen before case
.
It should be noted that stdWrap
itself has a stdWrap
property, meaning that it can be called recursively. In most case
orderedStdWrap
will do the job and is much easier to understand
making for code easier to maintain.