How Will The Placeholder Function On The Page? What Will The Placeholder Definition Control?
4.8 Creating Subtemplates
Subtemplates are major portions of HTML that can contain placeholders. This makes them very useful as a way to reduce several page templates while still maintaining several different ways the pages in the Web site can appear. Subtemplates can only appear in a placeholder. Subtemplates can only contain a placeholder, or static content such as HTML or an image. A subtemplate can also reference a CSS file. You should ask yourself the following questions as you plan subtemplates: ■ Is a Subtemplate Necessary for the Site? on page 4-9 4.8.1 Is a Subtemplate Necessary for the Site? One of the benefits of using a subtemplate is that you can reduce the number of page templates used in a Web site. Through a subtemplate, you can have the same page template used for both primary and secondary pages. This is one reason why planning is essential. While a subtemplate can reduce the number of page templates, it also means that you have a subtemplate to manage for the Web site. Fewer page templates means that site-wide changes are easier to make. Subtemplates can also add a level of static information because you can add HTML, images, and other similar static site assets to a page that you may want placed on a certain number of pages such as the secondary pages that would otherwise have to be managed separately from the subtemplate. The subtemplate can also help you place multiple placeholders within a single placeholder. Since a placeholder can contain a subtemplate, and a subtemplate can contain a placeholders, then it could be that you want the subtemplate present for future Web site expansion that is still to be determined.4.9 Creating Placeholder Definitions
Placeholder definitions are what connect each placeholder to the content and other assets associated with that placeholder to display. You should ask yourself the following questions as you plan placeholder definitions: ■ How Will The Placeholder Function On The Page? on page 4-9 ■ What Will The Placeholder Definition Control? on page 4-10 4.9.1 How Will The Placeholder Function On The Page? The placeholder, not to be confused with the placeholder definition, is simply a mark on the page in the Designer application. Placeholders are just conceptual boundaries in Designer. 4-10 Oracle Fusion Middleware Users Guide for Site Studio Designer Figure 4–3 Placeholder as seen in Designer As you see in Figure 4–3 , the placeholder is just a marker, using the word placeholder and also lists the name of the placeholder. The actual amount of space that a placeholder uses on a web page is determined by the size of the content placed in it. The data associated with the placeholder depends on which page the placeholder is on, which happens after the site structure is complete and you begin to place content in the sections of the Web site. It is the placeholder definition that determines how the placeholder functions, and what the placeholder contains. This means that you should view the placeholder as an available section for you to use and reuse content in broad areas. It is common to have a page template, for instance, with only the navigation and the header image and nothing but a placeholder in between. In Figure 4–3 , there is only a banner, a side navigation piece that is a fragment, and the placeholder. All of it is arranged using a table. This basic design could reliably be used as the entire structure of a Web site, depending on how you use the placeholder. This placeholder would then be easily replaced on any number of pages with the content specific to those pages. The content can be broken down into smaller placeholders if your design planning has led you to create a site based on a minimal number of page templates and using multiple placeholders and subtemplates in different ways. 4.9.2 What Will The Placeholder Definition Control? The placeholder is little more than a tag that is meant to define an area on the page where the content is shown. The placeholder definition lists which region definitions and their associated region templates and which subtemplates are available to pass information through. You can also control other details on a placeholder-by-placeholder basis through the placeholder definition. Some of these items include workflow, whether the contributor Efficient Web Site Planning 4-11 can edit the data displayed through the placeholder, whether the contributor can edit the metadata, ability to view Web site usage reports, and the ability to view content tracker reports.4.10 Creating Page Templates
Parts
» Oracle Fusion Middleware Online Documentation Library
» About Site Studio Designer, Manager, and Contributor
» Oracle Content Server and Site Studio Reusable Assets and Content
» Compared to Site Studio 10gR4 10.1.4.0.0 - Build 9.0.0.354 Compared to Site Studio 10gR3
» Context Menus Standard Windows Keyboard Shortcuts Site Studio Designer-Specific Keyboard Shortcuts
» Web Sites in HCSP, JSP, and ASP System Requirements About Designer
» System Requirements Installing Designer Uninstalling a Previous Version of Site Studio Designer
» Site Presentation Files Separation of Site Presentation and Content
» Site Content Files Site Control and Configuration Files
» Managed Web Sites Site Asset Storage
» Site Roles Presentation Model
» Contribution Model Oracle Fusion Middleware Online Documentation Library
» Site Object Hierarchy Oracle Fusion Middleware Online Documentation Library
» Reusing Site Assets Oracle Fusion Middleware Online Documentation Library
» Elements and Element Definitions
» Region Templates and Region Definitions
» Placeholders and Placeholder Definitions
» Subtemplates Page Templates Oracle Fusion Middleware Online Documentation Library
» Contributor Data Files and Native Documents
» Fragments Cascading Style Sheets
» Project Files Primary and Secondary Pages
» Why Is Planning Important? What Parts of the Site Will Be Reused?
» Naming Site Assets Oracle Fusion Middleware Online Documentation Library
» Will Contributors Submit Native Documents? How Will the Contribution Process Be Coordinated?
» Order of Site Asset Creation Creating Element Definitions
» Creating Region Definitions Creating Region Templates
» How Will The Placeholder Function On The Page? What Will The Placeholder Definition Control?
» How Should Fragments Be Used? Will Primary and Secondary Pages Require Different Templates?
» How Reusable Should The Page Templates Be? Should There Be Both Primary and Secondary Pages?
» How Will Content Be Reused? Will A Manager Be Necessary?
» Installing Designer Starting Designer Main Designer Window
» Site Hierarchy Properties Pane
» Standard Toolbar Site Toolbar
» Formatting Toolbar HTML Toolbar
» Log File Site Connection Manager
» Link Wizard Oracle Fusion Middleware Online Documentation Library
» Switch Content Wizard Oracle Fusion Middleware Online Documentation Library
» Fragment Editor Oracle Fusion Middleware Online Documentation Library
» Launching Contributor Site Studio Contributor
» Contributor Editor Site Studio Contributor
» Contributor and Workflows Site Studio Contributor
» Site Studio Manager Site Studio Administration Page in Oracle Content Server
» Site Studio Publisher in Oracle Content Server
» Publish Now Site Studio Publisher
» Moving or Docking a Pane to a Different Border
» Using the Customize Dialog Creating a New Menu
» Adding Shortcuts to the Tools Menu
» Assigning Keyboard Shortcuts Setting Display Options
» Changing the Path Used in a Site Address
» Beside Stopped Site Page, click the Additional Information icon
» About Page Templates About Region Templates
» Changing Log File Settings Understanding the Contribution Regions
» Inserting Placeholders Inserting Objects Inserting Fragments
» Working With Text Arranging Objects on the Template
» Applying CSS Classes Working With HTML Tables
» Region Templates and Region Definitions Working With Native Documents and Conversion Definitions
» About Placeholder Definitions About Region Definitions
» Creating a New Definition Copying a Definition
» From the menu bar, select File, then select Definitions, then select Upload
» Contributor Data Files Native Documents Conversion Definitions Images
» Working With Element Definitions Creating a New Content File Copying a Content File
» Requirements for Native Documents
» Using Dynamic Converter Template Selection Rules Sample Fragments for Native Documents
» About Scripts About Custom Configuration Scripts About Custom Element Forms
» Implementing a Custom Element
» Backward Compatibility and Upgrading Sample Custom Elements
» Working With Images Custom Configuration Scripts
» Default Validation Options Oracle Fusion Middleware Online Documentation Library
» In the Site Hierarchy pane, right-click the desired section and choose Select
» Viewing and Editing Web Site and Section Properties
» Expanding and Collapsing the Site Hierarchy Refreshing Your Site Hierarchy in Designer
» Working With Fragments Assigning Content With The Switch Content Wizard
» Hyperlink Formats Working With Links
» Color-Coded Differences when Comparing Web Pages Using the Compare Changes Feature
» About Fragments Adding and Editing Fragments
» Fragment Handling in Templates Fragments in the Toolbox
» Filtering Fragments in the Toolbox Adding Fragments to a Template
» Click OK. Changing the Parameters of a Fragment
» Creating a New Fragment Deleting a Fragment
» Inserting Parameters and Parameter Declarations in a Snippet
» Deleting a Fragment in the Toolbox About Site Reports Web Site Objects Report Site Usage Report
» Choose Content Tracker Report.
» Content Tracker Report About Workflows Workflow Types
» Workflow Experience for Contributors Setting Up a Workflow
» Contributor Data Files in Workflows Native Documents in Workflows
» About Site Studio Manager Choosing Where and When to Display Manager
» When Manager is Displayed Creating a Manager Configuration Settings File
» Copying a Manager Configuration Settings File
Show more