Wiki source code of Recommended Extensions
Last modified by Ludovic Dubost on 2020/11/16 12:59
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
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 | |||
![]() |
6.12 | 8 | {{include document="ExtensionCode.ExtensionsLayout.WebHome"/}}{{display reference="EXOExtension.StoreContentFeatured"/}} |
![]() |
6.4 | 9 | |
![]() |
6.6 | 10 | (% class="homepage-content container clearfix" %) |
11 | ((( | ||
12 | (% class="row" %) | ||
13 | ((( | ||
![]() |
7.3 | 14 | (% class="col-xs-12 slide homepage" %) |
![]() |
6.6 | 15 | ((( |
![]() |
7.2 | 16 | = (% class="pull-left" %)Recommended Extensions(%%) = |
![]() |
6.6 | 17 | |
![]() |
7.2 | 18 | (% class="clearfix" %) |
19 | ((( | ||
![]() |
5.7 | 20 | |
![]() |
7.2 | 21 | ))) |
![]() |
5.11 | 22 | |
![]() |
7.2 | 23 | == You can check the [[definition>>ExtensionCode.RecommendedExtensions.RecommendedDefinition]] of what a Recommended Extension is. == |
![]() |
6.1 | 24 | |
![]() |
7.2 | 25 | (% class="clearfix" %) |
26 | ((( | ||
![]() |
6.1 | 27 | |
![]() |
7.2 | 28 | ))) |
29 | |||
![]() |
3.3 | 30 | {{velocity}} |
![]() |
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"]) | ||
![]() |
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 | }) | ||
![]() |
7.1 | 43 | ## VMA 6/9/2016, don't display tags for the moment because of https://jira.xwiki.org/browse/XWIKI-13680 |
![]() |
6.10 | 44 | ## When it's fixed, put it back! |
![]() |
1.1 | 45 | #set($options = { |
![]() |
6.10 | 46 | "tagCloud":false, |
![]() |
1.1 | 47 | "className":"ExtensionCode.ExtensionClass", |
48 | "selectedColumn":"doc.creationDate", | ||
49 | "defaultOrder":"desc", | ||
50 | "translationPrefix" : "extension.repository.", | ||
![]() |
9.1 | 51 | "rowCount": 15, |
![]() |
1.1 | 52 | "extraParams" : "&recommended=1" |
53 | }) | ||
54 | #livetable("recommendedextensions" $columns $columnsProperties $options) | ||
55 | {{/velocity}} | ||
![]() |
6.6 | 56 | ))) |
57 | ))) | ||
58 | ))) |