-
-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Email Template Editor #978
base: master
Are you sure you want to change the base?
Conversation
E-mail template editor in Admin>Settings>Mail Subject lines to be added
with "##- Please type your reply above this line -##"
For tickets updated but pending closure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello & Welcome! :)
Thanks for taking the time to help improve ITFlow. We're excited to review your contributions - we'll review this PR as soon as we can!
Whilst you're waiting, please feel free to check out the forum.
Just so you know, all contributions to ITFlow are licensed under the GNU GPL. By contributing you grant us a perpetual & irrevocable license to include your work in ITFlow.
Quality Gate passedIssues Measures |
Hey @jack-10000 Not sure if Johnny has gotten back to you separately on this, appreciate you opened the PR quite some time ago.. I assume the delay will be due to the size of the PR - unfortunately it's not something I'd have time to thoroughly review either.
I just wanted to mention you would need to update both |
Quality Gate passedIssues Measures |
I have added an email template editor with TinyMCE to Admin > Settings > Mail.
This allows an admin to edit the email templates for all customer-facing email bodies and subjects in ITFlow.
Shortcode support allows you to add things like [company_name] or [ticket_prefix] to insert those values into your template body or subject. You can also insert something like [[ticket_prefix][ticket_number]] or [[company_name]] too.
Shortcodes are converted to $variables if they match a predefined list in the prepareEmailTemplateTags function in functions.php.
There is an 'email-templates-sample.sql' file containing sample templates that are ready to use and will update the DB structure necessary.