Skip Headers
Oracle® Fusion Middleware User's Guide for Oracle Portal
11g Release 1 (11.1.1)

Part Number E10235-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

12.4 Deleting Templates from Oracle Portal

When you delete a template, the results vary depending on the type of template you delete. This section discuss these different results and list the steps to take to delete different kinds of templates. It includes the following subsections:

Note:

To delete a template, you must have at least one of the privileges outlined in the "Intended Audience" section of this chapter, or the page privilege Manage on the template.

12.4.1 Deleting a Portal Template

When you delete a Portal Template for pages, any pages that were based on the template are automatically detached from the template. The layout, look and feel, and objects provided by the template remain on the pages that used the template. But they now belong to those pages.

For example, if the deleted template provided two item regions and a company logo, once the template is deleted all pages that were based on that template continue to display two item regions and a company logo. The layout and the logo are now owned by the page to which the deleted template was applied.

If your goal is to detach a page from its template, deleting a template is not the best way to do this. Rather, simply detach the page from its template. For more information on detaching a page from its template, see Section 12.2.1.4, "Detaching a Portal Template from a Page" and Section 12.3.1.4, "Detaching an HTML Page Skin from a Page".

When you delete a Portal Template for items, none of the template's objects nor the page layout or look and feel are retained. When users click an item link that used to render the item within a template, just the item content displays. Any images, additional regions, or look and feel that were provided by the template no longer display.

To delete 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, choose the page group that owns the Portal Template to be deleted.

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

  4. In the Layout & Appearance section, click the Browse link next to the Portal Templates heading.

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

    Tip:

    If the template is used by more than one page group, it will be under the Shared Objects page group.

  6. On the confirmation page, click Yes.

12.4.2 Deleting an HTML Template

When you delete an HTML content layout, any formatting or layout that was provided by the template is removed. When you delete an HTML page skin, affected pages display without the surrounding border that was provided by the template. Nothing of an HTML template remains on the pages or regions that used it.

To delete an HTML template:

  1. Log in to Oracle Portal.

  2. Click the Build tab to bring it forward.

  3. From the Page Groups portlet's Work In drop-down list, choose the page group that owns the HTML template to be deleted.

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

  4. In the Layout & Appearance section, click the Browse link next to the HTML Templates heading.

  5. On the resulting Portal Navigator page, click the Delete link next to the relevant HTML template.

    Tip:

    If the template is used by more than one page group, it will be under the Shared Objects page group.

  6. On the confirmation page, click Yes.