Unit 11 Exercise help. Working with Templates


Exercise 1: Sports

Point 1 To open the Sports site it's necessary to select it in the File panel. You can open the panel through the Window menu and then the Files option. Select the Sports site from the drop-down menu that appears in the top of the panel.

Point 2 To open the template.htm document it's necessary to double click on this file in the files list that appears on the Files panel.

Point 3 Go to Modify menu, then the Templates option, and select the Apply Template to page option. A new window will be opened.

In Site: select Sports.

In Templates: select templatesports.

Check the Update page when template changes option.

Click on Select.

If the names of non-coinciding regions appear, a new dialogue window will be opened. It is most probable that the non-coinciding region is head.

In Name select Document head.

In Move content to new region: select head.

Click on Ok.

Point 4 Click on the Save button , and then click on the Close button

Exercise 2: Kitchen

 

Point 1 To open to the Kitchen site it's necessary to first select it in the File panel. You can open the panel through the Window menu and the the Files option. Select the Kitchen site from the drop-down menu that appears in the top of the File panel.

Point 2 To open the template.htm document, double-click on this file in the File panel.

Point 3 Go to the Modify menu and then the Page properties option.

In Text: write - #996666.

Clic on Ok.

A warning will appear , indicating that the changes will be omitted. It is not possible to change the properties of a document based on a template, with the exception of the title, therefore, in this case it is not possible to modify the colour of the text.

Point 4 Delete the Page title text and write Kitchen in its place.

It is possible to do this, since that text is within an editable region.

Point 5 Go to the Modify menu, then Templates option, and select Detach from template.

Point 6 Go to the Modify menu, then the Page properties option.

In Text: - write #996666.

Click on Ok.

In this case the change can be performed, since the document no longer is based on the template, and we can modify all the properties of the page, as well as all the contents of the document.

Point 7 Click on the Save button , and then click on the Close button



  Content  
Legal warning: Authorised on-line use only. It is not allowed the use of these courses in companies or private teaching centres.
aulaClic. All rights reserved. Reproduction in any form whatsoever is prohibited.
November-2005.