Contents / User Interface Reference / Template

in this window you can import an existing template (e.g. DreamWeaver template), frame-based or non-frame-based web page into which the program will insert a menu. To import a template click on the 'Import template (source) file' button and select a template / HTML page to import. If the imported template / page contains frames, the template window will display an overview of the frames contained within the frameset configuration. The 'Reset template info' can be used to clear all template-related information. The 'item being set' option determines which aspect of the template insertion is being set. You can set the frames where the top-level menu bar or its popups will appear. You can also set the frame where by default (unless otherwise stated in the menu item properties window) the URLs associated with menu items will be opened. The last item which can be set is the 'insertion point'. The insertion point is the exact spot (in the area of a web page) where the menu will be inserted. This spot is marked by a marker and can be set by clicking anywhere within the displayed HTML code.

There is a possibility to have the program automatically re-import a template file every time the menu is generated. To use this option, select the check box 'Always re-import template file before generation' at the bottom of the template window. You'll also need to click the 'details' button and specify where the menu should be inserted. Please note that when this option is used, you can no longer specify the insertion point by changing 'item being set' to insertion point. Instead, you'll need to specify a text (usually a comment such as <menu-code-here>) after which the menu code will be inserted. The old menu code (if present) will be automatically removed.

After importing a template file, a window pops up asking whether output options should be automatically set. Choosing yes (you can change this in options/output/physical location of generated files/output page location same as template file used) will result in the output options set so that the template file will be overridden with the menu code inserted.

Note that if the template file contains frames and you don't choose to set the output options automatically, the options in options/output will determine the location of the HTML page (frame) with the menu and not the whole frameset page.