Feature #88276

Provide pagelayout in TypoScript Condition

Added by Daniel Siepmann about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
TypoScript
Start date:
2019-05-06
Due date:
% Done:

0%

PHP Version:
7.2
Tags:
Complexity:
Sprint Focus:

Description

There are certain situations where you need a TypoScript condition based on the current pagelayout. This "variable" is available as data via stdWrap and implemented at https://github.com/TYPO3/TYPO3.CMS/blob/0bfcd25/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php#L4977

By providing this value as an variable to TypoScript conditions, integrators would be able to use this value, e.g. to switch TypoScript or TSconfig for available fields.

At least this condition is not documented: https://docs.typo3.org/typo3cms/extensions/core/latest/Changelog/9.4/Feature-85829-ImplementSymfonyExpressionLanguageForTypoScriptConditions.html We were also not able to find the necessary information within the code.

This is especially useful within TSconfig.

History

#1 Updated by Daniel Siepmann about 1 month ago

  • Description updated (diff)

Also available in: Atom PDF