### “Email editor” Documentation by “persefone_it” v1.0

# “Email editor”

Created: 09/09/2015
By: persefone_it

Thank you for purchasing Email editor.
it's a drag & drop email editor script in javascript Jquery and php built for developer. You can simply integrate this script in your web project and create custom email template with drag & drop.
If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!

## Table of Contents

1. Requirements and installation
2. Files and folder Structure
3. JavaScript Libraries
4. Faq

### A) Requirements and installation - top

Server requirements
It's necessary a web server that support php (for example Apache). It can be Windows or linux server. There aren't special libraries to load, just a server with php support.
Installation
Upload with FTP software the files and folders in your website and set chmod 777 to "tmp" folder.
Does exist a configuration file?
Yes, the file is called "config.php". It's yet configured

    $path         = $_SERVER['REQUEST_URI'];

    $path=str_replace("/index.php","",$path);

    $path=str_replace("/save.php","",$path);

let it point to the installation folder or leave it blank if it's installed in the root path

### B) HTML Structure - top

- index.php it's the main file that contain html, javascript and css files.
- config.php it's the configuration file.
- template.html it contains the css style and a tag {body} that will be replaced with the body of created template email.
- save.php it's file that saves all code (html + css) of email created.
- save_source.php it's file that saves all code without css.

### C) JavaScript Libraries - top

- http://feather.aviary.com/js/feather.js
- js/jquery.min.js
- jquery-ui.min.js
- jquery.ui.touch-punch.min.js
- bootstrap.min.js
- tinymce/tinymce.min.js
- colpick.js

### E) Faq - top

Where are stored the templates and previews saved?
In "tmp" folder. The final template with complete css is saved in files called with "template_" prefix. The only body of email without css is saved in files called with "body_" prefix.

                            template_xxxx.html

contains all html template included css

                            body_xxxxx.html

contains all html template except css
Can i re-edit the templates stored?
It's possible. You can call index.php in this way

                          index.php?filename=body_1451200148.html

where body_1451200148.html it's the file name of body contents saved How can you edit an existing html block?
There are 10 kinds of blocks identified by properties data-type

- data-type=“image”
- data-type=“title”
- data-type=“line”
- data-type=“text-block”
- data-type=“button”
- data-type=“imgtxt”
- data-type=“imgtxtcol”
- data-type=“imgtxtincol”
- data-type=“social-links”

that allow the opening of properties where you can edit and modify

Once again, thank you so much for purchasing this theme. As I said at the beginning, I'd be glad to help you if you have any questions relating to this theme. No guarantees, but I'll do my best to assist. If you have a more general question relating to the themes on ThemeForest, you might consider visiting the forums and asking your question in the "Item Discussion" section.

For further informations visit: http://www.emaileditor.net

Sandro

Go To Table of Contents