DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:struct:cloud

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
plugin:struct:cloud [2016-12-08 11:22] – created grosseplugin:struct:cloud [2016-12-08 11:26] grosse
Line 1: Line 1:
 ====== Control Clouds ====== ====== Control Clouds ======
 Analogous to the [[plugin:data#tag_cloud_control|Tag Cloud]] of the data-plugin, there is a syntax to create tag-clouds to control aggregations. Analogous to the [[plugin:data#tag_cloud_control|Tag Cloud]] of the data-plugin, there is a syntax to create tag-clouds to control aggregations.
- 
-'' 
-%%----%% struct cloud %%----%%\\ 
-schema: //schemaname//\\ 
-cols: //fieldname//\\ 
-%%----%% 
-'' 
  
 This syntax will display the values of a given struct field as a tag cloud. Each value will link back to the current page (unless configured otherwise by ''target'' option). The page should also contain a struct table - this table will then be filtered for all entries matching the selected tag. This syntax will display the values of a given struct field as a tag cloud. Each value will link back to the current page (unless configured otherwise by ''target'' option). The page should also contain a struct table - this table will then be filtered for all entries matching the selected tag.
Line 27: Line 20:
  
 ^ Option(s)       ^ Required? ^ Description ^ ^ Option(s)       ^ Required? ^ Description ^
-| field\\ select\\ col | yes  | What attribute is used to build the cloud? |+| schema \\ from \\ tables | yes | What Schema is the source of the data? | 
 +| field\\ select\\ cols \\ col | yes  | What attribute is used to build the cloud? |
 | limit\\ max | no | Maximum number of tags to display. If not given all will be displayed | | limit\\ max | no | Maximum number of tags to display. If not given all will be displayed |
 | min | no | Minimum count a tag must have. If not given all will be shown | | min | no | Minimum count a tag must have. If not given all will be shown |
 | page\\ target | no | Give a page which contains the Data Table to control. If not given the current page is used |  | page\\ target | no | Give a page which contains the Data Table to control. If not given the current page is used | 
 | summarize | no | Set to 1 to show sum of field | | summarize | no | Set to 1 to show sum of field |
plugin/struct/cloud.txt · Last modified: 2016-12-20 10:11 by rnck

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