Wiki source code of Recommended Extensions

Last modified by Vincent Massol on 2022/09/23 13:33

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.",
Ludovic Dubost 9.1 51 "rowCount": 15,
Vincent Massol 1.1 52 "extraParams" : "&recommended=1"
53 })
54 #livetable("recommendedextensions" $columns $columnsProperties $options)
55 {{/velocity}}
Vincent Massol 10.1 56
Vincent Massol 11.1 57 {{velocity}}
58 #if ("$!request.projects" == '1')
Vincent Massol 10.1 59 = (% class="pull-left" %)Recommended Projects(%%) =
60
61 (% class="clearfix" %)
62 (((
63
Ecaterina Moraru (Valica) 6.6 64 )))
Vincent Massol 10.1 65
66 #set($columns = ["name", "summary", "authors", "doc.creationDate", "doc.date", "recommended"])
67 #set($columnsProperties = {
68 "name" : { "type" : "text", "link" : "view" },
69 "summary" : { "type" : "text" },
70 "authors" : {'html': true},
71 "doc.creationDate" : { "type" : "date" },
72 "doc.date" : { "type" : "date" },
73 "recommended" : { 'type' : "hidden" }
74 })
75 ## VMA 6/9/2016, don't display tags for the moment because of https://jira.xwiki.org/browse/XWIKI-13680
76 ## When it's fixed, put it back!
77 #set($options = {
78 "tagCloud":false,
79 "className":"ExtensionCode.ProjectClass",
80 "selectedColumn":"doc.creationDate",
81 "defaultOrder":"desc",
82 "translationPrefix" : "extension.repository.",
83 "rowCount": 15,
84 "extraParams" : "&recommended=1"
85 })
86 #livetable("recommendedprojects" $columns $columnsProperties $options)
87 #end
88 {{/velocity}}
Ecaterina Moraru (Valica) 6.6 89 )))
90 )))
Vincent Massol 10.1 91 )))

Get Connected