# Wiki source code of Tour

Last modified by superadmin on 2019/03/30 13:45
Export
Office Formats
Export as PDF
Other Formats

Select the pages to export:

select all/ none

Legend:
  Created Page
  Modified Extension Page
  Clean Extension Page

Export as HTML

Show last authors

author | version | line-number | content
--- | --- | --- | ---
|  | 1 | {{velocity}}
|  | 2 | #set ($columnsProperties = {
|  | 3 | 'doc.title': {"type": "text", "size":10,"link":"view"},
|  | 4 | 'isActive': {"type": "text", "size":10, "sortable":true, "filterable": false},
|  | 5 | 'targetPage': {"type":"text","size":10},
|  | 6 | 'targetClass': {"type":"text","size":10},
|  | 7 | '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
|  | 8 | })
|  | 9 | #set ($options = {
|  | 10 | 'className': 'TourCode.TourClass',
|  | 11 | 'resultPage': 'TourCode.TourLiveTableResults',
|  | 12 | 'translationPrefix': 'tour.livetable.',
|  | 13 | 'tagCloud': true,
|  | 14 | 'rowCount': 15,
|  | 15 | 'maxPages': 10,
|  | 16 | 'selectedColumn': 'doc.title',
|  | 17 | 'defaultOrder': 'asc',
|  | 18 | 'queryFilters': 'currentlanguage'
|  | 19 | })
|  | 20 | #set ($columns = ['doc.title', 'isActive', 'targetPage'])
|  | 21 | #if ($isAdvancedUser)
|  | 22 | #set ($discard = $columns.add('targetClass'))
|  | 23 | #end
|  | 24 | #set ($discard = $columns.add('_actions'))
|  | 25 | #livetable('tour' $columns $columnsProperties $options)
|  | 26 | {{/velocity}}

# Applications

# Tips

If you're a new XWiki user, check out the Getting Started Guide.

# Need help?

If you need help with XWiki you can contact:

- Community Support
- Professional Support

XWiki Debian 13.10.2