Wiki source code of Nice Display
Version 45.9 by Benjamin Fischer on 2025/03/26 10:31
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{locationSearch width="100%;clear:both;" className="Research Groups.Code.Research GroupsClass" description="Search, including in excerpts."/}} | ||
2 | |||
3 | {{velocity}} | ||
4 | #set ($discat = $xwiki.jsx.use('Research Groups.Nice Display.WebHome')) | ||
5 | #set ($columnsProperties = { | ||
6 | 'affiliation': {"filterable":true, "sortable":true, "html":true}, | ||
7 | 'URL': {"type": "hidden"}, | ||
8 | "content": {"type": "hidden"}, | ||
9 | "coop": {}, | ||
10 | "tags": {"sortable": false, "filterable": false, "html": true, "headerClass": "tagsCol"}, | ||
11 | "doc.date": {"filterable": false, "displayName": "Last Updated"}, | ||
12 | '_actions': {"actions":["view","edit"]} | ||
13 | }) | ||
14 | #set ($options = { | ||
15 | 'className': 'Research Groups.Code.Research GroupsClass', | ||
16 | 'translationPrefix': 'research groups.livetable.', | ||
17 | 'extraParams': "&location=${escapetool.url($doc.getSpace())}", | ||
18 | 'tagCloud': true, | ||
19 | 'rowCount': 25, | ||
20 | 'maxPages': 10, | ||
21 | 'selectedColumn': 'doc.date', | ||
22 | 'defaultOrder': 'desc' | ||
23 | }) | ||
24 | #set ($columns = ['affiliation', 'URL', "content", "tags", "coop", "doc.date", '_actions']) | ||
25 | #livetable('research_groups' $columns $columnsProperties $options) | ||
26 | {{/velocity}} | ||
27 | |||
28 | (% id="howto" %) | ||
29 | == How-To Add/Update Entries == | ||
30 | |||
31 | You need to be logged in to perform any modifications. | ||
32 | |||
33 | === Add entry === | ||
34 | |||
35 | 1. click {{html}}<button class="btn"><i class="fa fa-plus"/>Create</button>{{/html}} (top right) | ||
36 | 1. fill in the Title in the top left (must be unique) | ||
37 | 1. click {{html}}<button class="btn btn-primary">Create</button>{{/html}} (bottom left) | ||
38 | 1. fill out the form | ||
39 | 1. click {{html}}<button class="btn btn-primary">Save & View</button>{{/html}} (bottom left) | ||
40 | 1. add tags (bottom left): click on the [+] behind: "Tags:" | ||
41 | |||
42 | === Modfiy entry === | ||
43 | |||
44 | 1. click on {{icon name="pencil"/}} Edit | ||
45 | 1. update the form | ||
46 | 1. click {{html}}<button class="btn btn-primary">Save & View</button>{{/html}} (bottom left) | ||
47 | 1. update the Tags (bottom left) | ||
48 | |||
49 | === Demo Video - Coming Soon === |