Skip to content

Commit

Permalink
[TASK] Page TSconfig + site configuration YAML settings (TYPO3-Docume…
Browse files Browse the repository at this point in the history
  • Loading branch information
FelHell authored Oct 11, 2021
1 parent 39dabd3 commit 25b5d98
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Documentation/UsingSetting/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,21 @@ which they are set, and for all pages hierarchically below. You can
overwrite and :ref:`modify <t3coreapi:typoscript-syntax-syntax-value-modification>` them
in the Page TSconfig of the same page or a subpage.

You can define settings in a YAML file for the site configuration
(e. g. :code:`config/sites/<site-name>/config.yml`):

.. code-block:: typoscript
settings:
categoryPid: 658
styles:
content:
loginform:
pid: 23
With this site configuration, you can use these constants as :code:`{$categoryPid}`
and :code:`{$styles.content.loginform.pid}` in the Page TSconfig.

Page TSconfig itself can be :ref:`overwritten in User TSconfig <userrelationshiptovaluessetinpagetsconfig>`.


Expand Down

0 comments on commit 25b5d98

Please sign in to comment.