Skip Headers
Oracle® Universal Content Management
10g Release 4 (10.1.4)
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next

About Subtemplates

Subtemplates can only appear in a placeholder. Subtemplates can contain a placeholder, or static content such as HTML or an image. A subtemplate can also reference a CSS and use fragments.

In terms of code, subtemplates are identical to page templates, except page templates are complete pages, and subtemplates do not have a <HEAD>. Otherwise, anything you would want to do with a page template, you can accomplish with a subtemplate.

Subtemplates are often used as a way to divide one placeholder, singly placed on a page template, into multiple placeholders. This helps make a page template that is more easily reused. It can also help create a larger segment of code that you, as the designer, want to have reused in many places, where in each instance you simply assign a different grouping of region templates, region definitions (and their associated structures you have already created) to generate each individual finished web page.

Just as the page template can contain multiple placeholders, so can the subtemplate. With a placeholder and a placeholder definition, the structure contained is just as it would be on any other site asset - the placeholder and placeholder definition define the contribution region.

See Page Templates and Working With Templates for more information.