Skip to content
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

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Conversation

jack-10000
Copy link

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.

Copy link

@github-actions github-actions bot left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant