Developer’s Guide

Table Of Contents
Custom web publishing using CDML 8-17
Once a guest signs in and sends the information, a summary page is
returned notifying the guest that the information has been received.
The summary page contains [FMP-Field] replacement tags for the
first and last name of the guest that was entered in the new record.
Arrow icons on the New Record page indicate three fields that are
required fields in the database. If any of these fields is left blank
when the information is submitted to the database, then the error
message page (gb_err.htm) is displayed. The error page is specified
on the New Record page in a hidden INPUT element.
<INPUT TYPE="hidden" NAME="-error" VALUE="gb_err.htm">
For information, see “Creating error messages” on page 8-13.
Shopping Cart example
The Shopping Cart example is a complex web site for the Knitting
Factory record label company. The site includes five databases for
searching and browsing the company’s product list, listening to
audio demos, and placing orders.
The site keeps track of each web user by passing CDML tokens from
one web page to the next. Some of the CDML format files use the
[FMP-Include] replacement tag to reference text files and include
their content on the web pages. In addition, the site uses scripting for
easy navigation, which is described in the nav.js JavaScript library.
The Guest Book summary page shows the web
user’s first and last names from the new record
Web users add records to the empty Guest_Book.fp5 database