ONLINEPICTUREPROOFING.COM

Online Proofing for photos - www.onlinepictureproofing.com

Menu


regions in one template, such as a photo that is an editable region and a photo caption that is a separate editable region. Areas


that you dont mark as editable become locked and can be changed only if you modify the template itself. 11. Click OK. The editable region is enclosed in a highlighted area with a tab at the top left, indicating the name of the region. 12. When you finish designing the page, choose File?Save to save your template. You can make an entire table or an individual table cell editable, and you can make entire rows editable. (For more about creating HTML tables, see Chapter 6.) 96 Part II: Looking Like a Million (Even on a Budget) Saving any page as a template Sometimes you get partway through creating a page before you realize youre likely to want more pages like it and you should create a template so you dont have to re-create the same page design multiple times. Similarly, you may have a page that someone else created that you want to turn into a template. No matter where the original page comes from, creating a template from an existing page is even easier than creating a new template from scratch. To save a page as a template, follow these steps: 1. Open the page that you want to turn into a template. Choose File?Open and browse to find your file. Or, open the site in the Files panel and double-click the file to open it. 2. Choose File?Save As Template. The Save As Template dialog box appears (see Figure 4-6). 3. Select a site from the Site drop-down list. The menu lists all the sites that you have defined in Dreamweaver. If youre working on a new site or havent yet defined your site, Chapter 2 shows you how to define your site. Figure 4-5: You can modify any area of a template to make it editable. Chapter 4: Coordinating Your Design Work 97 You can use the Save As Template option to save a page as a template into any defined site, which makes it easy to save a page design from one site as a template for another site. 4. In the Save As text box, type a name for the template. In the example shown in Figure 4-6, I named the template guests. 5. Click the Save button. Notice that the file now has the .dwt extension, indicating that its a template. You can now make changes to this template the same way you edit any other template. 6. Decide if you want to update links or not. Because your original file was probably saved in a different directory from the templates, Dreamweaver offers to update all your links and keep them pointing to the correct destination. Unless you have a specific reason not to allow Dreamweaver to take care of the links for you, click Yes. 7. Make any changes that you want and choose File?Save to save the page. Follow the steps in the earlier section, "Creating a new custom template," to create editable regions. Follow the steps in the next exercise to create editable attributes. Making attributes editable