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