THEPROOFINGSYSTEMS.COM

print proofs - www.theproofingsystems.com

Menu


    Cloaking Files Cloaking files is the process of hiding files from typical Dreamweaver operations such as global find and


replace, site synchronization, and so on. For instance, you might decide to keep original Photoshop PSD files, Fireworks PNG files, Illustrator AI files, Flash FLA files, and so on in your Assets folder. Although files such as these are important to the overall design of your site, they serve little purpose in terms of how your pages function. In this situation, you might want to cloak the entire Assets folder to speed up search features such as site synchronization (Dreamweaver simply ignores anything that is cloaked). Cloaking files in Dreamweaver is easy and can be done directly from the Files panel. Simply select the folder (I'll choose the Assets folder), right-click it to access the context menu, choose the Cloaking option, and select Cloak. After you've cloaked the folder, the icon changes to a green folder with a red line through it to visually remind you that the folder is cloaked. You can also use the Files panel Options menu to cloak and uncloak files. Let's use this method to uncloak the Assets folder: Select the Assets folder, click the Files panel Options menu, and choose Site, Cloaking, Uncloak. If you perform the site synchronization operation while the Assets folder is cloaked, the Assets panel is excluded from the search. Of course, you can also cloak all files with specific extensions by checking the Cloak Files Ending With option in the Cloaking category of the Site Definition window when you define your site. With this check box selected, you have the option of creating a space-delimited list of files that should be cloaked site wide. By default, all PNG and FLA files are cloaked. Building a Site Map You can use the site map as a visual representation of the navigation and structure of your website. This is increasingly important as your websites become more complex in their page count and navigation structure. As you saw in the beginning of the chapter, the Map View option, available from the View menu in the Files panel, displays a hierarchal list of pages in your site similar to Figure 4.30. Figure 4.30. The Map View option in the View menu generates a site map of your site.   As you can see from Figure 4.30, the site map always uses index.htm as the top-level page and displays pages linked two levels deep. You can always see additional linked pages by pressing the plus/minus keys on your keyboard. NOTE Dreamweaver always detects index.htm and automatically makes that the top-level page of the site map. If your main page is not called index.htm, you can right-click your main page in the Files panel and choose the Set as Home Page option. This effectively makes the page you choose the top-level page for the site map.   To maximize the viewable area of the site map, you can expand the Files panel into the Site Management window. If you're already in Map view, notice that the viewable area of the site map is expanded when you click the Site Map icon in the toolbar (see Figure 4.31). Figure 4.31. Expand the Files panel to maximize the viewable area of the site map. [View full size image]   You can also show the site files in a pane to the right of the site map by holding down the Site Map icon and choosing the Map and Files option from the submenu that appears (see Figure 4.32).