Warning: Undefined variable $filepath in /home/tiki-doc/public_html/lib/wiki-plugins/wikiplugin_tikidocfromcode.php on line 146
Warning: Undefined variable $dataAttributes in /home/tiki-doc/public_html/lib/smarty_tiki/BlockHandler/SelfLink.php on line 198 PluginButton | Documentation for Tiki Wiki CMS Groupware
Loading...
Plugin Button
Use this wiki plugin, introduced in Tiki6.1, to show links as buttons, while allowing Wiki Argument Variables (e.g. {{itemId}} ) 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.
Since Tiki18 it is possible to fully style your button using the parameter "none" for the type. The button plugin comes with default type ready to use and if not set the btn-primary style/type will be used. Setting this parameter cancel any btn- default style from bootstrap (ie:btn-primary). Once set to none you cam fully customize your button using your own style.
Since Tiki19 it is possible to display only an icon without label (text). See example below.
Would produce on this site: A button with the "Go there" as label, and the wiki argument variable {{itemId}} replaced by the itemId passed in the url of the page where this plugin button is located: