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 #1

Updated by Oliver Bartsch about 3 years ago

  • Status changed from New to Needs Feedback

Hi, to reproduce this, could you please share the corresponding template file?

Actions #2

Updated by Riccardo De Contardi about 2 years ago

  • Status changed from Needs Feedback to Closed

No feedback since the a very long time => closing this issue.

If you think that this is the wrong decision or experience the issue again and have more information about how to reproduce your problem, please reopen it or open a new issue with a reference to this one.

Thank you and best regards

Actions

Also available in: Atom PDF