# How to install

How to install app zillapage

## **Server Requirements**

### **\*\*\*Required MYSQL version > 5.7 or MariaDB version > 10.2**

* PHP >= 7.3
* openssl
* pdo
* gd
* tokenizer
* JSON
* bcmath
* exif
* mbstring
* xml
* ctype
* cURL
* zip

## Step by step install

* Extract downloaded archive&#x20;
* Upload file zillpage.zip to the server&#x20;
* Extract file zillpage.zip on the server&#x20;
* Create .env from .env-example
* Directories storage, bootstrap 0775&#x20;
* Go to web url: <http://your-web.site/install>&#x20;
* Follow instructions on the screen.

## [Video Install](https://www.youtube.com/watch?v=ENk8vsFY3uI)

> <https://www.youtube.com/watch?v=ENk8vsFY3uI>

{% embed url="<https://www.youtube.com/watch?v=ENk8vsFY3uI>" %}


# Setup Sub-domain

This document guides you through setting up auto subdomains for your app

### **STEP 1**: Add a DNS record for main-domain

![](https://850593793-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYApEZXe_vNVj_bFjvf%2F-MYAvjd6YezlB_PJ61Ep%2F-MYAwU1zyEnxnul7_dIw%2Fzillpage_sub_domain_new_record.png?alt=media\&token=62492b2e-a025-46e4-bc23-e5248f93ee32)

### **STEP 2:** Create a subdomain on Cpanel

**\*\*Subdomain** **document\_root** will like **document\_root** **main domain**

![](https://850593793-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYApEZXe_vNVj_bFjvf%2F-MYAvjd6YezlB_PJ61Ep%2F-MYAwrbsuDlW_Eongdv3%2Fzillpage_sub_domain_add_subdomain_hosting.png?alt=media\&token=3b48f37a-5723-4c4b-b2fa-8ab845b4a8ce)


# Setup Custom-domain

This document guides you through setting up subdomains for customer landing page

### **STEP 1: Customer** save custom-domain in landing page

![](https://850593793-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYApEZXe_vNVj_bFjvf%2F-MYD5FrAnrC4uEdopSaV%2F-MYD7-lHPMoJPQZMTKDd%2Fzillapage_customdomain.png?alt=media\&token=8a93acf2-f97b-480f-a76b-5f92cefd508e)

### **STEP 2: Customer** add a DNS record on their domain

![](https://850593793-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYApEZXe_vNVj_bFjvf%2F-MYD5FrAnrC4uEdopSaV%2F-MYD733E0I4kKFbUKv5K%2Fzillapage_customdomain2.png?alt=media\&token=f16dfe3e-d67f-424a-a3c5-02c030e861d9)

### **STEP 3: Admin** add new add-on domain with customer domain on cpanel

![](https://850593793-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYApEZXe_vNVj_bFjvf%2F-MYD5FrAnrC4uEdopSaV%2F-MYD74UZrKupQJrfB1FU%2Fzillapage_customdomain3.png?alt=media\&token=dc0a6eea-eb65-4a16-a799-ff3310809582)

> You can skip to step 3 with a **VPS (Apache)**
>
> Config your VPS Apache with this VirtualHost. ( Change your domain **yourdomain.com** and your app path: **/var/www/your\_app\_path**)

```
<VirtualHost *:80>
    #ServerAdmin admin@admin.com
    ServerName yourdomain.com
    ServerAlias *
    DocumentRoot /var/www/your_app_path
    
    <Directory /var/www/your_app_path>
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
    </Directory>
</VirtualHost>
```


# Setup send Email

### **Step 1:** Setup SMTP account

You can use vendor like: **MailGun, Sendinblue, Amazone SES...**

![](https://850593793-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYApEZXe_vNVj_bFjvf%2F-MYDpUlzKgOgM_-3nS0u%2F-MYDq-mPVZhCNYqmddV5%2Fzillapage_email_setting.png?alt=media\&token=3a784351-5598-4955-9092-3f351359ccc7)

### **Step 2:** Setup Scheduling Cron&#x20;

Config **Cronjob** on Cpanel

/usr/local/bin/php **/home/gomindto/public\_html/zillapage/**&#x61;rtisan schedule:run >> /dev/null 2>&1

![](https://850593793-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYApEZXe_vNVj_bFjvf%2F-MYE2FUy1z0zxVa9rdUk%2F-MYE9sOnyn8m_DvIJolA%2Fzillapage_schedule_setting.png?alt=media\&token=3b091dfb-0c8e-4c1d-9590-3296c95007d8)


# Change brandname and logo

Access admin: /**settings** and change your brandname and logo

![](https://850593793-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYApEZXe_vNVj_bFjvf%2F-MYDDVF-HMlrEXEIh9-A%2F-MYDEAf0DvciduceYLcF%2Fchangebrandname_setting.png?alt=media\&token=2e18b068-49fd-4302-9775-894e57506280)


# Which hosting should I use?

## Sale on World Class Web Hosting

For a limited time get our award winning web hosting at a huge discount. starting at **$2.24/mo\***

{% embed url="<https://my.hawkhost.com/aff.php?aff=14922>" %}


# How to upgrade?

You Can Upgrade App With One Click In Admin settings/modulesmanager

> *Note if you have **edited the source code**. You need to backup source code before updating. This is because your changes may be lost during the update.*

![](https://850593793-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYApEZXe_vNVj_bFjvf%2F-MYArusvaT2G199lM_sV%2F-MYAsg0c2vHux3ArfcW4%2Fupgrade.png?alt=media\&token=af570440-72a2-4633-a4a1-629979807224)


# What about license?

If your end product including the item is going to be free to the end user then a Regular License is what you need. An Extended License is required if the end user must pay to use the end product.

## Zillapage Core

This is link basic for regular license and extended license.

{% embed url="<https://codecanyon.net/licenses/standard>" %}

## Business with **Saas**

If you want business with **Saas**. You only buy [**zillapage core** (regular license)](https://codecanyon.net/item/zillapage-generate-leads-and-sell-your-products-with-landing-pages/30458427) and buy [**Module SAAS (extended license)**](https://zillapage.com/product/module-saas-zillpage)


# Versions: Change log

### Version 1.1.4 – April 12, 2021

* add default language
* add again multi language
* add new block basic in builder
* Fix bug php 8 Deprecated function
* Update total amount zero\_decimal some currencies
* Fix checkout payment method required Ecommerce module
* fix some bug version 1.1.3

### Version 1.1.3 – April 7, 2021

* Add feature Admin builder template.&#x20;
* Clean code remove multi language.&#x20;
* Add Module E-commerce.&#x20;
* Fix bug Mail template name Zillapage not work.&#x20;
* Fix Register email error 500 without SMTP email Thank you.

> \***IMPORTANT** - Update version 1.1.2 to 1.1.3 After click button update version please remove folder /Modules/Language

### Version 1.1.2 – Mar 29, 2021

* Fix 419 page expried on hosting old just blank lines. Its ANY character before the&#x20;
* fix error custom domain post fail
* Fix table lead get code fail landing page
* fix bug clone landing page subdomain
* Fix pagaintion laravel 8
* fix bug stripe button checkout
* Update Laravel 8&#x20;
* Remove meta crf\_token
* Fix php laravel required when install
* add htaccess with ssl force
* fix bug blocks content

### Version 1.1.1 – Mar 22, 2021

* Fix bug install license latest version
* Remove feature deactive license
* Update builder and fix bug image upload

### Version 1.0.9 – Mar 10, 2021

* Fix upload file landing builder
* Update htaccess http

### Version 1.0.8 – Mar 7, 2021

* Leads menu and featues
* Fix bug and update leads website

### Version 1.0.7 – Mar 5, 2021

* Update builder landing page
* Update source code
* Fix bug

### Version 1.0.6 – Feb 26, 2021

* Add Thank You Page
* Edit setting form
* Update Template with Thank You Page

### Version 1.0.5 – Feb 20, 2021

* Fix bug Install
* Fix bug Preview Template

### Version 1.0 – Feb 5, 2021

* Initial Release


# Install module

## Install module with license

**Step 1:** Buy Module License On [Zillapage.Com](https://zillapage.com/product-category/modules/)

**Step 2**: Get License On Email Or Submit Order Succeees

![](https://850593793-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYApEZXe_vNVj_bFjvf%2F-MZq6gM0BeRloLS6KUFP%2F-MZq7-0KzWDVYsjRoSzU%2Finstall_module_1.png?alt=media\&token=5d8bdeb1-31b2-4a0b-a079-10d04732e944)

**Step 3**: Access Modulesmanager In Admin And Install

![](https://850593793-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYApEZXe_vNVj_bFjvf%2F-MZq6gM0BeRloLS6KUFP%2F-MZq78OKa6plVZAS02Jc%2Finstall_module_2.png?alt=media\&token=59c4d9e4-89e2-41ff-a701-405cbc8665b9)

## **Install module manually**

**Step 1:** Download file zip, Extract file zip

**Step 2**: Copy **Module\_Name** in folder **app\_path/Modules/**

**Step 3:** Run url **yourdomain/settings/updateversion** for migrate database


# How to add a new template?

### Add with admin builder feature.

**Step 1:** access **/settings/templates**

**Step 2:** Click the button to clone a template available

![](https://850593793-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYApEZXe_vNVj_bFjvf%2F-MkjByr9dNPqw6Qh2ZvW%2F-MkjD7NzMtIFAhzYvzeu%2FScreen%20Shot%202021-09-29%20at%2008.42.23.png?alt=media\&token=a65c64b7-7a20-4063-8fea-5ff73145f102)

**Step 3:** Click **button builder** for build template

![](https://850593793-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYApEZXe_vNVj_bFjvf%2F-MkjByr9dNPqw6Qh2ZvW%2F-MkjDCMbypFcHW8hAASo%2FScreen%20Shot%202021-09-29%20at%2008.42.53.png?alt=media\&token=90bfb4c8-960f-4a68-aa91-ca85c2496352)

### Adding templates with your HTML and CSS code

*This is a guide for programmers. You need HTML and CSS skills to understand it.*

#### **Struct template HTML and CSS**

![](https://850593793-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYApEZXe_vNVj_bFjvf%2F-MkjByr9dNPqw6Qh2ZvW%2F-MkjJc4aBoNdCEznNBj_%2FMarketing-Online-Page-8.drawio%20\(1\).png?alt=media\&token=6f91092f-bfbe-4601-8484-e86b64f3caf1)

#### Some Rule for CSS and HTML to **fit with the builder**

**General**: \
\- Use **Bootstrap 4.5** default and **font-awesome 5.15** \
\- Separate CSS does not code in HTML\
\- Do not use a **background image and overlay** it will not work with the builder\
\- Don't use **"important attribute"** for **CSS**. The user can't change style in the builder

Use code bellow for set **background image**

```
#id {
    background: url (##image_url##image.jpg) rgba (0, 0, 0, .7);
    background-size: cover;
    background-blend-mode: multiply
}
```

**Upload new image:**

```
#Template HTML or CSS: ##image_url##yourimage.png => Upload yourimage.png to public/images/content_media

```

**Icon:** \
Do not use class **fa-2x fa-3x** (To increase size). Increase the size with CSS


