2. Choose Insert ??? Server-Side Include or choose Script:SSI from the Insert bar??™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 dynamically 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 Property inspector be available, the SSI Property inspector 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 Property inspector.
4. In the Property inspector, 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 Type Virtual
option.
Editing server-side Includes
As is the case with Library items, you cannot directly edit files that have been inserted into a Web page
using server-side includes.
Pages:
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584