
Reusing Content with Templates and Libraries
405
Some servers are configured to examine all files to see if they contain server-side
includes; other servers are configured to examine only files with a particular file
extension, such as .shtml, .shtm, or .inc. If a server-side include isn’t working for
you, ask your system administrator if you need to use a special extension in the
name of the file that uses the include. (For example, if the file is named
canoe.html, you may have to rename it to canoe.shtml.) If you want your files to
retain .html or .htm extensions, ask your system administrator to configure the
server to examine all files (not just files with a certain extension) for server-side
includes. Parsing a file for server-side includes takes a little extra time, though, so
pages that the server parses are served a little more slowly than other pages; some
system administrators therefore won’t provide the option of parsing all files.
To insert a server-side include:
1
Choose Insert > Server-Side Include or click the SSI button in the Common
category of the Objects panel.
2
In the dialog box that appears, browse to and select a file.
To change which file is included:
1
Select the server-side include in the Document window.
2
Open the Property inspector.
3
Do one of the following:
•
Click the folder icon and browse to and select a new file to include.
•
In the text box, type the path and file name of the new file to include.
Содержание 38028779 - Macromedia Dreamweaver - Mac
Страница 1: ...macromedia Using Dreamweaver...
Страница 148: ...Chapter 4 148...
Страница 296: ...Chapter 12 296...
Страница 472: ...Chapter 18 472...
Страница 512: ...Chapter 21 512...
Страница 562: ...Appendix 562...