Plugin Attributes | |
Use this wiki plugin, introduced in Tiki6, to assign generic attributes to the current object. Attributes are provided as parameters. For tiki.geo.lat, Copy to clipboard
Removing the plugin or values in it will not remove the attributes. See Object Attributes and Relations for the available attributes. |
Usage | |
The plugin Attributes is not enabled by default, you can enable it from the Control Panel, Editing and Plugins, Plugins. Copy to clipboard
|
Parameters | ||
Assign generic attributes to the current object Introduced in Tiki 6. Go to the source code Preferences required: wikiplugin_attributes
|
Examples of using it to set fixed values and use them in a tracker | |
This method was used in a Tiki12 shop and I retrieved the code In this use case we want to have fixed/editable values that can be used in different features of Tiki.
|
Display a value using attribute in many wiki pages (plugin List) | |
Copy to clipboard
Copy to clipboard
Note: This should work in many other places like Blogs, Articles, Forums, Modules, etc. where there is a wiki area and it accept the wiki syntax. |
Using a constant from the pluginAttributes in a tracker field calculation | |
Copy to clipboard
Copy to clipboard
|
Using a constant from the pluginAttributes to return different value in a php file | |
Copy to clipboard
Copy to clipboard
|
Using a constant from the pluginAttributes in a Smarty template | |
Copy to clipboard
Copy to clipboard
|
Related pages | |
|
Aliases | |