I’m testing the Events module with an Email Template, but only variables from ‘Events’ are displaying in the subject line.
If I put a variable from Contacts or Accounts in the Subject its comes up blank, the same variables work in the body of the email, is this a restriction? Is there a way around it?
Thanks for your reply, I checked the Email.php and the line referred to in the link you provided is in the file, this is the block of code
$mail->Subject = $this->name;
$mail = $this->handleBody($mail);
$mail->Subject = $this->name;
$this->description_html = from_html($this->description_html);
Just to be clear, its not that is isn’t adding any values, its seems to only be adding values from the Events module.
This is the line in the template
You have been invited to $fp_events_name – $contact_last_name ($fp_events_event_type_c)
This is the subject in the actual email message
You have been invited to Test3 – (Round Table)