0 Votes

Wiki source code of Announcements

Last modified by Ryan C on 2025/06/28 03:03

Show last authors
1 {{velocity}}
2 #set ($columnsProperties = {
3 'shortText1': {},
4 'longText1': {"filterable":false,"sortable":false,"html":true},
5 'staticList1': {},
6 'page1': {"html":true},
7 '_images': {"sortable":false,"filterable":false,"html":true},
8 'date1': {"html":true},
9 '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
10 })
11 #set ($options = {
12 'className': 'Announcements.Code.AnnouncementsClass',
13 'translationPrefix': 'announcements.livetable.',
14 'tagCloud': true,
15 'rowCount': 15,
16 'maxPages': 10,
17 'selectedColumn': 'shortText1',
18 'defaultOrder': 'asc'
19 })
20 #set ($columns = ['shortText1', 'longText1', 'staticList1', 'page1', '_images', 'date1', '_actions'])
21 #livetable('announcements' $columns $columnsProperties $options)
22 {{/velocity}}