Presentation is loading. Please wait.

Presentation is loading. Please wait.

Dreamweaver MX. 2 Overview of Templates n Templates represent a web page design or _______ that will be common to multiple pages. n There are two situations.

Similar presentations


Presentation on theme: "Dreamweaver MX. 2 Overview of Templates n Templates represent a web page design or _______ that will be common to multiple pages. n There are two situations."— Presentation transcript:

1 Dreamweaver MX

2 2 Overview of Templates n Templates represent a web page design or _______ that will be common to multiple pages. n There are two situations where templates are especially useful: –Multiple pages need an identical design or layout, –A designer creates the look of the page while content editors add content to the page. n _________ are more useful when you want to repeat specific content on multiple pages, but common design and layout are not important.

3 3 Creating Templates (p. 277) n Create a web page with the desired design (tables, graphics, etc.). n Select File > Save As Template. n Select a _____ and give the template a name. n Click Save. n The template has been saved with a ______ extension in the Templates folder of the site.

4 4 Adding/Removing Editable Areas (p. 279) n By default, all areas of a template are _______, but can be made editable. n To make an area editable (such as a table cell, a specific graphic, paragraph, etc.), select the area. n Click the Templates tab in the ________ bar. n Click the Editable Region icon, enter a name for the region, OK. Save the file. n To remove an editable region, click the tab for the region, select Modify > Templates > Remove Template Markup.

5 5 Creating Optional Content (p. 285) n Optional content is content that is hidden or displayed on a page that is based on the template. n Optional content may be based on __________, such as LANGUAGE == ‘English’. n To make content in a template optional, select the content. n Click the Optional Region icon on the Templates tab of the Insert bar. n In the Basic tab of the dialog box, uncheck Show by Default.

6 6 Inserting Repeating Regions (p. 286) n A repeating region is an area that may need to be duplicated, such as for different products in an online _________. n Select the repeating region, such as a table row or rows. n Click the Repeating Region icon on the Templates tab of the Insert bar. n Enter a name for the repeating region, click OK. n Select individual cells in the repeating region (use the Tag _________ at the bottom if necessary), click the Editable Region icon, and name the editable region. Save.

7 7 Building Pages from a Template (p. 289) n To build a page from a template, select File > New, select the Templates tab. n Select the appropriate site, the desired template in that site, ________. n Click on editable regions (double-click editable graphics) to make changes. Controlling Optional Content (p. 292) n To show optional content, select Modify > Template Properties. Select the region. n Check the Show … check box, OK.

8 8 Adding Repeating Entries (p. 293) n Enter the desired content in the editable regions of the repeating entries. n Click the ___ button on the Repeat tab to duplicate a repeating region. n Click on a repeating entry and click the up or down _______ on the Repeat tab to change the order of the entries. Save.

9 9 Modifying a Template (p. 295) n You can modify the template and automatically update all pages that use the template. n In the Templates category of the Assets panel, double-click the desired template. n Add content as desired to the template (e.g., change a hyperlink for a graphic). n Save the template. n Click Update to modify all pages that use the template. n Close the update log. n Test the changes that were made.

10 10 Creating Editable Tag Attributes (p. 297) n Even if content is locked in a template (not editable), you can make tag attributes of the content editable (increasing _______ of design). n In the template, select the element whose attributes you wish to make editable (you may need to use the Tag _________ at the bottom). n Select Modify > Templates > Make Attribute Editable. n In the dialog box, make a selection from the Attribute menu. n Click Make Attribute Editable, OK. n Save the template, click Update, close.

11 11 Modifying an Editable Tag Attribute (p. 299) n In the page that is based on the template, select Modify > Template Properties. n Select the desired attribute, change its value, click OK.

12 12 Creating Nested Templates (p. 301) n Templates can be nested. A ____ template can be used for all pages in a site. Then a nested template can ______ from the base with some unique features for a certain category of pages. n Open a template, modify it as desired to form the nested template. Save this template and update all pages using this template. n Select File > New. From the Templates tab, select this original template, click Create. n Choose File > Save As Template to create the new nested template. n Create new pages from the new template.


Download ppt "Dreamweaver MX. 2 Overview of Templates n Templates represent a web page design or _______ that will be common to multiple pages. n There are two situations."

Similar presentations


Ads by Google