Manual

Documentation for program's code in detail.

by Andreas Plank

Table of Contents

Introduction

This program runs with PHP (5.1.1) and MySQL as database backend. A user documentation is written in readme.html.

License

This software is licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported and only images made by Andreas Plank are under the same license. For all other images you have to ask the original author and their editors or publisher to reproduce those images!

There is no warranty for the program. The entire risk as to the quality and performance of the program is with you. Should the program prove defective, you assume the cost of all necessary servicing, repair or correction.

Getting started

  1. Install the free Webserver XAMPP from http://www.apachefriends.org.
  2. Move/extract folder china and phpmyadmin2-11-4 into the local web folder at 'root' position (htdocs-something):
    • Windows: C:\...\apachefriends\...\htdocs\ or C:\...\xampp\...\htdocs\
    • Linux: /opt/lampp/htdocs/
  3. Start the local webserver program, if it isn't already running (Windows: Controlpanel, Linux: type into console as root /opt/lampp/lampp start). All webpages you want to see later can reached by typing an address like http://localhost/.... But you have to store all data/folders (readable!) in C:\...\htdocs\ (Windows) or /opt/lampp/htdocs/ (Linux). Later the key's address is http://localhost/chip/adults/

Install/Update easy way

For first install use http://localhost/chip/adults/install/install.php. Update can be done with this script as well (http://localhost/chip/adults/install/install.php?action=update). In addition there is a script that checks image integrity of table `images` versus images in folder species: http://localhost/chip/adults/install/check.php.

Modifying/adding things

Below are some hints for altering or changing menus or tools etc.

Running different versions

Settings can be changed in configuration file structure/config.php

Popup window with menue

Alter language characters

You can alter or add special characters for language input for the text area field. See variable $config['languages'].

Replacing strings

Alter colors for descriptions

Add/alter genus search

Generally a meta serach engine such as http://eu.ixquick.com/ is a suitable way to find information in the internet. Often URL syntax changes, so an adaptation is necessary:

Change map size

Use CSS-class 'openlayermap' in file structure/basic.css and for printing in print.css. Default is:

div.openlayermap { width:512px; height:256px; border:1px solid; }

It should be possible to use also other features from the Openlayer Project, but it was not tested. Feel free to change.

Documentation generated on Sun, 19 Jul 2009 14:49:04 +0800 by phpDocumentor 1.4.2