CoolBrew User Guide Version 1.3
Based on CodeIgniter Version 1.5.4


Getting Started

CoolBrew is designed to make it simple to add dynamic content to your websites. To illustrate the process, let's look at an example.

The coolbrew.inc.php File

The coolbrew.inc.php file is the key to connecting your static web pages to the CoolBrew system. Let's start by creating a new file called test.php with the following contents:

Save the file to your website and load it in your browser:

http://www.yourdomain.com/test.php

At this point, you should just see the "This is a CoolBrew sample page" message displayed at the top of the page.

Note: Your web server needs to be set up to interpret PHP code. Otherwise, you will just see the PHP code displayed as text at the top of your pages. For more information about how to do this, see the Troubleshooting section in this manual.

Adding a Tag

Now that your file is tied into the CoolBrew system, you can start using tags. Let's add the following tag below the "sample page" message and re-upload the file to your server:

This tag should generate an HTML calendar on your page with today's date bolded. For more information about this tag, see the Calendar Module section in this User Guide.

It's just that simple!