Page templates
A page template is a template you can use to create new HTML, XHTML, JSP, or Faces JSP pages in Page Designer. Each new page looks like the page template and usually contains a section of the page for adding your own information. Page templates let you maintain a consistent look and feel for your entire Web site.
For example, if you change the formatting or the graphic on a page template, the changes are automatically reflected in all the pages that were created from the template.
Page templates enable you to:
- Create page templates for future use.
- Apply a page template to a page as you are creating the page.
- Insert contents and page fragments into a page or template.
- Merge the page template into a page so that any changes are not applied to the pages created from that template.
- Apply changes you make to a page template to any pages created from that template.
- Replace page templates with a new page template.
Note: If you are migrating your page template files from version 6 of this product, note that *.htpl files with dynamic server side content are no longer supported. This content will be marked with errors. *.htpl files with static content are still supported. To include dynamic content through Web page templates, you can use *.jtpl files.
Related tasks
Laying out a page template with tables
Generating Web pages from page templates
Applying or replacing page templates to Web pages
Applying a page template to a Web site
Adding content to a page template
Creating a nested page template