Working With Templates
332
TPDesign4 (v3.2 or higher)
Rules for Navigating a Template
In addition to the template requirements and required elements, there are rules for navigating the templates and
template wide conventions that must be followed. When navigating to a Device, Feature or Placeholder
element from a Navigation element:
Hide all Popups on the page for that element.
Perform the standard page flip to the page for that element.
Show any Popups for the element.
Show any Popups for the linked Sub-Feature, when applicable.
Show the Navigation element that is linked to the element.
When navigating to a Device, Feature or Placeholder element from a Sub-Navigation element:
Hide all Popups on the page for that element.
Perform the standard page flip to the page for that element.
Show any Popups for the element.
Show any Popups for the linked Sub-Feature, when applicable.
Show the Navigation element that is linked to the Sub-Navigation element or chain.
For Sub-Navigations the user must set "Hide On Action" to No, then show the Sub-Navigation
element that is linked to the element. Otherwise, the Sub-Navigation is not shown.
Info Buttons
Info buttons are optional and only have to be included within an element if the order the popup pages is shown
is important, if not all popup pages should be initially shown, or if an icon is used on the corresponding
Navigation or Sub-Navigation button.
If the Info button is omitted, popup pages are shown in alphabetical order.
Template Wide Conventions
Text Replacement - The string "[text]" is required on the button wherever text is to be replaced in
the output file. The string "[text]" allows you to prepend/ postpend text with characters. If the text
on a button to be replaced does not contain '[text]" then it is unchanged.
Panel Title - A template can contain as many buttons named "[panelTitle]" as necessary, they are
replaced with the "Job Name" of the panel.
Preview Images - A template must contain a main preview image and can also contain a preview
image for each element. The main preview image should be named '[preview].JPG" (or .PNG).
The element previews should follow the same naming conventions as their page prefixes, i.e.,
"[device#DVD].JPG." There can only be one preview image per element.
Creating Navigation Elements
[info]buttonName
This text is used to populate the mouseover element description in the toolbox.
• buttonName Unused; the button is deleted in the generated TP4 project.
Popups in a Sub-Feature element can contain one or more Title buttons, whose text is replaced with the name
given to the Sub-Feature element in the generated TP4 project.
[title]buttonName
• buttonName The button name that is used in the generated TP4 project.
Any Sub-Navigation elements that may have been currently displayed will be hidden.
Comments to this Manuals