Confluence Docs 3.0 : Customising the eMail Templates This page last changed on Apr 16, 2009 by jlargman.
| Customisations to the Confluence email templates will need to be reapplied when you upgrade Confluence. Consider this before making drastic changes to the layout, and be sure to keep a list of what you have changed for your upgrade process later.
Only administrators with access to the server where Confluence is running can modify the Confluence email templates. ### Process to change the email templates Shut down your test instance of Confluence. In the Confluence web application folder, find the file `/confluence/WEB-INF/lib/confluence-2.x.jar`. Make a copy of this file as a backup. Learn how to edit files within .jar archives. Within the jar file, find the `/templates/email` folder. Find the appropriate file(s) within that folder. Edit the file with a text editor to make the required changes. The content is mostly HTML, but has some Velocity template variables in it. See Velocity Template Overview for more information about how these work. Again using the guide on editing files within .jar archives, either rejar the set of folders or drop the new files into the identical folder structure in the `WEB-INF/classes` directory. Start Confluence up again and test your changes. Apply the changes to your production Confluence instance. The same process can be applied to modify most of the templates in the Confluence web application. For velocity files that are not in a jar file, you need not shut down and restart Confluence. Be careful to test your changes before applying them to a live site. The templates contain code that is vital for Confluence to function, and it is easy to accidentally make a change that prevents use of your site. ##### RELATED TOPICS Velocity Template Overview Customising Layouts Customising Look and Feel Overview Modify Confluence Interface Text

Document generated by Confluence on Nov 05, 2009 23:27