DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:struct:type_tag

This is an old revision of the document!


Struct PluginTypes

Struct Plugin: Type Tag

The Tag type accepts “tag” names - arbitrary strings to categorize a page. Each tag will be linked to the same configured page containing an aggregation with a parameter filtering the aggregation to the given tag. To do so, create the page and set the Filter parameter in the aggregation to: filter: $STRUCT.<schema>.<field>$. Where the field name is the one containing the tags.
Autocompletion completes with existing tags. When filtering by tags, comparisons are made case insensitive and without spaces.

Configuration

The following configuration is available in addition to the basic type configuration:

Config Format Description
page string The page containing an aggregation displaying data from the same schema as the tag. Leaving this empty defaults to a page named after the field.
autocomplete.mininput integer Autocompletion will only return results when at least this many character have been entered
autocomplete.maxresult integer The maximum number of suggestions shown by the autocompletion
plugin/struct/type_tag.1582548153.txt.gz · Last modified: 2020-02-24 13:42 by evelien_vdb

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki