Skip to content

Commit

Permalink
[TASK] Move the TypoScript Syntax chapter to the reference
Browse files Browse the repository at this point in the history
So that we have all resources for learning TypoScript together.

Releases: main, 13.4, 12.4

(cherry picked from commit 0f8bd4d)
  • Loading branch information
linawolf committed Nov 1, 2024
1 parent 21330f0 commit 88bcecc
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 834 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Symfony expression language
===========================

Symfony expression language (SEL) is used by TYPO3 in a couple of places. The most
well-known ones are :ref:`TypoScript conditions <typoscript-syntax-global-condition>`.
well-known ones are :ref:`TypoScript conditions <t3tsref:typoscript-syntax-global-condition>`.
The :ref:`TypoScript <t3tsref:conditions>` and :ref:`TSconfig <t3tsconfig:conditions>` references list
available variables and functions of these contexts. But the TYPO3 Core API allows
enriching expressions with additional functionality, which is what this chapter is about.
Expand Down
6 changes: 3 additions & 3 deletions Documentation/Configuration/ConfigurationOverview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Configuration languages

These are the main languages TYPO3 uses for configuration:

* :ref:`TypoScript syntax <typoscript-syntax-start>` is used for TypoScript
* :ref:`TypoScript syntax <t3tsref:typoscript-syntax>` is used for TypoScript
and TSconfig.
* :ref:`TypoScript constant syntax <t3tsref:typoscript-syntax-constant-editor>` is
used for Extension Configuration and for defining constants for TypoScript.
Expand Down Expand Up @@ -129,7 +129,7 @@ line of PHP. `TSconfig` can be set on a page (page TSconfig), as well as a user
basis.

TSconfig uses the same syntax as Frontend TypoScript, the syntax is outlined in detail
in :ref:`typoscript-syntax-start`. Other than that, TSconfig and Frontend TypoScript
in :ref:`t3tsref:typoscript-syntax`. Other than that, TSconfig and Frontend TypoScript
don't have much more in common - they consist of entirely different properties.

A full reference of properties as well as an introduction to explain details configuration usage, API and
Expand All @@ -144,7 +144,7 @@ easy as possible for backend users.

TypoScript - or more precisely "TypoScript Templating" - is used in TYPO3 to steer
the frontend rendering (the actual website) of a TYPO3 instance. It is based on the
TypoScript syntax which is outlined in detail in :ref:`typoscript-syntax-start`.
TypoScript syntax which is outlined in detail in :ref:`t3tsref:typoscript-syntax`.

TypoScript Templating is very powerful and has been the backbone of frontend rendering ever since.
However, with the rise of the Fluid templating engine, many parts of Frontend TypoScript are much less
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Configuration/Glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ check whether the syntax is correct.

These are the main languages TYPO3 uses for configuration:

* :ref:`TypoScript syntax <typoscript-syntax-start>` is used for TypoScript
* :ref:`TypoScript syntax <t3tsref:typoscript-syntax>` is used for TypoScript
and TSconfig.
* :ref:`TypoScript constant syntax <t3tsref:typoscript-syntax-constant-editor>` is
used for Extension Configuration and for defining constants for TypoScript.
Expand Down
4 changes: 0 additions & 4 deletions Documentation/Configuration/TypoScript/Index.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
.. include:: /Includes.rst.txt
.. index:: TypoScript; Syntax
.. _typoscript-syntax-start:
.. _typoscript-syntax-next-steps:
.. _typoscript-syntax-about:
.. _typoscript-syntax-syntax:
.. _typoscript:

==========
Expand Down
54 changes: 0 additions & 54 deletions Documentation/Configuration/TypoScript/Syntax/CodeBlocks/Index.rst

This file was deleted.

37 changes: 0 additions & 37 deletions Documentation/Configuration/TypoScript/Syntax/Comments/Index.rst

This file was deleted.

164 changes: 0 additions & 164 deletions Documentation/Configuration/TypoScript/Syntax/Conditions/Index.rst

This file was deleted.

Loading

0 comments on commit 88bcecc

Please sign in to comment.