Attention
TYPO3 v6 has reached its end-of-life April 18th, 2017 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 strongly recommended updating your project.
Using stdWrap correctly¶
The function stdWrap includes a wide variety of functions and parameters. Some are trivial, the uses of others are hard to find. Here we will commit ourselves to the basic principle and highlight a few special functions and properties.
The stdWrap property can only be used with an object, if it is explicitly defined for that object in the TypoScript reference. For example the cObjects have a property "stdWrap", which is of the type "stdWrap" and offers stdWrap functionality. If we have a property of another type, e.g. of the type "wrap", then this property does not have stdWrap properties. By default either a property named "stdWrap" of type stdWrap is presented, or a property offers stdWrap, for example "string / stdWrap".
10 = IMAGE
10.stdWrap.typolink...
20 = TEXT
20.value = Hello World
20.stdWrap.typolink...
These objects have a property stdWrap of type "stdWrap".