I'm trying to customize the email output using webform-mail.tpl.php inside my theme. However, none of my customizations are being applied. I tried using webform-mail.tpl.php for all forms, as well webform-mail-NODEID.tpl.php for an specific form.

I have followed the instructions in THEMING.txt, including cache clearing.

Comments

estimi’s picture

Anyone?

quicksketch’s picture

Category: bug » support
Priority: Critical » Normal

Note that you need to use the "Default" theming for your configured e-mail in order for custom theming in code to be applied. Edit your e-mail configuration at node/x/webform/emails, and change the template back to "Default". Then your theming changes will take effect.

estimi’s picture

The template is set to Default Template.

quicksketch’s picture

The 3.4 version has a bug in it that the template will say "Default" even if it's not the default template. Change it to "Custom" and then back to "Default" to make sure that the template is used, then save the e-mail settings again.

In that case that you're actually already using the default, make sure your cache (admin/settings/performance) is cleared and that you've placed the template in your active theme.

quicksketch’s picture

Status: Active » Closed (fixed)