History: PluginButton
Source of version: 7
Copy to clipboard
! PluginButton In tiki since ((Tiki6)).1, it allows links to easily be shown as buttons, while allowing ((Wiki Argument Variables)) (e.g. ~np~{{itemId}}~/np~) 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. {maketoc} !! Parameters {pluginmanager info="description|parameters|paraminfo" plugin="button"} !! Example {CODE()} {BUTTON(href="Home?itemId={{itemId}}",_text="Go there")}{BUTTON} {CODE} Will produce a button with the "Go there" as label, and the wiki argument variable ~np~{{itemId}}~/np~ replaced by the itemId passed in the url of the page where this plugin button is located: {BUTTON(href="Home?itemId={{itemId}}",_text="Go there")}{BUTTON} !! Related * ((PluginSmarty)) * ((PrettyTrackers))