Changes

Jump to: navigation, search

System Variables

39 bytes removed, 19:26, 29 June 2019
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 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>
 '''<br class="Apple-interchange-newline">Example:''' 
 To return a list of languages from the global library, you would use:
You can also include links - for example, you can make a document of guidelines in [[SmartFolders Overview|SmartFolders]] into an Internet-enabled URL, then upload this link to '''System Variables '''in order to place the documents everywhere. If that document then changes, you would only have to modify the content in one place. Other use-cases for '''System Variables '''might include a set scoring protocol if your system uses a reviewer-scoring process. 
===Accessing System Variables= ==
1. Click on the 9-square menu icon on the top right of your page.
:: {{Icon-Menu}} 
 
2. Under the heading '''Configuration, '''select '''Global Settings. '''
*:* Name: '''Open2''' Value: '''Ouvert'''
And refer to them on the [[Web Page View]] as follows
*
*
<pre> <input type="button" value="@system2.Open@me.langid@@" />
</pre>
*#* '''Description''' is an optional narrative description.
*#* '''Value''' will be the value returned by the variable.
 
If the Value is a date, use the ''yyyy-mm-dd'' date format.
2,299
edits

Navigation menu