Developer’s Guide

Table Of Contents
6-6
Developer’s Guide
Specifying a custom home page as the default
To specify the custom home page as the default in the Web
Companion Configuration dialog box:
1. Make sure the custom home page is located in the root level of the
Web folder (inside the FileMaker Pro folder).
The custom home page can be named anything but must be in HTML
format (with the .htm or .html filename extension).
2. In the Web Companion Configuration dialog box, choose your
custom home page from the Home Page list.
Using a custom home page with Instant
Web Publishing
The simplest and quickest way to publish your FileMaker database
on the Web is to let FileMaker Pro Instant Web Publishing design
your web pages for you. You can create your own home page to
replace the built-in FileMaker Pro Instant Web Portal page and still
use the instant web pages generated by the Web Companion.
For information about using your own custom CDML web pages
instead of Instant Web Publishing, see chapter 9, “Custom web
publishing using CDML.” See chapter 14, “Publishing on the Web,”
in the FileMaker Pro 5 User’s Guide or see FileMaker Pro Help for
information on using Instant Web Publishing.
To use a custom home page with Instant Web Publishing:
1. Create an HTML file for your home page using a text editor or
HTML editing program.
2. Save the file with the .htm or .html filename extension and place
it in the root level of the Web folder (inside the FileMaker Pro
folder).
3. Create an HREF link on this home page to each database that
you’re publishing and to the corresponding instant web page that you
want displayed.
In order for the Web Companion to generate an instant web page,
each link must contain a valid FileMaker Pro CGI command
including the correct filename of the instant web page. See “Finding
valid CGI commands for linking to instant web pages” next.
4. In the Web Companion Configuration dialog box, select Enable
Instant Web Publishing.
5. Choose your custom home page from the Home Page list and click
OK.
Finding valid CGI commands for linking to instant
web pages
Valid FileMaker Pro CGI commands that will cause the Web
Companion to generate instant web pages for your databases are
dependent on the web styles and browser views you set up for each
database and on the Language setting in the Web Companion
Configuration dialog box.
Here are some general steps for finding the appropriate CGI
command for linking to an instant web page:
1. Set up the Web Companion for Instant Web Publishing and
choose Built-In for the Home Page setting. (See “Enabling the Web
Companion” on page 6-3 and “Setting Web Companion
configuration options” on page 6-3.)
Any HTML file
located in the root
level of the Web
folder appears in
this list