PreviousNextHome

4. Configuration

Configuration of EternalMart Guestbook is SIMPLE and EASY!

Before you run the script, you are required to do the following first:

  1. Edit the file emgb_config.php.
  2. Design and customize templates files
  3. Create database
  4. Upload the necessary files to your web server.
  5. Configure your preference settings via web-based control panel

Modification of EternalMart Guestbook Configuration File (emgb_config.php)

  1. Open the file emgb_config.php with a text editor.
  2. Follow the listed instructions to configure the variables. These variables are preceded by comment lines (lines beginning with the // symbol) that explain how you should set the variables.
  3. Save the file in ASCII mode.
Design and customize templates files

You need to customize the following templates files :

template_emgb.html
template_emgb_form.html
template_emgb_preview.html
template_emgb_thankyou.html
template_emgb_view.html
template_emgb_view_message.html

You can use your html authoring tools to edit these pages to suit your style on your website.

template_emgb.html is used to display header and footer information.
template_emgb_form.html is used to display guestbook input form. template_preview.html is used to preview guestbook entry. template_emgb_thankyou.html is used to thank your visitors.
template_emgb_view.html is guestbook entry table.
template_emgb_view_message.html is guestbook entry row.

You can modify those template files to your style. When modifing these files, please don't modify text which is embraced with '{' and '}'. They are KEYWORDS. If they are modified, strange result may occur.

Import table structures into MySQL Database

You need to create MySQL database for the script to store messages. The table structures are listed in the file 'emgb.sql' under the directory 'sql'


To import table structures into MySQL, you should create the database first. Please visit the site http://www.mysql.com for more information on how to create database in MySQL.

You can import the table structures by entering the following command at the command prompt:

mysql -u username -p password dbname < emgb.sql

where username, password and dbname is your username, password and database name respectively .


http://www.eternalmart.com PreviousNextHome
Copyright(C) 2001 EternalMart All rights reserved.