Wiki source code of Recommended Extensions

Version 8.1 by Ludovic Dubost on 2020/11/16 12:50

Hide last authors
Vincent Massol 6.11 1 {{velocity}}
2 ## Saving the fact that we're listing all extensions in the Session so that when the user is viewing an extension
3 ## and clicks in the breadcrumb to come back to Extensions.WebHome, we can redirect him/her to the same page he
4 ## initially viewing.
5 #set ($discard = $request.getSession().setAttribute("exoExtensionHome", 'ExtensionCode.RecommendedExtensions.WebHome'))
6 {{/velocity}}
7
Vincent Massol 6.12 8 {{include document="ExtensionCode.ExtensionsLayout.WebHome"/}}{{display reference="EXOExtension.StoreContentFeatured"/}}
Ecaterina Moraru (Valica) 6.4 9
Ecaterina Moraru (Valica) 6.6 10 (% class="homepage-content container clearfix" %)
11 (((
12 (% class="row" %)
13 (((
Ecaterina Moraru (Valica) 7.3 14 (% class="col-xs-12 slide homepage" %)
Ecaterina Moraru (Valica) 6.6 15 (((
Ecaterina Moraru (Valica) 7.2 16 = (% class="pull-left" %)Recommended Extensions(%%) =
Ecaterina Moraru (Valica) 6.6 17
Ecaterina Moraru (Valica) 7.2 18 (% class="clearfix" %)
19 (((
Ecaterina Moraru (Valica) 5.7 20
Ecaterina Moraru (Valica) 7.2 21 )))
Ecaterina Moraru (Valica) 5.11 22
Ecaterina Moraru (Valica) 7.2 23 == You can check the [[definition>>ExtensionCode.RecommendedExtensions.RecommendedDefinition]] of what a Recommended Extension is. ==
Vincent Massol 6.1 24
Ecaterina Moraru (Valica) 7.2 25 (% class="clearfix" %)
26 (((
Vincent Massol 6.1 27
Ecaterina Moraru (Valica) 7.2 28 )))
29
Ecaterina Moraru (Valica) 3.3 30 {{velocity}}
Ludovic Dubost 8.1 31 ##set($columns = ["name", "summary", "category", "authors", "doc.creationDate", "doc.date", "installedCount", "rating", "recommended"])
32 #set($columns = ["name", "summary", "category", "authors", "doc.creationDate", "doc.date", "installedCount", "recommended"])
Vincent Massol 1.1 33 #set($columnsProperties = {
34 "name" : { "type" : "text", "link" : "view" },
35 "summary" : { "type" : "text" },
36 "category" : { "type" : "list" },
37 "authors" : {'html': true},
38 "doc.creationDate" : { "type" : "date" },
39 "doc.date" : { "type" : "date" },
40 "rating" : { 'html' : true, 'filterable' : false, 'sortable' : false},
41 "recommended" : { 'type' : "hidden" }
42 })
Thomas Mortagne 7.1 43 ## VMA 6/9/2016, don't display tags for the moment because of https://jira.xwiki.org/browse/XWIKI-13680
Vincent Massol 6.10 44 ## When it's fixed, put it back!
Vincent Massol 1.1 45 #set($options = {
Vincent Massol 6.10 46 "tagCloud":false,
Vincent Massol 1.1 47 "className":"ExtensionCode.ExtensionClass",
48 "selectedColumn":"doc.creationDate",
49 "defaultOrder":"desc",
50 "translationPrefix" : "extension.repository.",
51 "rowCount": 30,
52 "extraParams" : "&recommended=1"
53 })
54 #livetable("recommendedextensions" $columns $columnsProperties $options)
55 {{/velocity}}
Ecaterina Moraru (Valica) 6.6 56 )))
57 )))
58 )))

Get Connected