Key features | |
|
Benefits | |
|
How to use | |
The Plugin Alias management can be found on the admin control panel, "Editing and Plugins" under the "Plugin Aliases" tab (-+tiki-admin.php?page=textarea&cookietab=3+-). |
Limitations | |
Plugin name can't contain special characters like a hyphen (-). |
Examples | |
|
Simple example | |
Plugin aliases permit you to go from this: Copy to clipboard
Copy to clipboard
|
Variable body | |
Problem : The syntax of a plugin alias is different from a standard wiki-plugin.
Copy to clipboard
You can create a plugin alias based on a box with a predefined width of 100% and a pre-defined content that will in the wiki look like : Copy to clipboard
There is no way here to let an user change the body. To do that, here is a configuration example. In this example the body will be pre-filled with the word "hello" and an user will be able to complete it with anything :
Now, the following code : Copy to clipboard
will look like hello world And the following code : Copy to clipboard
will look like hello john
|
Usage | |
When using plugin alias to show just some items from PluginTrackerList, the parameter to filter results at the "Plugin Parameter documentation" need to be also added as arguments of your plugin alias, at the section "Simple plugin arguments" with no value (in this example: "filtervalue"). If you need to delete one argument or one parameter after you already created it, remove its name and value and save changes using "Change Preferences" button in order to have it deleted. To see real life examples of how it is used, you can install one of profiles where it is being used:
|
Composed Arguments Example | |
This plugin makes a COL plugin alias (based on PluginDiv) to create a Bootstrap grid column:
|
Related links | |
Alias
|