Project

General

Profile

Actions

Bug #95762

closed

Variables in FluidEmail not available in Layout

Added by Mordamir about 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2021-10-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The SystemEmail.html template uses some variables like {normalizedParams.siteUrl} and {typo3.sitename}. For my own template i startet from this system layout and moved these variables at the top of the layout. Now the problem is: the variables are not resolved at the top of the template! They are resolved in the same layout if they appear at the bottom. In fact they a not resolved until a section from the template is called.

My current workaround for this is to create an empty dummy section in the template and call that first in the layout.

Maybe its an environment specific issue. I use typo3 10.4.21 and instantiate and call the FluidEmail from inside a normal controller action (with normal page view).

Actions

Also available in: Atom PDF