From version 1.1 >
edited by Michael Sibayan
on 2022/05/03 16:48
To version < 2.1
edited by Administrator
on 2022/05/05 19:53
Change comment: Install extension [org.xwiki.contrib.blog:application-blog-ui/9.11.5]

Summary

Details

Icon Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.msibayan
1 +XWiki.Admin
Content
... ... @@ -12,7 +12,11 @@
12 12  #macro(getTargetCategory $categoryDoc)
13 13   #set($category = "$!{request.category}")
14 14   #if($category == '')
15 - #set($category = $defaultCategoryParent)
15 + #if("$!doc.getObject($blogCategoryClassname)" != '' || $doc.getObject('XWiki.DocumentSheetBinding').sheet == 'Blog.CategoriesSheet')
16 + #set ($category = $doc.fullName)
17 + #else
18 + #set($category = $defaultCategoryParent)
19 + #end
16 16   #end
17 17   #set ($categoryDoc = $NULL)
18 18   #setVariable ("$categoryDoc" $xwiki.getDocument($category))
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 13.10.5 - Documentation