
1024
Part VI
Enhancing Productivity and Web Site Management
To use server-side includes to incorporate a file, follow these steps:
1. In the Document window, place your cursor at the location where you would like to add
the server-side include.
2. Choose Insert ➪ Server-Side Include or choose Script:SSI from the Insert panel’s HTML
category. The standard Select File dialog box appears.
3. In the Select File dialog box, type the URL of the HTML page you would like to include in
the File Name text box or use the Browse button to locate the file. Click OK when you’re
finished.
Through the Select File dialog box, you can also select a data source for a dynami-
cally inserted SSI or link to an SSI already published on a server through the Sites and
Servers interface. However, SSIs inserted in this manner can be previewed in Dreamweaver only in
the Live Data view.
Dreamweaver displays the contents of the HTML file at the desired location in your
page. Should the Properties panel be available, the SSI Properties panel is displayed (see
Figure 29-6).
FIGURE 29-6
The selected text is actually a server-side include automatically translated by Dreamweaver, as evident from
the SSI Properties panel.
4. In the Properties panel, if the server-side include calls a file-relative document path, select
the Type File option. Alternatively, if the SSI calls a site-root–relative file, choose the T ...