Issue Feature Closed

#50389Allow escaping of TypoScript keys

Alexander Stehlik 07/24/13, 15:47 updated 07/25/13, 01:57

Description

I just sumbled upon an issue with Extbase settings that are overwritten with FlexForm fields.

I’ll describe the problem by using the news Extension as an example.

When the settings.detailPid setting should be overwritten by a FlexForm field, the field needs to have the name <settings.detailPid> in the FlexForm configuration.

Since the field name contains a dot it is not possible to modify the field behaviour with TSConfig.

Normally you could disable the field by using this Page TSConfig:

TCEFORM.tt_content.pi_flexform.news_pi1.sDEF.settings.detailPid.disabled = 1

This obviously does not work, because the dot in settings.detailPid is interpreted as a TypoScript key seperator.

A possible solution would be to allow the escaping of dots in TypoScript, e.g. like this:

TCEFORM.tt_content.pi_flexform.news_pi1.sDEF.settings\.detailPid.disabled = 1

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.