diff --git a/Documentation/TopLevelObjects/Index.rst b/Documentation/TopLevelObjects/Index.rst index 016e3baa..74f299eb 100644 --- a/Documentation/TopLevelObjects/Index.rst +++ b/Documentation/TopLevelObjects/Index.rst @@ -27,7 +27,6 @@ page | ... :ref:`PAGE ` config :ref:`CONFIG ` :ref:`plugin` :ref:`tlo-module` -:ref:`temp ` :ref:`styles ` :ref:`lib ` :ref:`tt_* ` diff --git a/Documentation/TopLevelObjects/Other.rst b/Documentation/TopLevelObjects/Other.rst index 6befff1b..cdfbd4a2 100644 --- a/Documentation/TopLevelObjects/Other.rst +++ b/Documentation/TopLevelObjects/Other.rst @@ -8,45 +8,6 @@ Reserved top-level objects .. contents:: List of the reserved top-level objects :depth: 1 -.. index:: Top-level objects; temp - -.. _top-level-objects-temp: -.. _tlo-temp: - -temp -==== - -.. confval:: temp - :name: tlo-temp - - This top-level object name is reserved. - - The top-level object :typoscript:`temp` is used to store and copy - TypoScript code during parse time. - - :typoscript:`temp` is unset before the template is cached, objects in it - can therefore not be referenced. Use :confval:`tlo-lib` for that purpose. - -Example: Use the top-level object `temp` to copy code ------------------------------------------------------ - -.. code-block:: typoscript - :caption: EXT:my_sitepackage/Configuration/TypoScript/setup.typoscript - - temp.some_content = TEXT - temp.some_content.value = Hello World! - - // Output - //

Hello World!

Hello World!

- page = PAGE - page { - 10 < temp.some_content - 10.wrap =

|

- - 20 < temp.some_content - 20.wrap =

|

- } - .. index:: Top-level objects; lib .. _top-level-objects-lib: @@ -64,10 +25,8 @@ lib TypoScript code. This top-level object is available after the template is cached, - objects in it can therefore be referenced by using the + objects in it can therefore be referenced and copied by using the :ref:`reference operator ` :typoscript:`=<`. - Just like with a :confval:`tlo-temp` object copying is - also possible. .. code-block:: typoscript :caption: EXT:my_sitepackage/Configuration/TypoScript/setup.typoscript