Customizable Email Templates

feedback

(Robin Ward) #1

Don’t like the text in our emails? Well now you can change them! (as long as you’re tracking our tests-passed branch)

Just visit Admin > Customize > Email Templates and you’ll be presented with this nifty interface:

Give it a whirl and let us know how it works out for you.


Customize email notification header and footer
Customize email content
Unable to Modify Email Sent Out Via Invites
How can we get a full sentence in welcome emails?
Including a member first/surname in any email
How to change the account confirm email content
How do I edit the email template for the welcoming email?
Editing Server.en.yml
Subscription emails should carry more context in message body
Email footer support
MOSS Roadmap - Mailing lists
Should any email subjects from discourse not be tagged?
(cpradio) #2

Is there a help button or anything that could help us know what variables can be used and placed within the emails?


(Allen - Watchman Monitoring) #3

I can see storing the various “required” bits for each template in text below each template.

fwiw, I’m really impressed at the amount of control this gives us… I think I can finally stop hand-editing my server.en.yml during every release.

This is really exciting!


(Robin Ward) #4

Showing the variables is somewhat tricky as not every variable is available to every template. There are a few that are always around and we could explain those though!


(cpradio) #5

Fair enough. Is there a way to revert back to the original template? (I would try it out locally, but it seems my dev branch is broken by a recent commit, I keep getting There is no route admin) (nevermind, it was my own fault, I still had the DISCOURSE_NO_CONSTANTS=1 enabled)


(Régis Hanol) #6

I don’t think so but that is a very good idea :+1:


(Robin Ward) #7

I agree with @zogstrip – that’s a great idea:


(Allen - Watchman Monitoring) #8

Could we get the the site variables {site_name} etc be interpreted in the preview?


(Allen - Watchman Monitoring) #9

Which is the message used when a member is in mailing list mode… could we add %{context} to it now?


(Tobias Eigen) #10

Is there any way to add the digest template to this list of editable templates? That is a powerful tool and many admins would benefit from being able to add their branding and customizations to it.


(Robin Ward) #11

Unfortunately the digest doesn’t use our normal template code as it uses a custom ruby template due to their being a lot of display logic present.

You can now customize all the text though!


(Allen - Watchman Monitoring) #12

I’d like everyone to benefit from the rich replies w history.

For people using “mailing list mode” can we swap the single email body with the digest body?


(Robin Ward) #13

I’m not sure I understand – the digest body is the recent content for the site we think the user would be interested in. Can you provide a more detailed example of what you want?


(Jeff Atwood) #14

I think you want custom templating logic here, which is far beyond the scope of simply changing the template text. Should be its own topic.


(Allen - Watchman Monitoring) #15

The “User Posted” template has %{message} and then %{context}

There are requests for context to be something that even mailing list users get… I wondered if/where we could add the existing %{context} block to the mailing-list emails


(Jenn Briden) #16

I agree with this request. We would like the ability to edit the title of email digests and email post notifications. We have some forums with long names and would like to be able to hide the forums and show only the post’s title.


(Admir Hodzic) #17

forgive me if is not right place to ask.
Is there a way to edit e mail templates to not sending pictures inside e mails.
Our forum is on private site.
And e mails contain link to private addresses.
when I get mail and try to open i webmailserver whic is on the other side of firewall
picutres looks ugly.
Bicous they onli represnts dead links to private sites


(Jeff Atwood) #18