This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
template-import [2014/12/20 11:42] 127.0.0.1 external edit |
template-import [2017/07/26 08:23] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Preparing your template and files for import ===== | ===== Preparing your template and files for import ===== | ||
- | To import your own [[templates|template]] into Sentori you must upload the HTML and images (unless they're hosted elsewhere) in a zip file with the following files and structure. | + | To import your own [[templates|template]] into Sentori you must upload the HTML and images (unless they're hosted elsewhere) in a Zip file with the following files and structure: |
- | * All files must be loose in the root of the zip. (Note: Mac OSX's "compress" option will put your files in a sub-folder, so you should use StuffIt or alternative compression software). | + | |
- | * Your HTML must be in a file named index.html. | + | |
- | * If you wish Sentori to host your images, they must be loose in the root of the zip file. | + | |
+ | === How to setup your Zip file === | ||
+ | |||
+ | * Your HTML file must be named index.html | ||
+ | * All content (the index.html file and any image files) must either be loose in the root of the Zip file, or contained in a single folder inside of it. | ||
+ | * The "src" attribute of any images must either use absolute URLs to images hosted elsewhere or simply contain the name of the file found in the Zip file so <img src="logo.png" /> and //not// <img src="**images/**logo.png" />. | ||
+ | |||
+ | Note: by default Macs will automatically create a sub-folder inside a Zip file. | ||
===== Importing your template ===== | ===== Importing your template ===== | ||
Line 13: | Line 17: | ||
* Click Upload Template and choose whether you are uploading an email or a webpage template. | * Click Upload Template and choose whether you are uploading an email or a webpage template. | ||
* Specify a Name (this is internal to Sentori only), description (optional), and reply address (email only). | * Specify a Name (this is internal to Sentori only), description (optional), and reply address (email only). | ||
- | * Click the Choose File button and locate your zip file on your computer. | + | * Click the Choose File button and locate your Zip file on your computer. |
* Click Upload My Zip File. | * Click Upload My Zip File. | ||