General Actions:
| ... | ... | @@ -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 | -* ## |
|
| 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 |