Plugin Smarty
Introduced in Tiki5Allows a smarty function to be inserted and used in a page. Here's an example of the syntax:
{SMARTY(name=button href="Search" _text="Search") /}Parameters
Required parameters are in boldPreferences required: wikiplugin_smarty
| Parameters | Accepted Values | Description | Default | Since |
| name | word | The name of the Smarty function that the button will activate. Available functions are: lib/smarty/libs/plugins/function.name.php |
Examples
- To display the value of a Smarty template variable, use:
{SMARTY(name=>eval, var=>"{$VARIABLE_NAME}")}{SMARTY}
Where VARIABLE_NAME is the name of the variable, such as {$page}
