“Facebook Events Calendar” Documentation by “TivaTheme” v1.0


Facebook Events Calendar

Created: 12/07/2018
Updated: 12/07/2018
By: TivaTheme
Email: tivatheme@cloodo.com

Thank you for purchasing my product. 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. Overview
  2. System Requirements
  3. Installation
  4. Usage

A) Overview - top

Now, there are more and more people who use Facebook for their business. One of information they want to display is Facebook Event.

Facebook Events Calendar is script which help you to display all Facebook events on calendar. It is very flexible and easy to install and integrate into your website.

Facebook Events Calendar Full Layout

With nice popup, user can quick-view event for each day, view event list and event detail. Your Facebook events will be displayed lively and logically. There are 2 layout for your choice : full layout and compact layout.

Facebook Events Calendar Compact Layout

You can put events calendar everywhere in your website via just simple configuration. You can also change language for calendar via js language file.

Why choose Facebook Events Calendar ?


B) System Requirements - top

This product is compatible with :

Compatible Browsers :


C) Installation - top

Step 1: Firstly, you need create Facebook application on https://developers.facebook.com. You can refer how to do it here: https://developers.facebook.com/docs/apps/register/. Your Facebook application must be on status In Development. Remember the ID and Secret of application.

Facebook Application

Step 2: Upload script package (facebook-events-calendar.zip) to your host, then extract it.

Step 3: Create new MySQL database, then import file : config/database.sql.

Step 4: Open file config/database.php, then edit the config info to connect to the database which you have created (host, database, username, password).

Step 5: Go to the admin site:

On Facebook Connection configuration, enter the ID and Secret of your Facebook Application (Step 1), then click Save button to save the info of your app. Then copy the link on the browser (see below image). Note: Your website must run on https (SSL certificate).

Config Connection

Step 6: Go to your Facebook Application again, then create new Product with type Facebook Login.

Facebook Product Facebook Product

Step 7: On the settings of product, enter the link which you have copied from Step 5 on the Valid OAuth Redirect URIs.

Facebook Product

Step 8: Go to the Facebook Application on admin again, then click Login with Facebook button. Then give the permission for application to access the info of your pages.

Config Module Config Module Config Module

If the process is successful, you will see your Avatar, User ID, Access Token and all the Facebook pages which you manage. Select the Facebook page from which you want to display events. Then click Save button.

Config Module


D) Usage - top

On your frontend HTML file, include some CSS and JS files. If your website has already bootstrap, font-awesome and jquery, don't need include them.

<!-- Include CSS files -->
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<link rel="stylesheet" href="assets/css/calendar.css">
<link rel="stylesheet" href="assets/css/calendar_full.css">
<link rel="stylesheet" href="assets/css/calendar_compact.css">

<!-- Include Language file -->
<script src="assets/languages/lang.js"></script>

<!-- Include JS files -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/calendar.js"></script>

To display events calendar in page, just use shortcode HTML with structure:

<div class="tiva-events-calendar full" data-view="calendar" data-switch="show"></div>

In which :


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

TivaTheme

Go To Table of Contents