User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
developers:templates:files [2014/10/16 13:32]
Jaco van Wyk created
developers:templates:files [2014/10/18 12:39]
Jaco van Wyk [Template Files]
Line 1: Line 1:
 ====== Template Files ====== ====== Template Files ======
 +You can attach files to your templates just by using the "​**@attachment:<​filename>​**"​ special code at the top of your template wiki.
 +===== Uploading your files =====
 +Uploading the files is easy. Simply go to [[https://​​files]] and make sure to use the filename that you want to appear in the email. Be sure to set it to not encrypt, and if you ever want to update the file just choose Replace in the "what to do if file exists"​ dropdown.
 +===== Linking to the file from templates =====
 +As mentioned before you need to use the @attachment tag, and simply list it at the top. For instance if you want to attach policy.pdf, your file should look like:
 +@subject:​Welcome to SnapBill
 +== Hi $client->​firstname ==
 +Welcome to ......
developers/templates/files.txt ยท Last modified: 2014/10/18 12:39 by Jaco van Wyk