INSTALLATION INSTRUCTIONS
Contemplate(tm) Web Templating System

-----------------------------------------------------------------------

1. Upload the Contemplate files to a directory called "contemplate" at the root level
of your website.

2. Add root-level directories called "content" and "templates." See the "quick start" link
below for instructions about what to put into those directories.

3. After you've set up content and templates, try viewing an assembled page by browsing to
http://www.yourdomain.com/contemplate/assembler.php?page=yourpagename

4. If the page displays correctly, you can look in the contemplate/htaccess file
for instructions on how to access the same page at
http://www.yourdomain.com/pages/yourpagename.html

5. If you wish to use the Contemplate Reporter to track visitors and page views,
you'll need a MySQL database; you can create a new one or use an existing one.
Enter your database connection details into the REPORTER_DATABASE settings in
config/constants.php. Also, make sure LOG_SITE_TRAFFIC is set to true.

6. Run this SQL query to create a new table for the Reporter:

	CREATE TABLE `reporter` (
	  `timestamp` datetime NOT NULL default '0000-00-00 00:00:00',
	  `visitor_id` tinytext NOT NULL,
	  `ip_address` tinytext NOT NULL,
	  `host` tinytext NOT NULL,
	  `page` tinytext NOT NULL,
	  `user_agent` tinytext NOT NULL,
	  `referrer` tinytext NOT NULL,
	  `entry` tinyint(3) NOT NULL default '0',
	  `exit` tinyint(3) NOT NULL default '0',
	  `duration` smallint(6) NOT NULL default '0',
	  `http_status` smallint(6) NOT NULL default '0',
	  `assembler_error` tinytext NOT NULL
	);

7. View a few website pages to generate some data. Then browse to
http://www.yourdomain.com/contemplate/reporter/reporter.php to view the reports.
If you wish to password-protect your reports, you can specify a password for the
PASSWORD setting in config/constants.php.


For a quick start guide to setting up your content and templates, visit
http://www.arlomedia.com/software/contemplate/assembled/documentation_quickstart.html

If you still need help, visit
http://www.arlomedia.com/software/contemplate/assembled/community.html
