Comparing Template Types Understanding Templates in Oracle Portal

12-14 Oracle Fusion Middleware Users Guide for Oracle Portal To convert a page to a Portal Template: 1. Log in to Oracle Portal.

2. Click the Build tab to bring it forward.

3. From the Page Groups portlet Work In drop-down list, select the page group that

owns the page to be converted. By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

4. Under Layout Appearance, click the Browse link next to the Pages heading.

5. On the resulting Portal Navigator page, click the Convert to Template link next to

the page you will convert.

6. In the confirmation screen, click Yes to convert the page to a Portal Template.

You are returned to the Portal Navigator where the original page remains intact. A copy of the page is created under the Portal Templates node in the Portal Navigator. A link to it also displays under the Portal Templates heading in the Page Groups portlet. Click this link to edit the template.

7. Optionally, click the Builder link at the top of the page to return to the Portal

Builder page.

12.2.1.2 Applying Portal Templates for Pages

You can apply Portal Templates for pages to navigation pages, standard pages, or custom page types that are based on the standard page type. To apply a Portal Template for pages:

1. Log in to Oracle Portal.

2. Click the Build tab to bring it forward.

3. In the Page Groups portlet, select the page group that owns the page to which you

will apply a Portal Template from the Work In drop-down list. By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

4. In the Layout Appearance section, under the Pages heading, click the link to the

page to which you will apply a template. This opens the page in Edit mode.

5. In the toolbar at the top of the page, click the Page: Properties link.

6. On the resulting page, click the Template tab to bring it forward.

7. Select the Use Portal Template radio button, and select the Portal Template you

will use from the Portal Template drop-down list. When a page group and the Shared Objects page group both have a template of the same name, the page group name is added to the template name in pick lists. For example: template_name page_group_name. This assists in distinguishing between templates on pick lists. Note: If you want to create a template from the page groups root page, click Convert Root Page to Template next to the page group in the Portal Navigator. Providing a Standard Look and Feel 12-15

8. If the page contains content, a Region Mapping section displays.

In this section, specify where you want to move content from the original page regions into the new, template-provided regions. The regions are represented either by automatically-assigned identification numbers or by their user-assigned region names.

9. Click OK to save your changes and open the page in Edit mode.

12.2.1.3 Editing Portal Templates for Pages

To edit a Portal Template for pages:

1. Log in to Oracle Portal.

2. Click the Build tab to bring it forward.

3. From the Page Groups portlet Work In drop-down list, select the page group that

owns the template to be edited. By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

4. In the Layout Appearance section, under the Portal Templates heading, click

the link to the relevant template. This opens the template in Edit mode.

5. Make your changes, and click the View Template link in the toolbar at the top of

the page to view your results.

6. To edit the properties of the template, click the Template: Properties link in the

toolbar at the top of the page.

7. Move from tab to tab, and edit properties as desired:

■ Main —Change the name or display name of the template; add a description; or change whether or not the template can be used by pages in the page group. For information about the naming rules that apply to Portal Templates, see Appendix D, Object Naming Rules in Oracle Portal. ■ Style —Select a style to define the colors and fonts to use for pages based on the template. A Portal Template can enforce the style of a page. Clear Enable Pages To Use Different Style if you want users to have no choice about what style to use. Pages that are based on the template will always use the style you choose here and the Style tab will not be displayed in the page properties tab set. Users will be prevented from selecting a different style, even for their own version of the page. That is, when a page is being personalized, the Style tab will not display. Select this check box to enable users with sufficient privileges to apply a different style to pages that are based on the template. This setting works in conjunction with the Page Group properties Allow Privileged Users to Manage Page Style and Allow Privileged Users to Personalize Page Style . For more information, see Section 4.3.2, Controlling Who Can Apply a Different Style to a Page .