Last modified by Yana Oksner on 2026/01/08 11:01

From version 1.1
edited by Yana Oksner
on 2025/10/02 15:36
Change comment: Install extension [com.xwiki.pro:xwiki-pro-macros-confluence-bridges-ui/1.28.0]
To version 2.1
edited by Yana Oksner
on 2026/01/08 11:01
Change comment: Install extension [com.xwiki.pro:xwiki-pro-macros-confluence-bridges-ui/1.29.0]

Summary

Details

Page properties
Content
... ... @@ -6,8 +6,6 @@
6 6  
7 7  = Example Usage =
8 8  
9 -Display the children of the current page:
10 -
11 11  {{code}}
12 12  {{confluence_favpages/}}
13 13  {{/code}}
XWiki.WikiMacroClass[0]
Macro code
... ... @@ -1,3 +1,14 @@
1 1  {{velocity}}
2 -$xwiki.getDocument("Favorites.Code.FavoritesPanel").get("content")
2 +#set ($favPanel = $xwiki.getDocument("Favorites.Code.FavoritesPanel"))
3 +#if ($favPanel.isNew())
4 +
5 + {{warning}}
6 + $services.localization.render('rendering.macro.confluence_favpages.installfavoritesapp')
7 + {{/warning}}
8 +
9 +#else
10 +
11 + $favPanel.get("content")
12 +
13 +#end
3 3  {{/velocity}}