“Poly” Documentation by “Fast Hive” v1.0


“Poly”

Created at: 01/01/2016
By: Fast Hive
E-mail: info@fasthive.com

Thank you for purchasing Poly. If you have any questions that are beyond the scope of this help file, Please feel free to contact us by using this contact form here. Thank you for your cooperation.


Table of Contents

  1. What is Poly?
  2. Installation
  3. How to Access the Control Panel?
  4. Change Website Settings
  5. Add/Delete Users
  6. Create a New Category
  7. Create a New Post
  8. Edit/Delete Category or a Post
  9. Contact Us Form
  10. How to edit Poly template?

A) What is Poly - top

Poly is a multi-use web based software, especially designed to build user-friendly useful to modify blogs and websites. Poly is a platform for those specialised in blogging and web design, and provides them with simplified and flexible interface, search engine optimisation, easy publishing, installation and upgrades, various publishing tools, easy theme selection, straightforward user management, data ownership and full standards compliance. The software offers multifunctions at a very cheap price, and can also be used as a base for other app developers interested in customisation and further code development.

Select Features:

  • Post Creation: We have made post creation smooth and accessible, through our easy to use control panel. You will not need to struggle to find icons to create a post, our design is suitable for amateurs.
  • Template Systems: Our application can be used to create sleek and elegant themes, that can be reused and shared with other users. You can create simple straightforward themes, or complicated stylish ones. You will own the theme you have created, and you have the freedom to share it with others.
  • Multiple Administrators: Our straightforward design allow for multiple users to use the application. The users are easy to manage, you can provide full or restricted access to users in a trouble-free manner.


  • B) Installation - top

    Requirements

    1) Poly Requires PHP 5 and MySQL.

    2) Domain Name and Web Hosting.


    1) Setting Up Your MySQL & FTP server

    First thing you want to do, is to make sure you create a MySQL database along with an user for it (IMPORTANT NOTE: Copy somewhere your mysql username, and password, as you will need them later)

    Setup your FTP server for the domain where the script will be installed.


    2) Upload Process

  • The first step is to upload the content inside the folder "Script" (IMPORTANT NOTE: Upload what's inside the folder Script, not the script folder) into your public_html folder or into your default FTP root folder.
  • The second thing is to upload your .sql file from the folder called "MySQL" using the IMPORT function available in phpMyAdmin.


  • 3) Installation Process

    Now, After you uploaded everything, You can start the installation process.

    Changes inside the files
    With a text editor (e.g.: Notepad), Open the following folder located inside the '/includes/' file: config.php. Now, Replace what's inside the brackets (e.g.: 'Your Database Host') with your MySQL settings,

    	
    		define("DB_HOST", "Your Database Host"); 
    		define("DB_USER", "Database Username"); 
    		define("DB_PASS", "Database Password");
    		define("DB_NAME", "Database Name");
    		
    Save and exit.

    Now, After you finished the steps above, Upload the edited file config.php to includes folder using FTP.


    C) How to Access the Control Panel? - top

    Accessing the control panel can be done through: example.com/administration
    The default username is "Admin", and the password is "Admin" without quotes.


    D) Changing Website Settings - top

    Through the control panel, There is a menu containing Settings, In the settings page you can change the site title, Description, Keywords, Logo and copyright text.


    E) Add/Delete Users - top

    Adding a New User

    Through the control panel, There is a menu containing Users, At the bottom of the Users page, you will find a new user button.

    Deleting a User

    Through the control panel, There is a menu containing Users, Click on it and you will find a delete icon next to each user, Click it to delete the user.


    F) Create a New Category - top

    Through the control panel, There is a menu containing categories, Click on it and at the bottom of the categories page, You will find a new category button.


    G) Create a New Post - top

    Through the control panel, there is a menu containing Add New, Click on it and add your content, Then click on "Add Post"


    H) Edit/Delete Category or a Post - top

    Delete a Category

    Through the control panel, There is a menu containing Categories, Click on it and you will find a delete icon next to each category, Click it to delete the category.

    Delete a Post

    Through the control panel, There is a menu containing All Posts, Click on it and you will find a delete icon next to each post, Click it to delete the post.


    I) Contact Form - top

    Through the control panel under Settings, Just change the email address to the email you want messages to be sent to.


    J) How to edit Poly template - top

    This part is to guide you throughout the customization of the template. HTML and CSS knowledhe is required to customize this template.

    Requirements: You will need the following software to customize this template:

    If you have successfully downloaded the package and extracted the zip file you should be able to navigate to the following directory template/default. This directory contains all the tempalte files that you may want to edit! you should see file structure as follows

    		Script/
    		├── template/
    		│   ├── default/    
    		│   │	├── assets/ - Includes the CSS and JS files. 
    		│   │	├── category.phtml - Category Template File
    		│   │	├── contactus.phtml - Contact Us Template File
    		│   │	├── index.phtml - Home Page Template File
    		│   │	├── post.phtml - Post Template File
    		

    If you want to create a custom theme, you can either customize an existing theme or start from scratch.

    The .phtml files which are HTML files that have php instructions that pieces your pages together. They are essentially HTML files with PHP instructions that pulls content from your database and constructs the pages.


    Code Reference

    Site Information These variables displays information for your site, mostly gathered from the information you supply in the Settings page. It can be used anywhere within a template file.

    1. {{ site.url }} - Displays the site url.
    2. {{ site.title }} - Displays the site title.
    3. {{ site.copyright }} - Displays the site copyright.
    4. {{ site.description }} - Displays the site description.
    5. {{ site.keywords }} - Displays the site keywords.
    6. {{ site.logo }} - Displays the site logo name.
    7. {{ site.email }} - Displays the site email.
    8. {{ site.phone }} - Displays the site phone.
    9. {{ site.city }} - Displays the site city.
    10. {{ site.country }} - Displays the country.
    11. {{ site.address1 }} - Displays the address.
    12. {{ site.name }} - Displays the business name.

    Post - These variables displays information for any post, It can be used anywhere within the post template file.

    Category - These variables displays information for a category, It can be used anywhere within the category template file.

    Posts Loop in Home and Categories Pages

    The Loop should be placed in index.phtml and in any other templates used to display post information.

    Here is a quick example for a loop

    			{% for post in posts %}
    			
    			{{ post.title }}
    			{{ post.content }}
    			{{ post.date }}
    			
    			{% endfor %}
    			

    Once again, Thank you so much for purchasing Poly. As we mentioned at the beginning, Please feel free to contact us via this contact form here. We will do do our best to.

    Fast Hive

    Go To Table of Contents