Modifying a Template

 < Day Day Up > 

One of the most powerful features of templates is the ability to update all of the template-based pages at once. You've seen how easy it is to create multiple pages based on a template; in this exercise, you will modify the template and update all of the recipe pages.

To manage your templates, you use the Assets panel. Assets are a variety of elements you use in your site, such as images, Macromedia Flash movies, and templates.

1.

Choose Window > Assets to open the Assets panel.

There are nine icons indicating the different categories of assets. When you roll over each icon, a tool tip appears to help you identify the category.

2.

Click the Templates icon on the Assets panel.

The templates for your site appear in the Templates list.

3.

Double-click the recipes template to open the template.

Be sure to double-click the icon to the left of the name. Double-clicking the name allows you to change the template name, but it doesn't open the template.

4.

Select the candy stick image on the page. Press the left arrow key to move the insertion point into the table cell.

The image fills the entire table cell, and this method is a quick way to place the insertion point in the cell.

5.

In the Property inspector, choose Top from the Vert pop-up menu.

The Vert pop-up menu controls the vertical alignment for objects in the cell. By changing the alignment to Top for the cell containing the stick, you force the image to move to the top of the cell. This keeps the stick aligned with the candy.

6.

Save the template file.

The Update Template Files dialog box appears with a list of all of the files for your site that were created based on this template.

7.

Click Update to update all of the pages with the link change.

A summary dialog box appears with the results of your updates. In this exercise, you had only a few pages to update. With multiple pages to update, you can see what a powerful feature this could be.

8.

Click Close.

     < Day Day Up > 


    Macromedia Fireworks 8(c) Training from the Source
    Macromedia Fireworks 8: Training from the Source
    ISBN: 0321335910
    EAN: 2147483647
    Year: 2005
    Pages: 239
    Authors: Patti Schulze

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