Changes for page All Blog Posts
Last modified by Vincent Massol on 2018/05/04 15:36
From version 1.1
edited by Vincent Massol
on 2018/05/04 15:30
on 2018/05/04 15:30
Change comment:
There is no comment for this version
To version 2.1
edited by Vincent Massol
on 2018/05/04 15:32
on 2018/05/04 15:32
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,14 +1,16 @@ 1 1 {{velocity}} 2 -#set($columns = [ "title","publishDate"])2 +#set($columns = ['title', 'publishDate']) 3 3 #set($columnsProperties = { 4 - "title": {"type":"text","link":"view"},5 - "publishDate": {"type":"date"}4 + 'title' : { 'type' : 'text', 'link' : 'view'}, 5 + 'publishDate' : { 'type' : 'date'} 6 6 }) 7 7 #set($options = { 8 - "className":"Blog.BlogPostClass", 9 - "translationPrefix" : "blog.", 10 - "tagCloud" : true, 11 - "rowCount": 30 8 + 'className' : 'Blog.BlogPostClass', 9 + 'translationPrefix' : 'blog.', 10 + 'selectedColumn' : 'publishDate', 11 + 'defaultOrder' : desc, 12 + 'tagCloud' : true, 13 + 'rowCount' : 30 12 12 }) 13 -#livetable( "blogs"$columns $columnsProperties $options)15 +#livetable('blogs' $columns $columnsProperties $options) 14 14 {{/velocity}}