Difference between revisions of "System Variables"

From SmartWiki
Jump to: navigation, search
Line 9: Line 9:
 
  @system.tax rate@
 
  @system.tax rate@
  
A global System Library has been added that can be accessed as system variables. The available values and functions can be found under System Variables on the Global Settings page. The syntax is:  
+
 
 +
A global System Library can be accessed as system variables. The available values and functions can be found under System Variables on the Global Settings page. The syntax is:  
  
 
<font size="3">@system.library.''variable name''@</font>
 
<font size="3">@system.library.''variable name''@</font>
  
 
[[Category:Global Settings]][[Category:Variables]]
 
[[Category:Global Settings]][[Category:Variables]]

Revision as of 09:32, 8 November 2011

The System Variables setting on the Global Settings page allows you to create and edit system-wide Custom Fields within your instance. These variables can be referred to from anywhere within SmartSimple using the following syntax:

@system.variable name@


Example: If you have created a System Variable named Tax Rate you would use:

@system.tax rate@


A global System Library can be accessed as system variables. The available values and functions can be found under System Variables on the Global Settings page. The syntax is:

@system.library.variable name@