Quote:
Originally Posted by CollectiveInk
My client is wanting the three different email notifications (different departments). Where would I add the "department" to the subject line? I know their IT should be able to filter it based on that.
|
Hi Tim,
Glad I could be of help. Since you are asking for it, I decided to add on the Department to the email subject line to our company emails as well. I just tested the code below, and it works...
Original Fle:
skin1/mail/help_contactus_subj.tpl
{config_load file="$skin_config"}{ $config.Company.company_name }: {$lng.eml_contact_us_subj}
You can see above that it pulls your Company Name and then the value of the email label eml_contact_us_subj into the Subject Line of the email.
So, we just need to add on the Department variable,
{$contact.department}, as follows:
Code:
{config_load file="$skin_config"}{ $config.Company.company_name }: {$lng.eml_contact_us_subj} - {$contact.department}
You can move the department variable somewhere else in the subject line if you prefer.
Cheers!
Robert