PluginButton
In tiki since Tiki6.1, it allows links to easily be shown as buttons, while allowing Wiki Argument Variables (e.g. ) to be used without the need of an admin to re-validate the plugin call each time (as it has to be done if you use for such task the generic PluginSmarty, each time a new itemId is passed in the url to the wiki page containing the plugin).This is specially useful in cases of custom workflows using trackers and wiki pages with tracker plugins to insert data, edit it afterwards, etc., and showing those links as buttons.
Table of contents
Parameters
Required parameters are in boldPreferences required: wikiplugin_button
| Parameters | Accepted Values | Description | Default | Since |
| href | url | URL to be produced by the button. You can use wiki argument variables like in it | ||
| _class | text | CSS class for the button | ||
| _text | text | Label for the button |
Example
{BUTTON(href="Home?itemId=",_text="Go there")}{BUTTON}Will produce a button with the "Go there" as label, and the wiki argument variable replaced by the itemId passed in the url of the page where this plugin button is located:
The parameter (ur<x>l-attribute) _rel="box" works aswell:
{BUTTON(href="HomePage",_rel="box",_text="Go there")}{BUTTON}willcreate a button that opens the ))HomePage(( in a colorbox:
