In this article
A Page Master is a template that provides an overall look-and-feel to the pages in the Panel Portal. You can create as many Page Masters as you need for a Portal. The first Page Master in the list will be used as the default, and will be applied to all pages in the Portal unless other Page Masters are specified for particular pages. A portal page will always adopt the look-and-feel of the Page Master specified.
Creating a Page Master
To create a new Page Master, right-click on the Page Masters folder name text beside the folder icon to open the drop-down menu, and choose Insert Page Master (Inside). A blank Page Master is added to the portal. If you want to base a new Page Master on an existing one, then right-click on the Page Master you wish to copy, and choose Duplicate.
Page Master Properties
The Page Master has a Properties page where you can edit the page master name, set the document type etc. To open the Properties page:
In the Panel Portal toolbox, expand the Page Masters folder, right-click on the page master and select Properties from the drop-down menu.
The Properties page opens - .
Figure 1 - The Properties page for a Page Master
The properties are as follows:
- Name - the name of the page master. Here you can edit it as required.
- Document type - choose a standard for the document type.
- External Javascript Url - you can refer to an external Javascript file in the page master. Enter the URL of the .js file you wish to use. You can add multiple URLs to the field; use a comma (,) as the separator.
- Body Style Name – the style to be set for the BODY-tag in the document.
- Use newest available version of IE rendering - Internet Explorer versions later than 7 render pages very differently from Internet 6 and 7. Therefore Forsta Plus normally runs all surveys in a compatibility mode which makes newer versions of Internet Explorer behave like Internet Explorer 7. This then avoids the extra complexity related to creating html and css that behave the same in all versions of Internet Explorer. Select this option to turn the compatibility mode off, thereby allowing Internet Explorer always to run in the best available mode, based on Doctype and Internet Explorer version. Use this property in combination with the HTML5 doctype option to run Internet Explorer 8 and 9 (and later) in the most modern rendering mode available in these browsers.
The article by Microsoft at the following URL explains the subject in more detail: http://msdn.microsoft.com/en-us/library/cc288325(v=vs.85).aspx
- Set the properties as required, then save the changes by clicking the Save button above the Page Master Designer area.
Editing a Page Master
To open a Page Master for editing, double-click the name of the Page Master In the toolbox, or right-click on it and choose Edit. The page designer opens at the Layout tab - .
Figure 2 - Example of a Page Master
On the Layout tab, you specify which Visual Components (page elements) are to be included on the page, and where they are to be located.
To define the look-and-feel for each of the Visual Components, double-click the component or right-click on it and choose Properties (go to Visual Components for more information).
Go to the Preview tab to preview the current version of the Page Master. Remember to save any changes you may have done before previewing the Page Master.
For more information on using HTML tables, free-from text, and images on your portal pages, see Editing your Page Masters and Portal Pages.