Is it possible to modify the content of an email notification using a system-2 plugin and without modifying of the default email templates?
Maybe there are some plugin modules to achieve this?
For example, I need to change the email subject depending on the recipient user. At this moment, there were made a nubmer of modifications in default templates to implement this feature. Is there any other ways?
While you can make this with a plugin, you will need to also create your own velocity templates. Or make some heavy changes in the current ones to be used with the plugin.
Yes, I know this. As I mentioned before, I have a solution with the modified default templates, but I want to improve it.
As far as I understood from the source code, there is only one xml-file where mailing templates are defined. Did I miss something? Is it possible to switch the velocity template manager from the default templates to the plugin-provided ones without modifying of default templates or xml-files?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you dont want to write or keep maintaining something to do this, JEMH provides template customization support, you can create a custom template in the UI without lower level file changes, the integrated editor allows you to edit the templates as needed. You could also paste existing text/html templates into JEMH Issue Event Template Sets also.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.