Section 20.1. Deciding What Goes


20.1. Deciding What Goes

Most of the stuff in your local root folder belongs on the Web for everyone to see and enjoy, but not all of it. Your Templates folder, for instance, is crucially important to you, the designer of the site, but it has nothing to do with your site in its published form, because none of your pages actually link to the template document. The same is true for a work or miscellany folder that you keep inside the local root folder for convenience's sake. It's great to store your notes, prototypes, experiments, outdated pages, orphaned files, and production files in the same folder as your site, but you don't want to post these files to the Web.

Remember the cloaking feature from Chapter 7, where you hid certain types of files from Dreamweaver? As it turns out, you can also cloak entire folders to prevent Dreamweaver from publishing them to the Web.

TIP

Cloaked files appear in the Files panel with a red line through them, but don't let the red ink fool you. Cloaking doesn't mean that you can't open and edit these files. It simply means that they're skipped during the publishing process.


To cloak a folder in your site, select it in the Files panel. Then right-click for the context menu, and choose Cloaking Cloak. Dreamweaver draws a red line through the folders icon, as Figure 20-1 shows. To uncloak a previously cloaked folder, select it in the Files panel, right-click, and choose Cloaking Uncloak from the context menu.

Figure 20-1. Cloaking designer-only folders in your site


TIP

When you cloak your Templates folder, Dreamweaver informs you that this operation only affects Get and Put commandsin other words, the publishing of your site. This is exactly what you want, so click OK.


TECHTALK

Putting your site means uploading it from your computer to your web host's computer for publication on the Web.




Dreamweaver 8 Design and Construction
Dreamweaver 8 Design and Construction (OReilly Digital Studio)
ISBN: 0596101635
EAN: 2147483647
Year: N/A
Pages: 154
Authors: Marc Campbell

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net