In the Template Name field, enter a name for the HTML page skin.

12-32 Oracle Fusion Middleware Users Guide for Oracle Portal

8. Click Create.

The HTML content layout is created. A link to it appears at the top of the page. Click this link to make additional changes. For information on how to make changes to the template after you leave this screen, see Section 12.3.2.3, Editing an HTML Content Layout .

9. Click OK to exit the wizard once you edit the template; or click Cancel to exit the

wizard without editing the template.

12.3.2.2 Applying an HTML Content Layout

You can apply an HTML content layout to any editable item or portlet region. Before you can apply a content layout, the region type must be defined. You cannot apply an HTML content layout to an undefined region. On pages that are based on a template, some regions are not editable. However, if the template includes a tab, users with enough privilege to edit a page can add another tab with an editable region. In such a case, the user could apply an HTML content layout template to the editable region on the new tab. To apply an HTML content layout 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 which to apply the HTML content layout template.

4. Under Pages in the Layout Appearance section, click the link to the page to

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

5. Click the Edit Region icon on the region where you will apply the template

Figure 12–8 . Figure 12–8 The Edit Region Icon

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

7. Select Use HTML Content Layout.

The option to use a content layout is selectable on the Attributes tab only when at least one content layout is defined in the page group or the Shared Objects page group.

8. Select a content layout from the HTML Content Layout 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 include calls to APIs within Oracle tags, they must be granted to public. For example, you cannot use wwctx_api to obtain session context information such as current user within HTML templates. Instead use the appropriate substitution tags.