2,299
edits
Changes
no edit summary
==Overview Overview==
The '''System Variables '''setting on the [[Global Settings]] page will allow you to create and edit system-wide variables within your [[instance]]. These variables can then be referred to from anywhere within your [[SmartSimple]] copy by using the following syntax:
: <span style="font-size: medium;">@system.''variable name''@</span>
'''Example:''' If If you have created a System Variable named '''Tax Rate''' you would use:
@system.tax rate@
: <span style="font-size: medium;">@system.library.''variable name''@</span>
'''Example:''' To To return a list of languages from the global library, you would use:
@system.library.language@
:: [[File:Sys variables list.png|900px|border]]
You can use the '''Search '''function on the top right at any point to specify the results of the list of system variables.
===Setting a System Variable===
Once you have accessed the list of '''System Variables '''via [[Global Settings]], you can set new system variables.
1. Click on the '''+ '''icon on the top left of the System Variables list page to create a new system variable.
2. The new system variable form will be displayed:
:: [[File:New sys variable.png|400px|border]]
Fill in the fields appropriately: '''Name, Description, '''and '''Value. '''The '''ID '''field will be autopopulated.
==System 2==