Adding a Region to a Page

10-6 Oracle Fusion Middleware Users Guide for Oracle Portal ■ To provide descriptive names for regions during copies and moves When you copy or move items from one page to another with multiple item regions, you are asked to select the region in which to publish the copied or moved items. When the regions are labeled meaningfully, it is obvious to the user which region to select. To change a region name, the region type must be specified. That is, it must be an item, portlet, or sub-page links region. To change the region name: 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 where the region is located. By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

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

page where the region is located. This opens the page in Edit mode.

5. Click the Edit Region icon in the relevant region

Figure 10–7 . Figure 10–7 The Edit Region Icon

6. On the resulting page, go to the Region Display Options section, and enter a

name in the Display Name field. Enter up to 4000 of characters of any kind. 7. If you want to display the region name in a banner at the top of the region, select Display Region Banner .

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

10.2.2 Changing a Region Type

Region types accept only their related type of content. For example: you can add only portlets to a portlet region and items to an item region. You cannot add anything to a sub-page links region; these regions automatically populate with links to sub-pages of the current page. You cannot add anything to a tab region except another tab. If you have the page privilege Manage on the page, you can add a portlet or an item to an undefined region. Once you add content to an undefined region, the region becomes defined: it becomes a portlet region if you add a portlet, an item region if you add an item. Users who do not have the page privilege Manage on the page cannot add content to an undefined region. For such users, undefined regions display without edit controls. To enable such users to add content, a user with the page privilege Manage must change the region type to item or portlet by adding an item or a portlet to the region or by explicitly changing the region type. You can change the region type of portlet and item regions only if the region is empty. You can change the region type of sub-page link regions at any time, whether or not Working with Layouts 10-7 the region contains any links to sub-pages. You cannot change the region type of a tab region. You cannot change a region type in a Portal Template if any page that is based on the template already includes content in that region. To change the region type: 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 with the region to by changed. By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

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

the region to by changed. This opens the page in Edit mode.

5. Click the Edit Region icon in the region to be changed

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

6. On the resulting page, go to the Region Type section, and from the Type radio

group, select either: ■ Undefined ■ Portlets ■ Items ■ Sub-Page Links

7. Click OK to save your changes and return to the page.

10.2.3 Changing the Height and Width of a Region

By default, regions share available space equally. For example, here is a single region on a page Figure 10–9 : Note: If you do not see the radio buttons, your region already contains items, portlets, or tabs; so you cannot change the type. Delete the tabs, or delete or move the items or portlets; and try again. You can change the type of a sub-page links region at any time, provided you have the privilege to do so and the region is not part of a template applied to the page you are working with. Tab is not an option under this section because tab regions are created automatically, when users create tabs. You cannot change a tab region’s type. 10-8 Oracle Fusion Middleware Users Guide for Oracle Portal Figure 10–9 One Region Using 100 Percent of Available Space If you add another region to the right of this region, each region will take up 50 of the width of the page Figure 10–10 : Figure 10–10 Two Regions, Each Using 50 Percent of Available Space If you want regions to use available space in unequal proportion, you can explicitly set the width of each region. You can set the width of a region to a specific number of pixels or to a percentage of the overall width of the page. Do not intermix region widths of pixel and percent. You can also set the height of a region. Region height is always set in pixels. Setting the height of a region establishes a minimal height. If content exceeds the set height of a region, the region expands to accommodate it. Region widths and heights never cause content to truncate. No matter what values you set, regions always expand to accommodate content. If exacting region proportions matter to your portal, you must size content to fit your regions. To change the height and width of a region:

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 with regions to be resized. By default, the Page Groups portlet is located on the Build tab of the Portal Builder page.

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

regions to be resized. This opens the page in Edit mode.

5. Click the Edit Region icon in the region to be resized

Figure 10–11 . Figure 10–11 The Edit Region Icon

6. On the resulting page, go to the Region Display Options section, and enter or edit

the values for Width and Height: Note: Region content can be truncated as a result of region column and row settings. For more information, see Section 10.2.5, Changing the Number of Columns and Rows in a Region .