Plugin List | |
If you are searching for the list of all plugins, see All Plugins. A graphical user interface (ListGUI) was added in Tiki18 and massively improved in Tiki19. Starting in Tiki21, it has been enhanced to use with Federated Search. And new in Tiki26: Sublist.
|
Introductory Remarks | |
By utilizing a full-text search across most major Tiki features, which is then enhanced by a programmable filter, OUTPUT, DISPLAY, and SORT control blocks, this combination can render almost any information in the database in any format desired. This means that LIST is similar in some respects to Pretty Trackers output of TrackerList plugin but it is not limited to just the Tracker data. When combined with the PluginCustomSearch plugin, LIST can replace TrackerList and TrackerFilter plugin usage and can considerably extend it!! Please also see PluginListExecute. Since Tiki19, there is a tool to automatically convert a TrackerList plugin into a List plugin. See PluginTrackerList To PluginList Converter. Please note you can use nested LIST. |
Control blocks vs. Wiki Plugins | |
However, for both, control blocks and wiki plugins, it makes sense to stick to some best practices in respect of consistent sort order. This is not mandatory but makes it easier to understand the principle, to read the own code, and to work together in teams. This is especially valid for the LIST control blocks, as there are usually a lot of control blocks used in one LIST plugin. The difference between "control blocks" and "wiki plugins" is, that you cannot use a "control block" stand-alone outside one of the plugins, which use the "PluginList" syntax, as there are "PluginList", "PluginCustomSearch" and "PluginListExecute" (?). If you place a single List "control block" stand alone on a wiki page, either nothing happens or you'll get an error message. "Wiki plugins", instead, can be used stand-alone anyplace where you can use wiki syntax and, to some extent, you can nest them as well. |
Clarifying a potential confusion | |
The parameter "format" (in lower case) inside the control block "{display}" is responsible for how the displayed result is rendered. Maybe it also could have been named "render" instead of "format", but "format" was the naming decision of our coders and that makes sense as well, maybe even better sense for some reason. The control block "{FORMAT(name=...)}" (in upper case) wraps around the control block "{display}" and is for example responsible for the reference to the control block column (when we consider the example of a tracker table display). The other potentially confusing fact is, is the difference and same time similarity of the parameters "field" and "name", where we use always "field" in the {filter} and in the {column} inside the "{OUTPUT(template=table)})" control block.
When we use this ... Copy to clipboard
But when we use this ... Copy to clipboard
When we reference the original content of "field" from one to another control block, both control blocks need to "know" about each other, which you see as obvious, when you have more than only one column.
In other words: "Unified Index field string" goes from "column field" to "display name"
Important to know is the content of the page Search and List from Unified Index, where you find a list of all available "Unified Index fields" for which you can filter and in respect of tracker based tables you can use to create columns. |
Syntax Overview | |||||||||||||||||||||||||||||||||||||||||||||
Copy to clipboard
|
Parameters | |||||||||||||||||||||||||||||||||||||||||||||
While Plugin List is generally configured with plugins (some say control blocks) contained in the body as described above, there are a few standard parameters like other plugins, they are: Search for, list, and filter all types of items and display custom-formatted results.Introduced in Tiki 7. Go to the source code Preferences required: wikiplugin_list, feature_search
|
Basic worked example | |
step by step instructions to be added here for a basic worked example
|
Body content elements of the LIST Plugin | |
|
Additional General Notes on the Syntax | |
|
Available Fields | |
|
More Worked Examples | |
|
Example Tracker item with Comments | |
ItemCopy to clipboard
CommentsCopy to clipboard
|
Example Tracker item with a picture (file) | |
Copy to clipboard
Same Example as above within a table(see: LIST - OUTPUT control block) Copy to clipboard
|
Example Blog Post List | |
This code: Copy to clipboard
|
Tutorials | |
|
Additional child pages of the LIST documentation | |
|
Related | |
See also:
Aliases
|