The tutorials in this section are intended to illustrate a variety of common scenarios in which CMS may be applied.
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:
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.
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.
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.
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:
Create a new content type named "Press Release"
Add a custom attribute, location, to the "Press Release" content type.
Specify that the user input for the location should be a text box.
Create a few simple pages under the page root.
Create a folder named press to hold press releases.
Create a simple index page and a press release in the press folder.
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.
Last revised: $Id: tutorials.html,v 1.1 2002/07/09 17:35:03 rmello Exp $