Loading...
 
Add a link formatted as a button

Plugin Button

Use this wiki plugin, introduced in Tiki6.1, to show links 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.

Parameters

Introduced in Tiki6.1. Required parameters are in bold.
Preferences 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 6.1
_class text CSS class for the button 6.1
_style text CSS style attributes 6.1
_icon_name text Enter an iconset name to show an icon in the button 14.0
_text text Label for the button 6.1
_rel text Enter box for colorbox effect (like shadowbox and lightbox) or appropriate syntax for link relation. 7.0
_auto_args text Comma separated list of URL arguments that will be kept from _REQUEST (like $auto_query_args) in addition to those you can specify in the href parameter.
You can also use _auto_args="*" to specify that every arguments listed in the global var $auto_query_args has to be kept from URL
6.1
_type (blank)
danger
default
info
link
primary
success
warning
Use a type to style the button 13.0
_disabled alpha Set to y to disable the button 6.1
_flip_id alpha HTML id attribute of the element to show/hide content 6.1
_escape (blank)
y
n
If set to y, will escape the apostrophes in onclick 6.1
_flip_default_open (blank)
y
n
If set to y, the flip is open by default (if no cookie jar) 6.1
_flip_hide_text (blank)
y
n
If set to No (n), will not display a "(Hide)" suffix after the button label when the content is shown 6.1


Example

Use a url parameter, icon and danger type

This code:
{button href="Home?itemId=" _text="Go there" _type="danger" _icon_name="wrench"}

Would produce on this site:
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:

Go there

This code:
{button href="HomePage" _rel="box" _text="Go there"}

Will create a button that opens the HomePage in a colorbox:

Go there

doc.tiki.org


Bootstrap

AdminGuide

UserGuide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting (7.x)
Articles and Submissions
Backlinks
Banners
Batch (6.x)
BigBlueButton audio/video/chat/screensharing (5.x)
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution (2.x)
Cookie
Copyright
Credit (6.x)
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs 8.x
Draw 7.x
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management (4.x)
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links (3.x)
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags (2.x)
Task
Tell a Friend, alert + Social Bookmarking
TikiTests (2.x)
Theme CSS & Smarty
Trackers
Transitions (5.x)
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
WebDAV (5.x)
Webmail
Web Services
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval (2.x)
Wiki Plugin extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG (2.x)
XMLRPC


Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki