Skip to content

Commit 886b979

Browse files
github-actions[bot]franzholzsarahmccarthy123
authored
[Backport 13.4] clear the wording (#1571)
* clear the wording This is not understandable: "Although you cannot override values TypoScript-style (using the operators and all) the properties of the object which has the reference will be merged with the configuration of the reference." * [TASK] Minor language corrections Releases:main, Backport 12.4) --------- Co-authored-by: Franz Holzinger <franz.holzinger@festwein.de> Co-authored-by: Sarah McCarthy <sarahmccarthy123@yahoo.com>
1 parent 1d0a6e5 commit 886b979

File tree

1 file changed

+12
-13
lines changed
  • Documentation/ContentObjects/GeneralInformation

1 file changed

+12
-13
lines changed

Documentation/ContentObjects/GeneralInformation/Index.rst

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -92,30 +92,29 @@ But this is not the case with :typoscript:`tt_content.bullets.10`. Here
9292
:typoscript:`lib.stdheader` is referenced and :typoscript:`lib.stdheader` will be used as the
9393
cObject at *runtime*.
9494

95-
The reason why lib.stdheader was copied in the first case is the fact
96-
that it's needed to unset ".stdWrap.space" inside the cObject
97-
(:typoscript:`10.stdWrap.space >`). This could **not** be done in the second case
98-
where only a pointer is created.
95+
The reason why lib.stdheader is copied (and not referenced) in the first case is the fact
96+
that ".stdWrap.space" can be unset inside the cObject
97+
(:typoscript:`10.stdWrap.space >`). This **cannot** be done in the second case
98+
because it is only a reference pointer.
9999

100100

101101
.. _reusing-cobjects-temp-objects:
102102

103-
Note:
104-
-----
103+
Reusing Temporary TypoScript Objects:
104+
-------------------------------------
105105

106-
If :typoscript:`lib.stdheader` was :typoscript:`temp.stdheader` instead, the pointer would
106+
If :typoscript:`temp.stdheader` had been used instead of :typoscript:`lib.stdheader`, the reference pointer would
107107
not work! This is due to the fact that the runtime-reference would
108108
find nothing in `temp.` as this is unset before the template is stored
109-
in cache!
109+
in the cache!
110110

111111
This goes for :typoscript:`temp.` and :typoscript:`styles.` (see the top-level object
112112
definition elsewhere).
113113

114114
Overriding values anyway:
115115

116-
Although you cannot override values TypoScript-style (using the
117-
operators and all) the properties of the object which has the
118-
reference will be merged with the configuration of the reference.
116+
Although you cannot override values in :typoscript:`styles.`, the properties of the object which gets a
117+
copy of the reference will be merged with the configuration of the reference.
119118

120119

121120
.. _reusing-cobjects-examples:
@@ -139,8 +138,8 @@ The result is this configuration:
139138

140139
.. include:: /Images/ManualScreenshots/FrontendOutput/StdWrap/ContentObjectsExampleMerge1.rst.txt
141140

142-
Notice that :typoscript:`.value` was *not* cleared, because it's simply two arrays
143-
which are joined:
141+
Notice that :typoscript:`.value` was *not* cleared, because these two arrays
142+
are simply merged:
144143

145144
.. include:: /Images/ManualScreenshots/FrontendOutput/StdWrap/ContentObjectsExampleMerge2.rst.txt
146145

0 commit comments

Comments
 (0)