One of the most under-used features available in Dreamweaver is that of associating Design Notes with web pages. As an individual web developer, you can create Design Notes to keep tabs on progress and to write general notes to yourself about a particular file. When you go to open the file, you can have the Design Note automatically open and remind you of what needs to get done. From a team collaborative standpoint, you can associate Design Notes with your web pages as a way to alert other developers in your team about changes made, changes to be made, or specific items in the file that require attention. Enabling Design NotesEnabling Design Notes for your web pages is as simple as opening the site definition for the particular site you're working with and clicking a check box. In our scenario, we'll want to enable Design Notes for the Dorknozzle site. To do this, follow these steps:
Design Notes have now been enabled for your site. Setting the Status of Files with Design NotesAfter you've enabled Design Notes, you're ready to start working with them. Again, Design Notes are great for writing notes to yourself about a particular file. With that said, it's important to realize that Design Notes are associated with particular files in a site, not with the site as a whole. To associate a Design Note with a file, you can do one of two things. First, you can choose the Design Notes option by right-clicking the file (I'll choose index.htm) in the Files panel for which you want to create a Design Note for. Second, you can open the file (index.htm) by double-clicking it in the Files panel. With the file open, choose the Design Notes option from the File menu. Either method you choose opens the Design Notes dialog, similar to Figure 12.8. Figure 12.8. The Design Notes dialog allows you to associate Design Notes for a particular file.![]() The Design Notes dialog is separated into two parts represented by the Basic Info and All Info tabs. Although we'll certainly discuss the All Info tab in the next section, for now let's discuss how you can set the status of and write notes about a particular file using the Basic Info tab:
Click OK to create the design note. Initially, you won't notice any additions to the folder or file structure of the site. However, opening the Local folder (C:\Dorknozzle\Local) reveals the new _notes folder that Dreamweaver adds for you. In the _notes folder, you'll see the index.htm.mno file. This XML-based file represents the Design Note for index.htm. NOTE By default, Dreamweaver creates one MNO file per web page document. That's not to say that multiple users can't create multiple notes for a single MNO file. When new notes are created, they are merely appended to the MNO file. Furthermore, the MNO file keeps track of which users and at which times the notes in the MNO file are created. Creating Customized Design NotesIn the previous section, we examined the Basic Info tab of the Design Notes dialog. A large majority of the functionality that you'll need to interact with as it relates to Design Notes can be found on that tab. Other times however, you'll want to create custom Design Notes that relate to specific aspects of your project. For instance, you may want to define various resources (such as graphic designer, project manager, or lead developer) related to a project so that when a user opens the Design Note, they know whom to contact if they have a question. Furthermore, you may want to create a custom note that defines how many man hours have been dedicated to a specific file. As you'll see in the next section, you can then associate specific columns with a particular Design Note. Even better, you can enable column sharing so that everyone in the team can see the custom Design Notes directly from the Site Management window. All this begins with the All Info tab of the Design Notes dialog. To demonstrate the functionality in this screen, reopen the Design Notes dialog by either choosing the Design Notes option from the File menu (assuming the index.htm file is already open) or choose the Design Notes option from the context menu when you right-click the index.htm file in the Files panel. After the Design Notes dialog opens, click the All Info tab. As you can see from Figure 12.9, the All Info tab displays all the information you entered in the Basic Info tab line by line. Figure 12.9. Initially, the All Info tab displays notes created in the Basic Info tab.![]() The All Info tab is divided into the following features:
Click OK to apply the new additions. Again, you won't notice too much of a difference. To see the notes, you either have to reopen this screen (which isn't very intuitive), or you can create custom columns in the Site Management window. This process is discussed in the next section. Viewing Design NotesObviously, the easiest way to view Design Notes is to right-click the file in the Files panel and choose the Design Notes option. Doing this opens the Design Notes dialog and displays notes for the specific file. This process is great if you're an individual developer and you remember which files have Design Notes and which don't. If you're working in a team however, this process isn't very intuitive. A better method of viewing Design Notes is by enabling the Notes column in the Site Management window. In Chapter 4, "Dreamweaver Site Management," we turned the Notes column off. To view Design Notes for particular files in the Site Management window, we'll need to turn that column back on. To do that, follow these steps:
To view the Design Notes now, click the Expand/Collapse icon in the Files panel to expand the Site Management window. Files that have note associations display a small yellow note icon. When you check the file back in, the Design Note goes with it. From a collaborative standpoint, this allows other members of your team to see which files do and don't have notes associated with them. To view the note, simply double-click the icon. The Design Notes dialog appears. Beyond the simplicities of viewing Design Notes in file view columns lies the ability to view custom Design Notes in a custom file view column. For instance, we may want to share with the team how many hours have been accrued by people working on the particular file, in which case we'd want to create a custom column to display that Design Note (created in the previous section). To do this, follow these steps:
To view the new file view column, simply click the Expand/Collapse icon in the Files panel to expand the Site Management window. As you can see from Figure 12.12, the HoursAccrued column appears and displays the number 8 for index.htm. Figure 12.12. The custom file view column appears with the numeric value 8 for index.htm.![]() To prove that Dreamweaver uses the _notes folder for more than just Design Notes, open the folder that contains your files and examine the _notes folder. Notice that a new file called dwSiteColumnsAll.xml is created and represents any custom file view columns we create. |