In order to ensure all pages have same look and feel as the default Netcool Reporter pages, Micromuse recommends that all new pages use the template One Column Template and the theme Netcool.
This section describes the process of creating new templates and editing existing templates using the Template Builder.
The template controls page attributes such as the number of columns on the page, whether or not to display a header or footer, and the page’s color theme.
The Template Builder window allows you to create a template that can be used for one or more Netcool Reporter pages.
You must be a Netcool Reporter administrator to access the Template Builder window.
1. Click the Administration link in the navigation panel to open the Administration page.
2. Click the Reporter Template Builder link in the Page and Template section. The Template Builder window is displayed.
3. If you wish to select an existing template to edit, select the Edit existing template radio button. The Choose a Template window is displayed.
The operation of this window is the same as the Choose a Page window, described in Creating and Editing Pages on page 68. Select a template from the Template Repository channel and click OK. The details of the template are displayed in the Template Builder window.
The Template Builder window is shown below.
|
|
Figure 35: Template Builder Window |
4. Enter the new template name or edit the name in the Template Name field. The following characters cannot be used: ~` !@#$%^&*()+{[}]|\:;"' <,>?/.
Click the Choose button if you wish to select an existing template to overwrite.
5. (Optional) Enter the new template name or edit the name in the Description field. The list of character exclusions for the Template Name field also apply to this field.
6. Click the Choose button next to the Save in field to select a channel in which to save the template. Your channel contents are displayed in the Choose a Destination window. Choose a channel from this window.
Do not type the channel name directly into this field.
7. Choose either the one, two, or three column template by clicking the radio button next to the template’s picture.
8. For the template you chose, enter the column widths in percentages, pixels, or, for two-column and three-column templates, a combination of the two.
If you choose percent, the columns occupy the percentage of the browser window’s width that you specify (0–100%). One-column templates always occupy 100% of the width of the browser window if you choose percent.
If you choose pixels, the columns have the width you specify, in pixels.
Note:
Column widths are also controlled by the column’s contents. For example, if you display a graphic that is 200 pixels wide in a 100-pixel column, the column stretches to display the entire graphic. Similarly, if you display a wide report snapshot in a column set to occupy 20% of the window, and the user shrinks the window horizontally, the column only shrinks to the width of the report snapshot.
9. Enter optional names for each column in the column name fields. For example, if you chose the three-column template, you may wish to name the columns Left, Center, and Right. These names are only used in the Template Builder.
10. If you wish to prevent users from changing the layout of a column, select the Lock checkbox next to the column name field.
Locking a column prevents users from changing the layout in any way. If a column is locked, users may not hide or move any of that column’s contents.
11. If you wish to display a header and/or footer, click Choose next to the Show Header or Show Footer field. The Choose a Header or Choose a Footer window is displayed listing your channel contents. Choose the appropriate header or footer file and click OK.
Do not type the header or footer file name directly into these fields.
12. (Optional) Choose a color scheme for the template. To do this, click the Choose button next to the Apply Theme field. The Choose a Theme window listing your channel contents is displayed. Choose a theme from the Theme Repository channel.
All Netcool Reporter pages use the Reporter theme. Do not type the theme name directly into this field.
13. Click OK to save the template.