Changes for page Featured

Last modified by Tobias Wintrich on 2025/06/04 09:20

From version 3.2
edited by Tobias Wintrich
on 2021/10/05 08:55
Change comment: There is no comment for this version
To version 2.2
edited by Tobias Wintrich
on 2021/10/05 08:48
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -1,4 +1,5 @@
1 1  {{velocity}}
2 +#panelheader("Featured")
2 2  #set($sql = ", BaseObject as obj, DBStringListProperty as prop where obj.name=doc.fullName and
3 3  obj.className='XWiki.TagClass' and obj.id=prop.id.id and prop.id.name='tags' and 'Featured' in
4 4  elements(prop.list) order by doc.name asc")
... ... @@ -7,4 +7,5 @@
7 7  #set($doc= $xwiki.getDocument($result))
8 8  {{html}}<a href="$doc.getURL()">$escapetool.xml($doc.plainTitle)</a>{{/html}}
9 9  #end
11 +#panelfooter()
10 10  {{/velocity}}
XWiki.WikiMacroParameterClass[0]
Parameter default value
... ... @@ -1,1 +1,0 @@
1 -false
Parameter description
... ... @@ -1,1 +1,0 @@
1 -Fett gedruck
Parameter mandatory
... ... @@ -1,1 +1,0 @@
1 -No
Parameter name
... ... @@ -1,1 +1,0 @@
1 -bold