Loading...
Use
Create
Develop
FAQ
Troubleshooting
History: Plugin Alias Handler
View page
Source of version: 6
(current)
This is a ((handler)) to use a ((doc:plugin alias)), created from profiles. !Sample {CODE(caption=>YAML)} objects: - type: tracker ref: tracker data: name: Hello World - type: tracker_field ref: only data: name: Only Field tracker: $tracker type: text_field flags: [ searchable, public, list, mandatory, link] - type: plugin_alias ref: my_alias data: name: mytracker implementation: trackerlist description: name: My Tracker Plugin description: Does nothing meaningful, just testing profiles prefs: [ feature_trackers ] params: foo: name: Foo description: Bar required: true body: input: use default: Hello World params: trackerId: $tracker fields: $only {CODE} ! Plugin Alias Object The plugin alias object is mapped directly to the internal structures. Because there are multiple nested structures, multiple tables are used to describe it. ||__Field Name__|__Mandatory__|__Value__ name|y|The name of the plugin, must contain letters only. implementation|y|The name of the underlying plugin. description|y|Equivalent of a plugin info function return value. Used to generate the documentation. body| |Complex structure, described below params| |Complex structure, described below || !! Body This section describes what to do with the body of the plugin. The body may be passed through to the implementation or a custom body can be sent instead. Parameters may be contained in the body, like ~np~ %name% ~/np~". ||__Field Name__|__Mandatory__|__Value__ input|y|use or ignore, what to do with the user input default|y|Value to send if user input is empty. params| |List of replacement parameters, described below || !! Plugin parameters Plugin parameters are identified by a key (the parameter that will be provided to the implementation plugin). The parameters can be provided in two forms: name: default value or name: complex structure, where structure is described below ||__Field Name__|__Mandatory__|__Value__ pattern|y|String to provide to the plugin with possible parameters params|y|List of replacement parameters, described below || !! Replacement parameters Each replacement parameter is identified by a key (used to replace with) and the containing values are as follow: ||__Field Name__|__Mandatory__|__Value__ input| |Name of the parameter to read from, if different from the token name default| |Default value to replace with if parameter not provided encoding| |none, html or url , the encoding type to use when replacing the value ||
Menu
Featured profiles
Profiles in Wizard
Profiles Todos
Handlers
Profiles Tester
Admin
of this site
Current Profiles
Tiki version
21.x
24.x
26.x
27.x
28.x
Deprecated
25.x
state
Not fully functional yet
alpha
beta
release
type
Available in the Profiles Wizard (12+)
Featured profiles
Full profile (out of the box & ready to go)
Learning profile (to show off feature)
Long tail
Mini-profile (can be included in other)
Profile-snippet (optional but needs another "parent" profile)
Security
Tests
Latest Changes
Voting_System
test_profile_change
Test_all_tracker_field_types_profile
Scheduler_Presets_20
Tracker_as_Calendar_09
Tracker_as_Calendar_10
Hide Fixed Top Nav Bar on Scroll 19
Easy_GeoBlog
Profiles_in_Wizard
Random_header_images_14
Hide Fixed Top Nav Bar on Scroll 19
How to Create Profiles
Test_All_Plugins
JonnyBs_Luxury_Tiki_Setup
Collaborative_Multilingual_Terminology
...more
Like almost all *.tiki.org sites, you can log in with your login from
https://tiki.org
(register over there)
Search
Find
Most Popular Tags
admin
agenda
alias
antibot
antibot captcha
app
archive
articles
banning
batch
blogs
calculations
calendars
cart
categories
cluster
codemirror
comments
computation
contact us
datachannel
debug
debug console
dropdown with other
error messages
features
file galleries
forums
geo
geocms
geolocation
group homepages
group watches
header
i18n
images
item link
items list
jquery
languages
location
map
maps
maths
menu
menupage
multilingual
ol3
ol5
openlayers
paypal
plugin
plugin alias
plugin datachannel
plugin fade
plugin tabs
plugin trackerlist
pretty trackers
print
project management
r
r project
realnames
rss
static
static text
statistics
stats
structures
syntax highlighter
tablesorter
template
trackers
user watches
visualization
watches
webservice
wiki
wiki argument variables
wiki structures
Tiki Newsletter
Subscribe to the Tiki newsletter.
Don't miss major announcements and other news!