Bug #80974

Form Email finisher doesn't support templateRootPaths

Added by Frans Saris over 4 years ago. Updated about 3 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/'

Also available in: Atom PDF