Wiki source code of Blog

Last modified by net sec on 2019/07/25 17:03

Show last authors
1 {{velocity}}
2 #set ($columnsProperties = {
3 'doc.title': {"link":"view"},
4 'doc.location': {"html":true},
5 'doc.date': {},
6 'doc.author': {"link":"author"},
7 '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
8 })
9 #set ($options = {
10 'className': 'Blog.Code.BlogClass',
11 'translationPrefix': 'blog.livetable.',
12 'tagCloud': true,
13 'rowCount': 15,
14 'maxPages': 10,
15 'selectedColumn': 'doc.title',
16 'defaultOrder': 'asc'
17 })
18 #set ($columns = ['doc.title', 'doc.location', 'doc.date', 'doc.author', '_actions'])
19 #livetable('blog' $columns $columnsProperties $options)
20 {{/velocity}}