Last modified by Admin on 2023/06/12 00:19

<
From version < 19.27 >
edited by Admin
on 2015/07/16 14:17
To version < 20.1 >
edited by Vincent Massol
on 2015/08/02 21:25
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.Admin
1 +xwiki:XWiki.VincentMassol
ExtensionCode.ExtensionClass[0]
Description
... ... @@ -12,6 +12,28 @@
12 12  
13 13  == Features ==
14 14  
15 +=== 7.2 <~= XWiki ===
16 +
17 +* A new Velocity Macro has been introduced to compute the number of Active Installs having a specific Extension. For example:
18 +(((
19 +{{code language="none"}}
20 +{{include reference="ActiveInstalls.ExtensionCount"/}}
21 +
22 +{{velocity}}
23 + #set ($extensionIds = [
24 + 'org.xwiki.contrib:xwiki-totem-application',
25 + 'jsimard:event-reporter-application',
26 + 'mouhb:likeapplication'
27 + ])
28 + |=Extension Id|=Count
29 + #foreach($extensionId in $extensionIds)
30 + #countActiveInstallsUsingExtension($extensionId $count)
31 + |$extensionId|$count
32 + #end
33 +{{/velocity}}
34 +{{/code}}
35 +)))
36 +
15 15  === 6.1 <~= XWiki ===
16 16  
17 17  The UI displays:

Get Connected