Project

General

Profile

Actions

Bug #83817

closed

top-level constants object is not replaced in CE div

Added by Johannes C. Schulz about 6 years ago. Updated about 4 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
Category:
Fluid Styled Content
Start date:
2018-02-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

From TYPO3 8 (or FSC in general) the top-level constants object isn't replaced in CE div. It is replaced in CE text or CE text&media, but not in CE div.

Typoscript:
lib.own_parseFunc {
makelinks = 0
allowTags = *
denyTags =
constants = 1
nonTypoTagStdWrap.HTMLparser = 1
}
tt_content.html.parseFunc < lib.own_parseFunc
constants.FESTIVALDATE = 12.2.2018

Content of CE div:
###FESTIVALDATE###

output:
###FESTIVALDATE###

Actions #1

Updated by Benni Mack almost 5 years ago

  • Target version changed from next-patchlevel to Candidate for patchlevel
Actions #2

Updated by Georg Ringer about 4 years ago

  • Status changed from New to Rejected

I am closing this issue because there is no way for editors to fill anything in the content element div.

To make the replacement work, you just need to use the VH f:format.html. Basic example

    <f:format.html>
        ###FESTIVALDATE###
    </f:format.html>

Actions

Also available in: Atom PDF