Copying a Portal Template

Providing a Standard Look and Feel 12-29 The HTML page skin 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.1.3, Editing an HTML Page Skin .

9. Click OK.

12.3.1.2 Applying an HTML Page Skin

You can apply an HTML page skin to a navigation page, a standard page, custom pages that are based on the standard page type, a Portal Template for pages, or a Portal Template for items. Use HTML page skins to wrap an HTML table around page content and provide your own mark-up around the border of the page. To apply an HTML page skin:

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 template. 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 to apply the template. This opens the page in Edit mode.

5. Click the Page: Properties link in the toolbar at the top of the page.

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

7. Select the Use HTML Page Skin radio button.

8. Select a template from the Use HTML Page Skin 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.

9. Click OK to save your changes and exit page properties.

The page renders with the HTML page skin. Click Apply, rather than OK, if you want to save your changes but remain on the Template tab. Click the Preview button on the Template tab to preview how the selected HTML page skin will display.

12.3.1.3 Editing an HTML Page Skin

As you fine-tune your HTML page skin template, Oracle Portal provides a quick, convenient way to access template content for editing. To edit an HTML page skin 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 HTML page skin to be edited. 12-30 Oracle Fusion Middleware Users Guide for Oracle Portal 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 HTML Templates heading, click

the link to the page skin to be edited. This opens the template wizard with the selected template’s content displayed. 5. Edit the template.

6. Click OK to save your changes and exit the wizard.

Click Apply to save your changes and remain in the wizard. Click the Preview button to preview how the template will display.

12.3.1.4 Detaching an HTML Page Skin from a Page

Detaching an HTML page skin from a page results in the removal of the objects, formatting, and layout that were provided by the page skin template. Once the skin is detached, page content renders according to the page’s default settings. To detach an HTML page skin from a page:

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 from which to detach the template. 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 from which to detach the template. This opens the page in Edit mode.

5. Click the Page: Properties link in the toolbar at the top of the page.

6. Click the Template tab to bring it forward.

7. Select the Do not use a template radio button.

8. Click OK to save your change and return to the page.

All formatting and content provided by the template is removed. The page renders with its default display settings.

12.3.2 Using HTML to Define the Layout and Appearance of Region Content

Use HTML content layout templates to control the way items, portlet borders, and their associated attributes display within a particular region. This section describes how to create, apply, and detach from an HTML content layout. It includes the following subsections: ■ Section 12.3.2.1, Creating an HTML Content Layout ■ Section 12.3.2.2, Applying an HTML Content Layout ■ Section 12.3.2.3, Editing an HTML Content Layout ■ Section 12.3.2.4, Detaching an HTML Content Layout Template from a Region