26.11.2014 Views

IBM Web Content Manager - The IBM Learner Portal is currently ...

IBM Web Content Manager - The IBM Learner Portal is currently ...

IBM Web Content Manager - The IBM Learner Portal is currently ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Time needed<br />

It will take approximately 20 minutes to complete th<strong>is</strong> lesson.<br />

Lesson 3.5.1: Template maps<br />

<strong>The</strong> presentation template used by a content item <strong>is</strong> determined by the relationship between the content<br />

item's authoring template and a presentation template defined in the authoring template, or a template<br />

map defined in a site area in the path of the current content item. Template maps assigned in site areas<br />

will override those set in authoring templates.<br />

Th<strong>is</strong> can result in the following relationships:<br />

v A content item can be d<strong>is</strong>played using two different presentation templates if linked to different site<br />

areas.<br />

v Two content items using different authoring templates can be d<strong>is</strong>played using the same presentation<br />

template if both authoring templates are mapped to the same presentation template.<br />

Defined in authoring templates<br />

If you select a default presentation template in an authoring template, it will be used as the<br />

default presentation template for all content items based on that authoring template. Th<strong>is</strong> will<br />

ensure that all content items based on that authoring template will be rendered with the same<br />

presentation template, but it does not guarantee design cons<strong>is</strong>tency between other content items<br />

located in the same site area. If a different template map <strong>is</strong> specified in any site area in the<br />

content item path, then the template map defined in the lowest part of the content item path will<br />

be used instead.<br />

Defined in site areas<br />

If you define a template map in a site area, th<strong>is</strong> will ensure that all content items based on the<br />

selected authoring template will use the same presentation template in that site area. If a different<br />

template map <strong>is</strong> specified in any child site areas of the parent site area, then the template map<br />

defined in the site area in the lowest part of the content item path will be used.<br />

Task 3.5.2: Update the Intranet site area<br />

During th<strong>is</strong> task you will create template maps and select a default content item.<br />

Procedure<br />

1. Open the Intranet site area in edit mode.<br />

2. Go to the Site Area Properties section and click Manage Template Maps.<br />

3. Create a template map for each pair of templates. For example, select the Landing authoring template<br />

and then select the Landing presentation template.<br />

Accompanying guide for SPVC - not for d<strong>is</strong>tribution<br />

4. Click OK.<br />

5. Click Select Default <strong>Content</strong>.<br />

6. Navigate to and select the content item named Home.<br />

7. Click OK.<br />

8. Click Save > Save and close.<br />

3: Creating your core web content items 67

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!