About Classic HTML Conversion Layout Templates Layout Template Contents

6 Classic HTML Conversion Layout Templates 6-1 6 Classic HTML Conversion Layout Templates This section covers the following topics: ■ About Classic HTML Conversion Layout Templates on page 6-1 ■ Layout Template Contents on page 6-2 ■ Tokens in Layout Templates on page 6-3 ■ Sample Layout Templates on page 6-3 ■ Creating a Layout Template for Your Content Items on page 6-5 ■ Associating a Layout Template With a Template Rule on page 6-6 ■ Specifying a Default Layout Template on page 6-6 ■ Including Scripts, Images, and CSS in a Layout Template on page 6-7

6.1 About Classic HTML Conversion Layout Templates

Layout templates can be used to complement Classic HTML Conversion templates see Chapter 5, HTML Conversion Templates . They can be used to control the placement of items on a web page, in particular, the areas outside of the converted document. You can add shared borders, navigation, custom scripting, and much more in your layout template. You might use the layout template to create a common set of hyperlinks around your converted documents such as additional resources, or you might prefer to maintain the Content Server look and feel around your documents using Idoc Script header and footer tags. If you do not specify a layout template on the Template Selection Rules page see Template Selection Rules Page on page A-9, your converted document will take up the entire web browser screen area when a user clicks the HTML link in the Content Server interface see Viewing a Converted File on page 9-3. 6-2 Administrators Guide for Dynamic Converter Figure 6–1 Converted Document Without Layout Template If you specify a layout template, such as the default_layout.txt sample, you can add a consistent look and feel around your content items. Figure 6–2 Converted Document With Layout Template

6.2 Layout Template Contents

A typical layout template contains the following parts: ■ HTML top and head information ■ HTML tables used to control page layout ■ Tokens for your template settings see Tokens in Layout Templates on page 6-3 ■ Idoc Script code for various purposes When used together, you will find that you can fine tune the appearance of your converted documents on a global level, giving your online information a professional and consistent look and feel. Classic HTML Conversion Layout Templates 6-3

6.3 Tokens in Layout Templates