Changes for page Blog category RSS Feed Generator
Last modified by Administrator on 2022/05/05 19:53
edited by Michael Sibayan
on 2022/05/03 16:48
on 2022/05/03 16:48
edited by Administrator
on 2022/05/05 19:53
on 2022/05/05 19:53
Change comment:
Install extension [org.xwiki.contrib.blog:application-blog-ui/9.11.5]
Summary
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.m sibayan1 +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))