Skip to Main Content
Adobe® Dreamweaver® CS4 Bible
book

Adobe® Dreamweaver® CS4 Bible

by Joseph Lowery
March 2009
Beginner to intermediate content levelBeginner to intermediate
1321 pages
46h 24m
English
Wiley
Content preview from Adobe® Dreamweaver® CS4 Bible
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Adobe® Dreamweaver® CS5 Bible

Adobe® Dreamweaver® CS5 Bible

Joseph W. Lowery
Dreamweaver® CS3 Bible

Dreamweaver® CS3 Bible

Joseph W. Lowery

Publisher Resources

ISBN: 9780470382523Purchase book