Changes for page StoreContentFeatured
Last modified by Alex Cotiugă on 2018/11/12 14:00
From version 6.1
edited by Vincent Massol
on 2017/01/09 15:06
on 2017/01/09 15:06
Change comment:
There is no comment for this version
To version 7.1
edited by Vincent Massol
on 2017/03/21 16:32
on 2017/03/21 16:32
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -3,17 +3,17 @@ 3 3 #set($docextras=[]) 4 4 {{/velocity}} 5 5 {{velocity output="false"}} 6 -#macro(displayStoreItem $ sitem)6 +#macro(displayStoreItem $name $url $summary $icon) 7 7 ##set ($itemDoc = $xwiki.getDocument($sitem)) 8 8 ##set ($itemObj = $itemDoc.getObject('ExtensionCode.ExtensionClass')) 9 9 ##set ($itemURL = $xwiki.getURL($sitem)) 10 - #set ($itemURL = "https://store.xwiki.com/xwiki/bin/view/Extension/ActiveDirectoryApplication")10 + #set ($itemURL = $url) 11 11 ##set ($itemName = $itemObj.getProperty('name').getValue()) 12 - #set ($itemName = "ActiveDirectory")12 + #set ($itemName = $name) 13 13 ##set ($itemSummary = $itemObj.getProperty('summary').getValue()) 14 - #set ($itemSummary = "Authenticate users against an Active Directoryserver (LDAP)")14 + #set ($itemSummary = $summary) 15 15 ##set ($itemIcon = $itemObj.getProperty('icon').getValue()) 16 - #set ($itemIcon = "refresh")16 + #set ($itemIcon = $icon) 17 17 ##set ($itemType = $itemObj.getProperty('type').getValue()) 18 18 #set ($itemType = "Paid") 19 19 ##set ($itemCategory = $itemObj.getValue('category')) ... ... @@ -92,7 +92,9 @@ 92 92 {{/comment}} 93 93 94 94 {{velocity}} 95 -#displayStoreItem($item) 95 +#displayStoreItem("Active Directory", "https://store.xwiki.com/xwiki/bin/view/Extension/ActiveDirectoryApplication", "Authenticate users against an Active Directory server (LDAP)", "refresh") 96 + 97 +#displayStoreItem("OnlyOffice Connector", "https://store.xwiki.com/xwiki/bin/view/Extension/OnlyOfficeConnectorApplication/", "Edit office documents, spreadsheets and presentations directly in your wiki", "refresh") 96 96 {{/velocity}} 97 97 98 98 {{html clean="false"}}