Jump to content

Using email merge fields in the Global Email Header


ichilver

Recommended Posts

Hi

 

I wanted to have a common header theme across all the email generated but wanted to use the {emailsubject} field in the header.

 

When I added the custom global header in the settings section and send an email the subject {emailsubject} is blank.

 

Do merge fields only work in the email template and not the header or footers?

 

Strangely in the Global Footer section I have a merge field {signature} in use which does seem to work.

 

When I put {emailsubject} in the body (I.e in the template) it works.

 

I got the field name by doing a {dump} of all the fields because the documentation on this isn't great to say the least.

 

I wanted custom global headers and footers to avoid the painful exercise of changing _all_ the email templates. Plus the more I can keep to the standard out of the box, makes upgrading versions easier.

 

Any ideas people??

 

Regards

 

Ian

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated