Difference between revisions of "Template Page Variables"

From SmartWiki
Jump to: navigation, search
(Other)
(Save/Submit Buttons)
Line 22: Line 22:
  
  
To allow the dynamic buttons ('''Save Draft''', '''Submit''') to be displayed on the Level 1 [[External|external]] web template page use:
+
To display the same array of '''Save''' buttons on the Level 1 [[External|external]] web template page that are available to the internal view of the '''Level One''' template ('''Save''', '''Save Draft''', '''Submit'''), instead of just the '''Save''' button use the following instead of '''@SUBMIT@''':.
 
:<font size="3">'''@SYSTEMBUTTONS@'''</font>
 
:<font size="3">'''@SYSTEMBUTTONS@'''</font>
'''Impact''': This allows the same visibility of '''Save''' buttons that are currently available to the internal view of a '''Level One''' item, instead of just the '''Save''' and '''Submit''' buttons.
 
 
'''Note''':
 
*This is currently only available for '''Level One'''.
 
  
 +
:'''Note''':*This is currently only available for '''Level One'''.
  
 
==Other==
 
==Other==

Revision as of 15:19, 1 September 2009

Standard Fields

Application Name:

[@name@]


Customer:

[@company@]


Description:

[@description@]


Custom Fields

All Level 1 Custom Fields, including those on the given template, can be inserted using the following:

@APPFIELDS@


Save/Submit Buttons

To display the "Save" button use the following variable on the Template Page:

@SUBMIT@


To display the same array of Save buttons on the Level 1 external web template page that are available to the internal view of the Level One template (Save, Save Draft, Submit), instead of just the Save button use the following instead of @SUBMIT@:.

@SYSTEMBUTTONS@
Note:*This is currently only available for Level One.

Other

To copy the style use the following within the <head> and </head>

@STYLELINK@


You must also include the following prior to any other variables to define the page as a form that can be submitted:

@FORM@


Example

<html>
<head>
@STYLELINK@
</head>
<body leftmargin=1 rightmargin=1 topmargin=1 bottommargin=1 marginheight=1 marginwidth=1>

<p>Instruction ...</p>
@FORM@
<table border=0 cellpadding=0 cellpsacing=1 width=100%>
<tr>
<th class=Label nowrap>Description:</th>
<td>[@description@]</td>
</tr>
</table>
@appfields@
@SUBMIT@
</form>
</body>
</html>