SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1492 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

These links are correctly resolved when
a document is derived from this template to reflect the stored location of the new file.
Let??™s assume that the third file, about.htm, has not yet been created, and so you enter that link by hand. The
common mistake is entering the pathname as it should appear when it??™s used: about.htm. However, because
the page is saved in the Templates folder, Dreamweaver converts that link to /Templates/about.htm for
any page derived from the template??”and the link will fail. This type of error also applies to dependent files,
such as graphics or other media.
The best solution is to always use the Folder or the Point-to-File icon to link to an existing file when building
your templates. If the file does not exist, and if you don??™t want to create a placeholder page for it, link to
another existing file in the same folder and modify the link manually.
Handling special template workflows
There is one special circumstance in which you would not use the Folder or Point-to-File icon to do your
linking for you. Let??™s suppose your site design calls for each page to link to a CSS file in the same folder as
the file itself; a technique like this is used when you want to vary pages by departments and each department
has its own folder.


Pages:
1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504