Editing Portal Template Properties

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 Providing a Standard Look and Feel 12-31

12.3.2.1 Creating an HTML Content Layout

Use HTML content layout templates to define the structure, colors, and fonts of region content. Apply HTML content layout templates to portlet and item regions. Oracle Portal provides a simple wizard for creating HTML content layout templates, which you can use to enter a combination of HTML, Oracle tags, HTML content layout substitution tags, and any other tags and scripting that is valid in HTML. To create 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 a page group to own

the HTML content layout template. By default, the Page Groups portlet is located on the Build tab of the Portal Builder page. To enable sharing the template across page groups, select the Shared Objects page group. However, you can always move an HTML template to the Shared Objects page group if you decide that you want to use it across different page groups later.

4. In the Layout Appearance section, click the Create button next to the HTML

Templates heading.

5. On the resulting page, select HTML Content Layout from the Template Type

drop-down list.

6. In the Template Name field, enter a name for the HTML content layout.

The Template Name must be unique within its page group. Use up to 50 characters. Multibyte characters are allowed. Use any character except the following: , \ : ? | Although Template Name is not case-sensitive, the portal stores it in uppercase.

7. In the Template Definition field, enter HTML to define the template’s

appearance. Use a combination of HTML, Oracle tags, HTML content layout substitution tags, and any other tags and scripting that is valid in HTML. To view a list of available HTML content layout substitution tags, click the link tags as substitution variables on the Create HTML Template page. For more information, see Appendix E, Substitution Tags for HTML and Unstructured UI Templates . Note: HTML content layouts apply only to content item types, not to navigation item types. For example, the HTML content layout selected for a region will be applied to text items in the region, but not to list of objects items. Note: For additional information on the rules governing object naming in Oracle Portal, see Appendix D, Object Naming Rules in Oracle Portal .