Extensions Wiki » Extensions » Documents Macro

Changes for document Documents Macro

Last modified by Roman Muntyanu on 2012/12/12 17:23
From version 4.4
edited by Thomas Mortagne
on 2012/02/22 15:09
To version 5.1
edited by Vincent Massol
on 2012/08/19 10:54
Change comment: There is no comment for this version

Metadata changes

Document author
xwiki:XWiki.ThomVincentMasMsortagnel

Object changes

Object number 0 of type ExtensionCode.ExtensionClass modified

Description
... ... @@ -3,16 +3,17 @@
3 3 = Usage =
4 4
5 5 {{code}}
6 -{{documents count="<count>" actions="<true|false>" space="<space>" parent="<parent>"/}}
6 +{{documents id="<id>" count="<count>" actions="<true|false>" space="<space>" parent="<parent>" columns="<columns>"/}}
7 7 {{/code}}
8 8
9 9 where:
10 10
11 +* ##id## (optional): The internal Livetable id (the HTML id). If not specified a random id is computed. This can be used for styling the Livetable for example.
11 11 * ##count## (optional): The number of items to display by default (defaults to ##15##)
12 12 * ##actions## (optional): Whether to show the actions columns or not if the user has the permissions (defaults to ##true##)
13 13 * ##space## (optional): If specified, only lists documents found in the passed space (by default all documents are listed)
14 14 * ##parent## (optional): If specified only list pages having the specified parent (by default all documents are listed)
15 -* ##id## (optional): The internal Livetable id (the HTML id). If not specified a random id is computed. This can be used for styling the Livetable for example.
16 +* ##columns## (optional): If specified only display specified columns (e.g. "doc.name,doc.author"). The default value is "doc.name,doc.space,doc.date,doc.author"
16 16
17 17 = Example1 =
18 18
bundledWith
enterprise|manager
compatibility
Since XWiki 3.5M1

Download XWiki