Skip to content

Commit

Permalink
[TASK] Move constant editor into backend module page
Browse files Browse the repository at this point in the history
Releases: main, 13.4
  • Loading branch information
linawolf committed Nov 23, 2024
1 parent 4e27ab1 commit a0d1323
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 331 deletions.
38 changes: 34 additions & 4 deletions Documentation/UsingSetting/Entering.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,48 @@ a TypoScript record or by having a

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

.. _typoscript-syntax-constant-editor:
.. _constant-editor:

Submodule "Constant Editor"
===========================

.. note::
The constant editor is only available in sites that are based on a
TypoScript record.

.. versionchanged:: 13.3
With the introduction of the site
`Site settings editor <https://docs.typo3.org/permalink/t3coreapi:site-settings-editor>`_
settings can be edited in a comfortable and type safe way on site level.

The constant editor is kept for backward compatibility.

The backend module :guilabel:`Site Management > TypoScript > Constant Editor`
used a special format of
`Comments <https://docs.typo3.org/permalink/t3tsref:typoscript-syntax-syntax-comment-blocks>`_
to display a form for editing the constants.

.. figure:: /Images/ManualScreenshots/TypoScriptModule/ConstantEditor.png
:alt: Screenshot of the TYPO3 Backend showing the constant editor

It is not recommended to newly introduce constants in the constant editor.
The documentation of the constant editors comment format can still be found
at `Comment Syntax <https://docs.typo3.org/permalink/t3tsref:[email protected]>`_


.. _typoscript_module_edit:

Submodule "Edit TypoScript Record"
==================================

.. note::
The constant editor is only available in sites that are based on a
TypoScript record.

This can be done in the :guilabel:`Site Management > TypoScript` module in
the submodule :guilabel:`Edit TypoScript Record`.

.. hint::
It is best practice to use a site package extension to bundle
various configuration in an extension. See :ref:`t3sitepackage:start`.

.. figure:: /Images/ManualScreenshots/TypoScriptModule/EditTypoScriptRecord.png
:alt: The submodule "Edit TypoScript Record" in the TYPO3 Backend.

Expand Down
1 change: 0 additions & 1 deletion Documentation/UsingSetting/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,5 @@ The TypoScript template configuration can be viewed and edited in the
AddTypoScriptWithExtensions
AccessTypoScriptWithExtensions
Constants
TheConstantEditor
Register
Debugging
326 changes: 0 additions & 326 deletions Documentation/UsingSetting/TheConstantEditor.rst

This file was deleted.

0 comments on commit a0d1323

Please sign in to comment.