Comdev - More PHP Modules For Your Website

Your One Stop PHP Scripts Provider

Visit SEO In-a-Box at Comdev.com

Customer Login

Comdev Events Calendar . PHP Online Calendar Software


What makes us different to provide what you need?




Buy Events Calendar


Go to Store. Click Here


Events Calendar > Getting Started > Web Page Integration




One of our product uniqueness is we made our scripts capable to fit into your existing web design.

Before   After Integration

1. Create New PHP Page


Create a PHP page where you would like to publish your calendar. Save the web page file with .php extension, such as calendar.php. You can put the file in any directory on the server.


2. Find the Document Path


To ensure that your Events Calendar works regardless the location of the PHP page, you will need to add your server's Document Path to all the PHP include codes.

To find the Document Path, open the

/myadmin/config.php

file with your text editor, and note down the value for $path["docroot"]. Let's assume the Document Path is C:/wwwroot/user/myadmin/


3. Include config.php, session.php and css.php


Insert the codes below to your PHP page to call the

config.php

,

session.php

and

css.php

. This will load all the necessary database connection, program libraries and CSS.

To do this, open the calendar.php file with text editor, and put it to the

topmost line (line 1)

of the PHP file, without any preceded character.

<?php
  include_once ("C:/wwwroot/user/myadmin/config.php");

  include_once ("C:/wwwroot/user/myadmin/common/session.php");
  include_once ("C:/wwwroot/user/myadmin/common/css.php");
?>

4. Include Events Calendar Menu, Upcoming Events and Content


a. To display upcoming events in your website:-

<?php include("C:/wwwroot/user/myadmin/calendar/home.upcoming.php"); ?>
b. To display event types and search in the menu area:-

<?php include("C:/wwwroot/user/myadmin/calendar/home.menu.php"); ?>
c. To display the calendar in content area:-

<?php include("C:/wwwroot/user/myadmin/calendar/home.calendar.php"); ?>
Save your web page file and upload it via FTP.


5. View Integration Result


Now, proceed to your web page URL, eg: http://your-domain-name/calendar.php to view your Events Calendar front-end integration result.









Copyright © 2002-2008 by Comdev Software Sdn Bhd. All Rights Reserved. License AgreementPrivacy Policy Site Map