3.5. Tutorials

Table of Contents
3.5.1. Getting Started
3.5.2. Press Release

The tutorials in this section are intended to illustrate a variety of common scenarios in which CMS may be applied.

3.5.1. Getting Started

Support files for all demos are located in the demo distribution of the CMS distribution. Before attempting any of the tutorials, you must do the following:

  1. Execute demo/sql/demo.sql in the appropriate database schema. This script creates a folder under the template root to store demo templates. It also creates an instance of a master template under this folder, and registers this template for use with all basic content items.

  2. Link demo/templates to the demo directory under the template root in the file system:

        
        ln -s `pwd`/ats/resources templates/ats
        	

    This contains all the templates used in the demos.

3.5.2. Press Release

A simple example of defining a custom content type, performing data entry using a system-generated form and publishing items.

Edit in progress...

The purpose of this tutorial is to illustrate the basic process of how CMS is deployed, including both developer preparation and the content production process itself.

3.5.2.1. Getting Started

Support files for all demos are located in the demo directory of the CMS distribution. For this demo, you will need to execute the press.sql script in the demo/sql directory. This script uses the content repository API to perform the following actions:

  1. Create a new content type named "Press Release"

  2. Add a custom attribute, location, to the "Press Release" content type.

  3. Specify that the user input for the location should be a text box.

  4. Create a few simple pages under the page root.

  5. Create a folder named press to hold press releases.

  6. Create a simple index page and a press release in the press folder.

  7. Register a template as the default for the "Press Release" content type.

All these operations are (or will be) accessible through the CMS UI as well.

karlg@arsdigita.com

Last revised: $Id: tutorials.html,v 1.1 2001/04/20 20:51:09 donb Exp $