In the Site Hierarchy pane, right-click the Web site and choose Select Home Page Click OK to close the Select Home Page Template dialog.

12-4 Oracle Fusion Middleware Users Guide for Site Studio Designer

12.1.4 Removing a Section From the Site Hierarchy

You can remove sections from your Web site using the Site Hierarchy pane in Designer. To remove a section, perform these tasks:

1. In the Site Hierarchy pane, right-click the section to remove and click Delete

Section .

2. Click OK to confirm the deletion.

If this section was also included in your site navigation, the link is removed from the Web site when you update the navigation. You are prompted to update the navigation file when you preview the page template. You can also update this file manually by clicking the Update Navigation icon Figure 12–3 on the Site toolbar. Figure 12–3 Update Navigation icon

12.1.5 Assigning a Home Page

The home page of the Web site is the entry. Everyone who comes to your Web site usually starts at your home page. To assign a page template to use as the home page for a section, perform these tasks:

1. In the Site Hierarchy pane, right-click the Web site and choose Select Home Page

from the popup menu. Figure 12–4 Select Home Page option in popup menu 2. In the Select Home page template dialog see Select Home Page Template Dialog on page A-22, choose how you want to create the home page: ■ Create a new page template : A new page template is created, checked into the content server, and associated with this section. Choose hcsp, jsp, or asp as the file extension. The available extension depends on the site type that you chose when creating the site. ■ Select existing page template from the content server : An existing page template in the content server is associated with this section. Select the page template in the menu or select Choose From Server to browse to it in the content server when this dialog closes. ■ Create a new page template from an existing one : A new HCSP, JSP, or ASP page is created based on another page template, checked into the content Building A Site 12-5 server, and associated with the Web site. The page template that is used to create the new one can come from one of two sources: – stored in the content server : A page template stored on the content server is used. Select it from the menu if the page template is one you created recently; if not, select Choose From Server to browse to it in the content server when this dialog closes. – stored on the file system : A page template stored on the file system is used. This option can be useful if youve created a page template on your file system perhaps using a third-party editor and want to use that design for this page template. The file must have the appropriate file extension hcsp, jsp, or asp. 3. If you want to use this same page template in every section of the Web site below this one, check the box Apply recursively to all subsections. This performs the same action as if youre reusing a page template throughout the site hierarchy.

4. Click OK to close the Select Home Page Template dialog.

Depending on your choices above, you may be taken to the content server screen to select an existing page template or assign metadata to a new page template. You can add a secondary page to the root of the site hierarchy as well and it serves as a backdrop for new files added by contributors. Site Studio automatically assigns the value Home to the Web site, which directs users to this page. If you want to change this value, select the Web site in the Site Hierarchy pane, open the Properties pane, and enter a different value for Label. A home page is different from a primary or secondary page in the following ways: First, it is associated with the root of your site instead of a section. Second, the home page link in some navigation fragments takes you to this page and no other page template. Third, the Websites menu in the content server takes you to this page of the Web site. You should pay close attention to the names and metadata values content ID, type, title, security group, and so on that you assign to your page templates. This helps you better manage your page templates, especially if you start reusing them in your site hierarchy.

12.1.6 Assigning a Primary Page