Project

General

Profile

Actions

Bug #80974

closed

Form Email finisher doesn't support templateRootPaths

Added by Frans Saris almost 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Form Framework
Target version:
-
Start date:
2017-04-24
Due date:
% Done:

100%

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

Description

The EmailFinisher uses templatePathAndFilename and due to this it doesn't support the fallback we know from most places in the core (templateRootPaths).

My suggestion would be:

instead of

   templatePathAndFilename: 'EXT:form/Resources/Private/Frontend/Templates/Finishers/Email/{@format}.html'

use

   templateName: '{@format}.html'
   templateRootPaths.20 = 'EXT:form/Resources/Private/Frontend/Templates/Finishers/Email/'

Actions

Also available in: Atom PDF