In the Site Hierarchy pane, right-click the desired section and choose Select

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

A primary page acts like a landing or default page for each section of the Web site. When users click a link to go to that section for example, Products, they are taken to the primary page associated with that section. Both primary and secondary pages provide true scalability for a growing Web site. You can manage the look and feel of your entire site, regardless of its size, with just a few page templates. To assign a page template to use as the primary page for a section, perform these tasks:

1. In the Site Hierarchy pane, right-click the desired section and choose Select

Primary Page . 2. In the Select Primary page template dialog see Select Primary Page Template Dialog on page A-24, choose how you want to create the primary page for this section: ■ 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 12-6 Oracle Fusion Middleware Users Guide for Site Studio Designer 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 server, and associated with this section. 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. ■ Use an external URL : Uses the web page of another Web site instead of a page template. As a result, visitors going to this section are directed to the web page URL that you specify here. This option applies only to primary pages and is not available for a home page or a secondary page.

3. Click OK to close the Select Primary Page Template dialog.