Skip to content

Commit 77c7edc

Browse files
authored
[TASK] Move constant editor into backend module page (#1441)
Releases: main, 13.4
1 parent 4e27ab1 commit 77c7edc

File tree

3 files changed

+34
-331
lines changed

3 files changed

+34
-331
lines changed

Documentation/UsingSetting/Entering.rst

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,48 @@ a TypoScript record or by having a
4343

4444
If TypoScript was added by a record, it is linked.
4545

46+
.. _typoscript-syntax-constant-editor:
47+
.. _constant-editor:
48+
49+
Submodule "Constant Editor"
50+
===========================
51+
52+
.. note::
53+
The constant editor is only available in sites that are based on a
54+
TypoScript record.
55+
56+
.. versionchanged:: 13.3
57+
With the introduction of the site
58+
`Site settings editor <https://docs.typo3.org/permalink/t3coreapi:site-settings-editor>`_
59+
settings can be edited in a comfortable and type safe way on site level.
60+
61+
The constant editor is kept for backward compatibility.
62+
63+
The backend module :guilabel:`Site Management > TypoScript > Constant Editor`
64+
used a special format of
65+
`Comments <https://docs.typo3.org/permalink/t3tsref:typoscript-syntax-syntax-comment-blocks>`_
66+
to display a form for editing the constants.
67+
68+
.. figure:: /Images/ManualScreenshots/TypoScriptModule/ConstantEditor.png
69+
:alt: Screenshot of the TYPO3 Backend showing the constant editor
70+
71+
It is not recommended to newly introduce constants in the constant editor.
72+
The documentation of the constant editors comment format can still be found
73+
at `Comment Syntax <https://docs.typo3.org/permalink/t3tsref:[email protected]>`_
74+
75+
4676
.. _typoscript_module_edit:
4777

4878
Submodule "Edit TypoScript Record"
4979
==================================
5080

81+
.. note::
82+
The constant editor is only available in sites that are based on a
83+
TypoScript record.
84+
5185
This can be done in the :guilabel:`Site Management > TypoScript` module in
5286
the submodule :guilabel:`Edit TypoScript Record`.
5387

54-
.. hint::
55-
It is best practice to use a site package extension to bundle
56-
various configuration in an extension. See :ref:`t3sitepackage:start`.
57-
5888
.. figure:: /Images/ManualScreenshots/TypoScriptModule/EditTypoScriptRecord.png
5989
:alt: The submodule "Edit TypoScript Record" in the TYPO3 Backend.
6090

Documentation/UsingSetting/Index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,5 @@ The TypoScript template configuration can be viewed and edited in the
2323
AddTypoScriptWithExtensions
2424
AccessTypoScriptWithExtensions
2525
Constants
26-
TheConstantEditor
2726
Register
2827
Debugging

Documentation/UsingSetting/TheConstantEditor.rst

Lines changed: 0 additions & 326 deletions
This file was deleted.

0 commit comments

Comments
 (0)