Issue Bug Closed

#95762Variables in FluidEmail not available in Layout

Mordamir 10/25/21, 08:54 updated 09/24/22, 14:17

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).

Reviews 0

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