Issue Bug Closed

#80974Form Email finisher doesn't support templateRootPaths

Frans Saris 04/24/17, 08:43 updated 10/02/18, 11:01

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/'

Reviews 2