Skip to content

Commit adf8f62

Browse files
committed
[FEATURE] TypoScript module renamed: Document for TypoScript debugging
Depends on #1319 which should be merged first Related: TYPO3-Documentation/Changelog-To-Doc#136 Releases: main, 12.4
1 parent 54abb8a commit adf8f62

File tree

6 files changed

+31
-30
lines changed

6 files changed

+31
-30
lines changed
-24.4 KB
Binary file not shown.

Documentation/Images/AutomaticScreenshots/TemplatesModul/TemplatesConstants.rst.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.
-49.4 KB
Binary file not shown.
44.1 KB
Loading
57.1 KB
Loading

Documentation/UsingSetting/Debugging.rst

Lines changed: 31 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,46 +14,54 @@ to find errors within TypoScript.
1414
.. index::
1515
TypoScript; Constants debugging
1616
Constants; debugging
17+
.. _typoscript-debugging-constants:
1718

1819
Analyzing defined constants
1920
===========================
2021

21-
The *TypoScript Object Browser* provides an tree view to all defined constants
22-
on the currently active page.
22+
.. versionchanged:: 12.0
23+
The TypoScript management tools are now found in backend module
24+
:guilabel:`Site Management > TypoScript`. It was formerly found in
25+
"Page > Template".
2326

24-
.. include:: /Images/AutomaticScreenshots/TemplatesModul/TemplatesConstants.rst.txt
27+
The submodule :guilabel:`Active TypoScript` was renamed from
28+
"TypoScript Object Browser".
29+
30+
The backend submodule :guilabel:`Site Management > TypoScript > Active TypoScript`
31+
provides a tree view to all defined TypoScript Constants on the currently active page.
32+
33+
.. figure:: /Images/ManualScreenshots/TypoScriptModule/ConstantsDisplayActiveTypoScript.png
34+
:alt: A Screenshot showing the "Constants" section of the "Active TypoScript" submodule.
35+
36+
Analyzing defined TypoScript Constants in the :guilabel:`Active TypoScript` submodule.
2537

2638
.. index:: TypoScript; Syntax errors
2739
.. _typoscript-syntax-finding-errors:
2840

2941
Finding errors
3042
==============
3143

32-
There are no tools that will tell whether the given TypoScript code is 100%
33-
correct. The :guilabel:`TypoScript object browser` will warn about syntax errors though:
44+
.. versionchanged:: 12.0
45+
The TypoScript management tools are now found in backend module
46+
:guilabel:`Site Management > TypoScript`. It was formerly found in
47+
"Page > Template".
3448

35-
.. figure:: /Images/ManualScreenshots/Templates/SyntaxError.png
36-
:alt: The TypoScript Object Browser showing a syntax error
37-
:class: with-shadow
49+
The submodule :guilabel:`Active TypoScript` was renamed from
50+
"TypoScript Object Browser". It does not display syntax warnings anymore,
51+
those are displayed in the submodule :guilabel:`Included TypoScript` only.
3852

39-
Errors will also appear in the :guilabel:`template analyzer`, when viewing the content of a
40-
given template. It is also possible to see the full TypoScript code by clicking
41-
on the :guilabel:`View the complete TS listing` button at the bottom of the template
42-
analyzer:
53+
The submodule :guilabel:`Included TypoScript` was renamed from
54+
"TypoScript Analyzer".
4355

44-
.. include:: /Images/AutomaticScreenshots/TemplatesModul/TemplatesViewFullListingButton.rst.txt
45-
46-
The result is a long listing with all compiled line numbers, which makes it
47-
possible to find the error reported by the :guilabel:`TypoScript object browser`.
48-
49-
.. figure:: /Images/ManualScreenshots/Templates/FullListing.png
50-
:alt: The TypoScript Object Browser showing a syntax error
51-
:class: with-shadow
56+
There are no tools that will tell whether the given TypoScript code is 100%
57+
correct. The :guilabel:`Included TypoScript` will warn about syntax errors though:
5258

53-
In the frontend, the :guilabel:`admin panel` is another possibility to debug TypoScript; use
54-
its section called :guilabel:`TypoScript`. It shows selected rendered (configuration)
55-
values, SQL queries, error messages and more.
59+
.. figure:: /Images/ManualScreenshots/TypoScriptModule/IncludedTypoScriptWarnings.png
60+
:alt: The submodule 'Included TypoScript' showing a syntax warning
5661

62+
In the frontend, the :composer:`typo3/cms-adminpanel` is another possibility
63+
to debug TypoScript: use its section called :guilabel:`TypoScript`. It shows
64+
selected rendered (configuration) values, SQL queries, error messages and more.
5765

5866
.. index::
5967
TypoScript; Debugging stdWrap

0 commit comments

Comments
 (0)