Skip to content
Snippets Groups Projects
Commit 35d6b2b3 authored by Benni Mack's avatar Benni Mack Committed by Benjamin Kott
Browse files

[TASK] Do not clear constants in CSS Styled Content

The constants within `styles.content` were cleared
via CSS Styled Content which did not allow to define
any constants before the TypoScript template was
included in that space.

Releases: master
Resolves: #80391
Change-Id: Ia96c3a3883d87eb9dba3f0a2b193738d9252d263
Reviewed-on: https://review.typo3.org/52118


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarJosef Glatz <josef.glatz@typo3.org>
Tested-by: default avatarJosef Glatz <josef.glatz@typo3.org>
Reviewed-by: default avatarBenjamin Kott <benjamin.kott@outlook.com>
Tested-by: default avatarBenjamin Kott <benjamin.kott@outlook.com>
parent 5462fdfb
No related branches found
No related tags found
No related merge requests found
.. include:: ../../Includes.txt
==========================================================================
Important: #80391 - Css Styled Content will not reset TypoScript Constants
==========================================================================
See :issue:`80391`
Description
===========
Previously the TypoScript definition from CSS Styled Content resetted all
constants that were set before the static template was included to preserve
the namespace `styles.content`.
Since there is no need to reset the constants, this behaviour is removed.
Removed Code
------------
.. code-block:: typoscript
# Clear out any constants in this reserved room!
styles.content >
.. index:: TypoScript
# Clear out any constants in this reserved room!
styles.content >
content {
# cat=content/cHeader/h0; type=int[1-5]; label=Default Header type: Enter the number of the header layout to be used by default.
defaultHeaderType = 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment