Changes for page Featured

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

From version 6.1
edited by Tobias Wintrich
on 2021/10/05 08:57
Change comment: There is no comment for this version
To version 8.1
edited by Tobias Wintrich
on 2021/10/05 08:59
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -3,8 +3,16 @@
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")
5 5  #set ($results= $xwiki.searchDocuments($sql))
6 +{{html}}
7 +#if($wikimacro.parameters.bold == 'true')
8 +<b>
9 +#end
6 6  #foreach ($result in $results)
7 7  #set($doc= $xwiki.getDocument($result))
8 -{{html}}<a href="$doc.getURL()">$escapetool.xml($doc.plainTitle)</a>{{/html}}
12 +<a href="$doc.getURL()">$escapetool.xml($doc.plainTitle)</a>
13 +#if($wikimacro.parameters.bold == 'true')
14 +</b>
9 9  #end
16 +#end
17 +{{/html}}
10 10  {{/velocity}}