By Marco on Thursday, 16 March 2017
Posted in General Issues
Replies 3
Likes 0
Views 163
Votes 0
Hi folks,

I just want to change the subject line of the send emails and not the content.

I have seen the documentation about email templating ( https://stackideas.com/docs/easysocial/administrators/templating/customizing-email-template), but I do not see any code line where the email subject is set.

Is this possible in any way?

For example a user (John Doe) posts an announcement in a group, the subject of the email is actually "John Doe posted an announcement in the group...". It would be nice for my members if the subject would be the subject of the announcement.
There are some other emails where I want to change the subject too.

Thanks for your help!

Regards,
Marco
Hi Marco,
If you want to change the email subject of group announcement to the announcement title, you can language override the following translation where {newsTitle} is the title of the announcement:

COM_EASYSOCIAL_EMAILS_GROUP_NEW_ANNOUNCEMENT_SUBJECT="{newsTitle}"
If you need help finding the language constants of other email subjects and variables to use in the translation, let us know which one and we can help you find it.
·
Thursday, 16 March 2017 17:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Does this work for the event announcement also?


COM_EASYSOCIAL_EMAILS_EVENT_NEW_ANNOUNCEMENT_SUBJECT="{newsTitle}"
·
Thursday, 16 March 2017 18:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes that is correct. You can test is out too to double confirm.
·
Thursday, 16 March 2017 19:48
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post